diff options
Diffstat (limited to 'pictureviewer2.h')
-rw-r--r-- | pictureviewer2.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pictureviewer2.h b/pictureviewer2.h index d5d80a4..e93dffc 100644 --- a/pictureviewer2.h +++ b/pictureviewer2.h @@ -36,6 +36,7 @@ class PictureViewer2 : public QGraphicsView { void next(); void previous(); void slide(); + void readSettings(); protected: virtual void wheelEvent(QWheelEvent *event); @@ -47,7 +48,7 @@ class PictureViewer2 : public QGraphicsView { private: void setupDialog(); - void setCurPalette(const QPixmap &pic); + void setGradient(const QPixmap &pic); QString constructWindowTitle() const; PicDataList mFiles; QGraphicsScene *mScene; @@ -57,6 +58,8 @@ class PictureViewer2 : public QGraphicsView { QTimer *mSlideTimer; const QString mDefaultFile; PictureViewer2FileinfoItem *mFnItem; + bool mUseGradient; + QColor mBgColor; }; class PictureViewer2FileinfoItem : public QGraphicsItem { |