diff options
author | Tomaz Canabrava <tomaz.canabrava@intel.com> | 2014-07-10 21:15:20 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-07-10 19:59:54 -0700 |
commit | b9d04c0cf49fba0906b2f431bf5d17763a24eb8a (patch) | |
tree | 15575f805c4df60039dc781a08ac485f14f1f1da /qt-ui/profile/divepixmapitem.h | |
parent | a00d8101c559ab5f436be4824d6024a091d00ab9 (diff) | |
download | subsurface-b9d04c0cf49fba0906b2f431bf5d17763a24eb8a.tar.gz |
Show/Hide pictures working.
This code hoocks the pictures with the preferences change.
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/profile/divepixmapitem.h')
-rw-r--r-- | qt-ui/profile/divepixmapitem.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/qt-ui/profile/divepixmapitem.h b/qt-ui/profile/divepixmapitem.h index 26aeeaf65..950b211d2 100644 --- a/qt-ui/profile/divepixmapitem.h +++ b/qt-ui/profile/divepixmapitem.h @@ -20,6 +20,8 @@ class DivePictureItem : public DivePixmapItem { public: DivePictureItem(int row, QObject *parent = 0); void setPixmap(const QPixmap& pix); +public slots: + void settingsChanged(); protected: void hoverEnterEvent(QGraphicsSceneHoverEvent *event); void hoverLeaveEvent(QGraphicsSceneHoverEvent *event); |