| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Remove PictureViewer from everywhere and use PictureViewer2 instead.
|
|
|
|
|
|
|
|
|
| |
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 mappingwidget behave according to settings. SideBySide doesn't work
yet, maybe it should be canned.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
| |
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).
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
This was easier than I thought. Make info item movable and save position
on exit.
|
|
|
|
|
| |
std::random_shuffle available files in PictureViewer2. Add action to
View menu and reuse an icon.
|
|
|
|
|
| |
Show the number of files available to PictureViewer2 in the InfoItem.
Also give constructFilenameItem a proper name.
|
|
|
|
|
|
| |
Add options to ConfigurationDialog to either use a fixed color as
background or a gradient picked with random colors picked from the
picture.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Create a GraphicsItem showing the filename at the top of the view. Also
put the filename in the window title.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
-Implement add and replace files
-use QList<QVariant> (typedef'd) for shoveling data around
-more code shuffling
-new artwork
|
|
|
|
|
| |
Show picture in PictureViewer2 when double clicking an item in pictures
widget. Also shuffle some code around.
|
|
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...
|