summaryrefslogtreecommitdiffstats
path: root/picfilesmodel.h
Commit message (Collapse)AuthorAgeFilesLines
* There goes the constness...Arno2016-03-301-5/+5
| | | | At least try to reconnect to the database after resume.
* Make the SlideDialog do somethinArno2016-03-291-0/+4
| | | | Well, implement functionality. Seems to work as intended.
* Slide through recent in PictureViewer2Arno2015-08-291-0/+3
| | | | | For now, recent is hardcoded to pictures added in the last 6 months. Maybe it should be configurable...
* Implement slide through all picturesArno2015-08-121-0/+4
| | | | | Wow, that was much more complicated than I first thought, but it seems to work. Maybe it's much more convoluted than it has to be :)
* Bring back the nice MappingItem!Arno2014-07-091-0/+2
| | | | | | | | | | Resurrect the indented MappingItem. There's some recursion involved, but actually it ain't so hard if you have a template :) This adventure uncovered a bug in NewPicsDialog: Right now we also record the nodes (not just the leaves) for the Mappings. This bug was introduced by commit dc7cc269a4fffe43bdac2ae2dc6548fbd1e3bb5e and will be fixed in one of the next commits.
* Major rework of MappingTreeResultView + ModelArno2014-06-291-0/+2
| | | | | | | Well, I hope this fixes the crashes for good. String comparison for looking up the parents really wasn't a prudent thing to do... Use the ParentIds instead.
* Give Pictures some love!Arno2013-08-221-6/+3
| | | | | | * Show and archive size of pictures * Fix SqlQueries in PicFilesModel: removeFiles and changeMappings * use delegate in PictureView
* 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 archiving picturesArno2012-10-271-1/+1
| | | | | | 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...
* Fix Mappings in PictureViewer2Arno2012-10-041-0/+49
Another fix for the new MappingTreeModel database layout: Make the mappings display correctly when showing an archived picture. For performance reasons I had to make PicFilesModel global and put it into a separate file. Also clean up MappingTreeModel: remove comments and unused functions.