summaryrefslogtreecommitdiffstats
path: root/pictureswidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'pictureswidget.h')
-rw-r--r--pictureswidget.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/pictureswidget.h b/pictureswidget.h
index ece2bfb..1b7fa09 100644
--- a/pictureswidget.h
+++ b/pictureswidget.h
@@ -13,6 +13,7 @@
#include <QSqlDatabase>
#include "smtreemodel.h"
+#include "pictureviewer2.h"
class PictureView;
class MappingTreeWidget;
@@ -24,6 +25,7 @@ class QSortFilterProxyModel;
class QHideEvent;
class QEvent;
class HoverWindow;
+class PictureViewer2;
class PicturesWidget : public QWidget {
Q_OBJECT
@@ -31,6 +33,9 @@ class PicturesWidget : public QWidget {
explicit PicturesWidget(QWidget *parent = 0);
PictureView *picView() { return mPictureView; }
+ public slots:
+ void showPicViewer(bool toggled);
+
private slots:
void setMappingColors();
void editMappings();
@@ -42,6 +47,7 @@ class PicturesWidget : public QWidget {
private:
MappingTreeWidget *mMappingTree;
PictureView *mPictureView;
+ PictureViewer2 *mPicViewer;
MappingEditDialog *mEditDialog;
const QString mWindowTitleBase;
};