summaryrefslogtreecommitdiffstats
path: root/pictureswidget.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Weed out PictureViewer in favor of PictureViewer2Arno2012-04-281-1/+1
| | | | Remove PictureViewer from everywhere and use PictureViewer2 instead.
* Save settings for PicturesWidgetArno2012-03-181-0/+14
| | | | Remember selected node in PicturesWidget.
* Fix FrameCache and HoverWindowArno2012-03-181-1/+5
| | | | | | Another commit that should be two. While fixing FrameCache to delete invalid Pixmaps, I ventured into the depths of HoverWindow. Now it hides when focus leaves the widget we're hovering over.
* Fix some severe braindamageArno2012-03-181-10/+21
| | | | | | | | | | | | | | It started as a buxfix session, but the more I dug into some ancient code, the more I had to change. Well, first and foremost, this fixes a crash in PicturesWidget. Trying to display the mappings of the selected picture in a different color never was a good idea. Show them in the statusbar instead. While looking at the statusBar code, make PictureWidget emit signals to show the total size and number of selected items. Then I noticed some really, really braindamaged connection madness in the Shemov constructor. Instead of doing all the work in SheMov itself, have the widgets emit signals. This should have been several commits, but one lead to another...
* Add keyboard actions to PictureViewer2Arno2012-03-171-0/+6
| | | | | | | Never, ever forget: QVariant() casts to a valid int! Again, this was a tough one, but maybe I shouldn't drink and program. PictureViewer2 reacts to Escape and Space. Escape hides it and stops the slide timer, Space activates the slide timer.
* Revamp Select all files in PictureViewerArno2012-03-171-12/+7
| | | | | | Change semantics of "Select all pics" in PictureViewer2. Now all pics are not really all pics any more, but only all pics of the selected mapping node.
* Make nodes with children selectable in picture widgetArno2012-03-171-22/+36
| | | | | | | | | This was a tough one. Lost in recursion. When selecting nodes with children in the picture widget, all files having this node as mapping parent are shown. Had to make some changes to SmTreeModel::findRecursive for this. I hope I didn't break anything. If I did, I'll fix it :) Also disposed of some comments and unused member variables.
* Slide showArno2012-03-101-0/+24
| | | | | | Implement slide show in Pictureviewer2. Slide over all available files and wrap around when reaching the end of the list. Also added some more artwork.
* Make PictureViewer usefulArno2012-03-081-2/+27
| | | | | | | -Implement add and replace files -use QList<QVariant> (typedef'd) for shoveling data around -more code shuffling -new artwork
* Show picture on doubleClick in PicturesWidgetArno2012-03-081-2/+13
| | | | | Show picture in PictureViewer2 when double clicking an item in pictures widget. Also shuffle some code around.
* First draft of PictureViewer2Arno2012-03-081-0/+5
| | | | | | Doesn't do much other than showing a default picture, but it behaves like a QDialog and positions itself correctly. It's quite a pain in the ass with a tiling window manager...
* Customize menus and toolbar for PictureViewArno2012-03-031-3/+13
| | | | | | | * Added 4 new icons for PictureView-actions. * simplified SheMov::tabChanged(int) * fix long standing bug with QActionGroups in SheMov. Enable and disable all actions according to the active tab
* Implement refresh for PicturesArno2012-03-031-2/+10
| | | | | Add action to PictureView for refreshing the view. Needed after editing mappings.
* Impement editing of picture mappingsArno2012-03-031-0/+51
| | | | Make it possible to edit picture mappings on archived pictures.
* Mark active MappingsArno2012-02-261-0/+44
| | | | | When selecting pictures, mark the active mappings with a different color.
* Implement PicturesWidgetArno2012-02-261-0/+228
Create a tab to show the archived pictures. It's far from complete, but it already does: * show pictures * hover * delete pictures from archive