|
Hydra 0.20
|
#include <ThumbsView.h>
Public Member Functions | |
| ThumbsView (MainWindow *mainwin, FileList *_filelist, ThreadedThumbCache *_thumbcache, bool wrap_list, bool popout_on_activate=false) | |
| virtual void | onImageChange (FileList *fl, int fileIndex) |
Protected Member Functions | |
| virtual void | contextMenuEvent (QContextMenuEvent *event) |
A thumbnail veiwer.
| desktop::ThumbsView::ThumbsView | ( | MainWindow * | mainwin, |
| FileList * | _filelist, | ||
| ThreadedThumbCache * | _thumbcache, | ||
| bool | wrap_list, | ||
| bool | popout_on_activate = false |
||
| ) |
Constructor.
| wrap_list | if true, there will be wrapping (false = thumbstrip like mode) |
| popout_on_activate | if nonnull, this MainWindow will be used to popout a new view on activation |
| virtual void desktop::ThumbsView::onImageChange | ( | FileList * | fl, |
| int | fileIndex | ||
| ) | [virtual] |
Called when the image itself changes for the give file entry. For now, this is usaully the result of a rotate operation.
This handler does nothing by default.
Reimplemented from desktop::FileListListener.