summaryrefslogtreecommitdiffstats
path: root/newpicsdialog.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix Qt::Windowflags nullptr deprecation warningsArno2020-07-191-1/+1
|
* Various clang warning fixesArno2019-01-121-2/+2
| | | | | Mostly nullptr, one missing include that wasn't really missed, and a stray ;
* Implement archive pics for FSWidgetArno2018-03-311-6/+0
| | | | And remove a lot of cruft... Still much work to be done :(
* Add Delete to NewPicsDialogArno2016-10-161-0/+2
| | | | Also fix handling of next picture.
* Add Next> to NewPicsDialogArno2016-10-161-0/+8
| | | | | | Make archiving various pictures easier. When NewPicsDialog is calles with a directory, the Next> button archives the current pic and selects the next.
* Remove presets from NewPicsDialogArno2016-03-301-9/+2
| | | | | | | | and replace them with write/readSettings. It was a useless feature anyway, don't even remember what it was good for. Also fix another bug in MappingTreeResultModel: Clear mCurrentData too, when clearData is called.
* Usability fixesArno2015-06-071-1/+1
| | | | | | | | | | * start maximized * focus MappingTree when showing NewPicsDialog * Keyboard Shortcuts for FilesystemWidget: CTRL+UP: go to parent dir CTRL+LEFT: go back CTRL+U: unpack * close UnpackDialog when done
* Implement presets for NewPicsDialogArno2015-04-081-1/+5
| | | | A set of attributes can now be saved and loaded in NewPicsDialog.
* Save position of NewPicsDialogArno2015-04-081-1/+12
| | | | | Add button to save the position of the NewPicsDialog and move it there when we show()
* Give Pictures some love!Arno2013-08-221-4/+4
| | | | | | * Show and archive size of pictures * Fix SqlQueries in PicFilesModel: removeFiles and changeMappings * use delegate in PictureView
* Usability fixArno2013-08-211-0/+1
| | | | | | | * repair shortcuts for adding files to NewPicsDialog and showing it from PictureViewer2 * Replace files in NewPicsDialog instead of adding them * add missing header to MappingTreeModel
* Fix NewPicsDialog + NewPicFilesModelArno2013-08-161-3/+1
| | | | | | | * remove some of the Transaction madness * make it possible to archive pics again It's far from finished....
* Cleanup closeEventArno2013-07-271-1/+0
| | | | | | | | | | Don't try to delete all the prepared statements manually. Get rid of the ~destructors and just close the QSqlDatabase. close() deletes all Statements. Also, quit() all QThreads on closeEvent() except CompleterProducer. When the experimental archive view gets merged, that QThread is gone. No need to bother...
* Fix setAlternatignRowColorsArno2013-04-101-7/+3
| | | | | | | | | | | | | | | | | | | | Well, what started as a try to simplify QTreeView ended in a mass header murder... What happened: * I searched for a way to let every QTreeView honor the setAlternatingRowcolors() setting. Unfortunately it isn't enough to just set the global palette and set it to true. So every QTreeView is now derived from SmTreeView * SmTreeView registers itself with SmGlobals, so the property is set _after_ it's constructed. It's definitely not enough to call it in the constructor. I guess that's a bug. But it's enough to append the SmTreeView to a QList<QWidget*> in SmGlobals and call it _after_ the painting is done. * As an added Bonus we can add virt. funcs to every SmTreeView at will While at it I realized that most of the included headers were void, so remove them. No idea what impact it has on the bin size...
* Port to Qt5Arno2013-03-031-2/+2
| | | | | | | | * Change #include to qt5 * Fix missing QX11Info * use explicit constructor for QVariant(QColor) * use beginResetModel() and endResetModel() instead of reset(). The latter was removed. Hopefully it still works :)
* Usability: Make archiving pics easierArno2012-11-161-1/+4
| | | | | | | | | | | 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
* Archive selected picturesArno2012-09-081-1/+4
| | | | | Added convenience function to archive selected pictures. Selected pics in the FileManager will automagically be added to NewPicsDialog.
* Move some code from NewPicsDialog aroundArno2012-02-261-15/+2
| | | | | Put mapping editor into a seperate class to make it easier using it for changing mappings later.
* Make NewPicsDialog archive picturesArno2012-02-251-6/+13
| | | | | | 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-0/+18
| | | | | | | 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/+77
Version 1 of NewPicsDialog. Just one single tab for adding files. Does nothing yet besides adding and removing files.