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>
This commit is contained in:
Tomaz Canabrava 2014-07-10 21:15:20 -03:00 committed by Dirk Hohndel
parent a00d8101c5
commit b9d04c0cf4
4 changed files with 11 additions and 1 deletions

View file

@ -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);