Handle palette change for dive site selection

If you select a dive site with a different uuid than your
current dive.dive_site_uuid, you should get a different
pallete to state clearly that something changed.

Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Tomaz Canabrava 2015-09-23 14:46:29 -03:00 committed by Dirk Hohndel
parent 7d863b5c28
commit e4c0ee32cd
4 changed files with 24 additions and 3 deletions

View file

@ -100,6 +100,9 @@ public:
DiveSiteType currDiveSiteType() const;
uint32_t currDiveSiteUuid() const;
signals:
void diveSiteSelected(uint32_t uuid);
protected:
void keyPressEvent(QKeyEvent *ev);
void focusOutEvent(QFocusEvent *ev);