Clément Fauconnier
fccc1afd9f
several fixes on document mode (buttons' state update, no active document on trash)
6 years ago
Clément Fauconnier
c77b8fd8b8
code cleaning + copyright update + i18n update
6 years ago
Clément Fauconnier
e228fb19e5
updated Copyright to 2018
6 years ago
Clément Fauconnier
39885d389e
update actions on drop event (document_mode)
6 years ago
Clément Fauconnier
42fc2882a7
some fixes on new document mode (actions if nothing selected, disable trash if empty, ...)
6 years ago
Clément Fauconnier
d978534980
removed a second message box on deletion
6 years ago
Clément Fauconnier
fca4b6c989
improvements on the document mode behavior
6 years ago
Clément Fauconnier
681acce85b
last fix before uat
6 years ago
Clément Fauconnier
c5f8c07e4f
deleted a connect (no more adjustSize())
6 years ago
Clément Fauconnier
3aed8fc1f5
improved document thumbnails and selection behaviors
6 years ago
Clément Fauconnier
41c50a2c0a
new document and new folder editable at creation + expand path if needed
6 years ago
Clément Fauconnier
b94ec80753
fixed a bunch of issues related to new document mode
6 years ago
Clément Fauconnier
1441c1f50d
no gcc warnings and no C++11 features on windows
6 years ago
Clément Fauconnier
a69d1b39f1
save SortOrder and SortKind changes
6 years ago
Clément Fauconnier
17d8d0957c
changed sortOrder style + resized splitter sizes
6 years ago
Clément Fauconnier
34d5b3b526
added folder icon
6 years ago
Clément Fauconnier
5ed4a41dba
native dialogs and replace if exists dialog on import document
6 years ago
Clément Fauconnier
568b95594d
new parameters SortKind and SortOrder in config (WIP)
6 years ago
Clément Fauconnier
b608118fad
document views resized and not collapsible + check version Openboard
6 years ago
Clément Fauconnier
5803a516d4
correction sur mise à jour des thumbnails
6 years ago
Clément Fauconnier
efdab86928
removed document and folder icons + folder background color
6 years ago
Clément Fauconnier
319671eeab
deleted Models Folder and code related + redesign of Documents UI
6 years ago
Clément Fauconnier
8ecf99f838
First step of OpenSankore Document Mode integration
6 years ago
Clément Fauconnier
3860e97b49
1.4 release without real time previews on left palette
7 years ago
Clément Fauconnier
cd1b2e0087
added code lost in auto-resolved conflicts during my last 'stash apply'
7 years ago
Clément Fauconnier
e2aef9f0aa
increased messages during document loading + optimized some calls
7 years ago
Clément Fauconnier
859b52b7a4
fixed a bug where thumbnail views where not correctly updated/highlighted after a drag and drop
7 years ago
Clément Fauconnier
8645c28471
highlight active thumbnail view
7 years ago
Clément Fauconnier
cb2c435a61
thumb pages were not updated correctly
7 years ago
Clément Fauconnier
ce2f4259c5
Revert "workaround to adress badly attached thumbnail views (no more time to investigate on it...) + prevent overwriting scenes"
...
This reverts commit 0fd15f62a4
.
7 years ago
Clément Fauconnier
0fd15f62a4
workaround to adress badly attached thumbnail views (no more time to investigate on it...) + prevent overwriting scenes
7 years ago
Clément Fauconnier
08e7ae8461
revert previous fix + code cleaning
7 years ago
Clément Fauconnier
7b1f64eabf
merge 1.4-dev + thumbnail views & fixes
7 years ago
Craig Watson
425129ff2f
Document mode: improved doc. selection after deleting documents
...
This mainly changes document mode behaviour in two ways:
1) When deleting 2+ items, a new document was selected in the list. Now, the current document is selected,
or if it has been deleted, a the first document in the list is set as
current document.
2) When deleting the last item in the trash, no document was selected.
Now, the current document is selected instead.
8 years ago
Craig Watson
6b90a8f333
Fix for trashed items being set as current document
...
When deleting a document that was in the trash, the following item was
selected but also set as current document. This is now fixed.
8 years ago
Craig Watson
67d3a34b0b
Document mode: Don't automatically select a new document when deleting one
8 years ago
Craig Watson
bd3d8e951b
Document screen: when trashing the current document by drag-n-drop, select a new one
8 years ago
Craig Watson
17461abd2b
Fix for folder renaming not being persisted
8 years ago
Craig Watson
3995d007a3
Document's pageDpi is now stored in UBDocumentProxy rather than in UBSettings
...
This fixes an issue where if one document was imported with a different
DPI than the current one, any document created thereafter would have
this same value (which could then cause problems if a PDF was added to
that new document).
Saving this value to UBDocumentProxy not only makes more sense, it also
fixes this issue.
9 years ago
Craig Watson
575d14a5c2
Updated headers
9 years ago
Craig Watson
f4b1079d81
Revert "Revert changes pushed to wrong branch"
...
This reverts commit 4aa0ee6197
.
9 years ago
Craig Watson
dcb20ca251
Fix documents not being renamed correctly (new name wasn't persisted)
9 years ago
Craig Watson
2c68edd548
Fix delete key not working as shortcut in Document view
9 years ago
Craig Watson
5231e4268d
Select a new document when trashing a multiple selection
...
(Not doing so resulted in either a trashed item being selected when
returning to board mode, or a crash if the item had been permanently
deleted)
9 years ago
Craig Watson
11b9bf74fb
Save metadata.rdf less often
...
The documents' metadata.rdf file is now persisted only when a scene in
the document is also persisted; as well as when the document is modified
(trashed / path changed) in the the Documents pane.
Code was cleaned-up a bit too (added a forgotten return value, etc)
9 years ago
Craig Watson
59207cbbf2
Moved document metadata saving to UBPersistenceManager's worker thread
...
(Reading is still done synchronously, for now at least)
9 years ago
Craig Watson
8e1b5c4ee0
Don't select a new doc when trashing multiple docs
...
During trashing of multiple documents, a new document was selected
every time that one was moved to the trash -- even if it was about
to be trashed itself. This is no longer the case; the
selectADocumentOnMultipleTrashing() method was added to select the
first unselected document found (but this is currently not used, as
it seems OK to just select no document when we have just deleted a
whole selection)
9 years ago
Craig Watson
ca7e8e9254
Quick fix: Ctrl-A no longer selects same document mutliple times
...
Also quick code clean-up in UBDocumentController
9 years ago
Craig Watson
19dd4d1fc7
Fixed documents being accidentally permanently deleted in some cases
...
When both a folder and items it contained were selected, and trashed,
the documents could sometimes be deleted twice and thus, permanently
deleted when one just intended to move them to the trash.
9 years ago
Craig Watson
4b97816db9
Removed UBDocumentController::itemClicked slot
9 years ago