diff options
Diffstat (limited to 'pictureswidget.h')
-rw-r--r-- | pictureswidget.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pictureswidget.h b/pictureswidget.h index 1b7fa09..fd0b5ac 100644 --- a/pictureswidget.h +++ b/pictureswidget.h @@ -26,12 +26,14 @@ class QHideEvent; class QEvent; class HoverWindow; class PictureViewer2; +class QAction; class PicturesWidget : public QWidget { Q_OBJECT public: explicit PicturesWidget(QWidget *parent = 0); PictureView *picView() { return mPictureView; } + void setPicViewerAction(QAction *action) { mPicViewerA = action; } public slots: void showPicViewer(bool toggled); @@ -40,6 +42,7 @@ class PicturesWidget : public QWidget { void setMappingColors(); void editMappings(); void constructWindowTitle(); + void showInPicViewer(const QModelIndex &idx); signals: void needWindowTitleChange(QString); @@ -50,6 +53,7 @@ class PicturesWidget : public QWidget { PictureViewer2 *mPicViewer; MappingEditDialog *mEditDialog; const QString mWindowTitleBase; + QAction *mPicViewerA; }; class PictureView : public QTreeView { |