summaryrefslogtreecommitdiffstats
path: root/newpicsdialog.cpp
Commit message (Collapse)AuthorAgeFilesLines
* 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.