summaryrefslogtreecommitdiffstats
path: root/newpicsdialog.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Yet another MappingTreeModel fixArno2012-11-171-1/+1
| | | | | Forgot to fix/rename MappingTreeResultModel... Adding pictures works again :)
* More renaming and database cleanupArno2012-11-161-1/+1
| | | | | | | | | | | | | Rename: * drop table pics_mappings * rename pics_mappings2 to pics_mappings (no column renames) Cleanup: * drop tables and sequences: pics_attributes* * drop tables and sequences: pics_actors* * drop tables and sequences: pics_themes* Still works!
* Usability: Make archiving pics easierArno2012-11-161-0/+6
| | | | | | | | | | | To make archiving pictures from different sources easier, add a NewPicsDialog to PictureViewer. Add shortcuts to show the dialog and adding pics to it. After adding all pics with the same mappping, just click OK and add them to the archive. Shortcuts: Meta+s: Show NewPicsDialog Meta+a: Add current pic
* Bugfixes: don't select dirs and don't crash on write settingsArno2012-10-271-1/+1
| | | | | | | Only select files when archiving pics from filemanager. While at it, I noticed a crash on close when no item is selected in PicturesWidget. So check if MappingData is valid on writing settings. Best way is MappingData::isValid(), and for that I needed a explicit constructor.
* Fix archiving picturesArno2012-10-271-4/+4
| | | | | | Well, what can I say. Lost in recursion and parent pointers. This commit actually boils down to using the proper database tables and inserting the right values. 'Nuff said...
* Archive selected picturesArno2012-09-081-4/+19
| | | | | Added convenience function to archive selected pictures. Selected pics in the FileManager will automagically be added to NewPicsDialog.
* Remember last directory when archiving picsArno2012-03-191-1/+3
| | | | Write last opened dir from QFileDialog in NewPicsDialog.
* Move some code from NewPicsDialog aroundArno2012-02-261-43/+3
| | | | | Put mapping editor into a seperate class to make it easier using it for changing mappings later.
* Make NewPicsDialog archive picturesArno2012-02-251-11/+73
| | | | | | Finally NewPicsDialog actually does something. Added another parameter to Helper::moveToArchive. If set to true, files will only be copied instead of moved. Default is false, not changing the expected behavior.
* Implemented mapping widget for NewPicsDialogArno2012-02-251-1/+46
| | | | | | | Make it possible to add mappings to new pictures. This actually was a tough one. Maybe I shouldn't drink and code. Next: make NewPicsDialog actually do something.
* Implemented NewPicsDialogArno2012-02-241-0/+248
Version 1 of NewPicsDialog. Just one single tab for adding files. Does nothing yet besides adding and removing files.