summaryrefslogtreecommitdiffstats
path: root/pictureviewer2.h
diff options
context:
space:
mode:
Diffstat (limited to 'pictureviewer2.h')
-rw-r--r--pictureviewer2.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/pictureviewer2.h b/pictureviewer2.h
index 99405e0..c9c7688 100644
--- a/pictureviewer2.h
+++ b/pictureviewer2.h
@@ -45,6 +45,7 @@ class PictureViewer2 : public QGraphicsView {
void setShowInfoItem(bool show) { mShowInfoItem = show; }
void setShowMappingItem(bool show) { mShowMappingItem = show; }
void setShowMarkItem(bool show) { mShowMarkItem = show; }
+ void setCurrentDir(const QString &curDir) { mCurrentDir = curDir; }
const PicDataList marked() { return mMarkedFiles; }
PicData picData(const QString &fullPath);
virtual QSize sizeHint() const;
@@ -115,6 +116,7 @@ class PictureViewer2 : public QGraphicsView {
bool mShowInfoItem;
bool mShowMappingItem;
bool mShowMarkItem;
+ QString mCurrentDir;
};
class PictureViewer2Item : public QGraphicsItem {