summaryrefslogtreecommitdiffstats
path: root/pictureviewer2.h
Commit message (Collapse)AuthorAgeFilesLines
* Weed out PictureViewer in favor of PictureViewer2Arno2012-04-281-0/+3
| | | | Remove PictureViewer from everywhere and use PictureViewer2 instead.
* Finally fix MappingItemArno2012-04-031-1/+1
| | | | | | | | | Well, the comment was right. The previous implementation was fishy at best. It simply didn't work. Could have been so ease. Just look at the commit size :) Don't forget that there will be an empty line at the beginning of the QTextDocument if you don't check the first insert.
* Make Mapping widget configurableArno2012-03-241-2/+5
| | | | | Make mappingwidget behave according to settings. SideBySide doesn't work yet, maybe it should be canned.
* Made FileInfoItem configurableArno2012-03-241-0/+3
| | | | | | | Create copious options for FileInfoItem, reintroducing the Pictures tab in ConfigurationDialog. Also fixed a long standing bug in SeriesTreeWidget: don't static_cast() an event. It'll succeed even when called from a destructor.
* Show mappings in PictureViewer2Arno2012-03-241-4/+16
| | | | | | | | | | | Hell, this was one heck of a bitch. Lots of changes just to show the mapping tree in PictureViewer2. Did I mention that I hate recursion? Added a function for fetching a SmTreeItem * from MappingTreeModel for paths, just to turn it into a QTextDocument in PictureViewer2. Of course everything is recursive. Did I say that I hate recursion? Well, as said in the comments, one recursion function seems fishy, but it works (tm).
* Add keyboard actions to PictureViewer2Arno2012-03-171-1/+7
| | | | | | | 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.
* Make info item in PictureViewer2 moveableArno2012-03-171-0/+2
| | | | | This was easier than I thought. Make info item movable and save position on exit.
* Randomize selection for pictureviewerArno2012-03-171-0/+1
| | | | | std::random_shuffle available files in PictureViewer2. Add action to View menu and reuse an icon.
* Show number of selected files in PictureViewerArno2012-03-171-2/+2
| | | | | Show the number of files available to PictureViewer2 in the InfoItem. Also give constructFilenameItem a proper name.
* Make background color of PictureViewer2 configurableArno2012-03-171-1/+4
| | | | | | Add options to ConfigurationDialog to either use a fixed color as background or a gradient picked with random colors picked from the picture.
* Revamp filename item in PictureViewer2Arno2012-03-161-7/+8
| | | | | | | | | Turn it into something completely different :) Display filename, scaled size, file size, added date and mime type in the upper left corner of the viewport. Make it more visible. A pinkish background doesn't always work esp. with a gradient background. Make it white with 80% alpha channel with a black foreground.
* Show filename in PictureViewerArno2012-03-101-1/+15
| | | | | Create a GraphicsItem showing the filename at the top of the view. Also put the filename in the window title.
* Slide showArno2012-03-101-1/+6
| | | | | | 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-5/+9
| | | | | | | -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-4/+14
| | | | | Show picture in PictureViewer2 when double clicking an item in pictures widget. Also shuffle some code around.
* First draft of PictureViewer2Arno2012-03-081-0/+38
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...