diff options
author | Tomaz Canabrava <tomaz.canabrava@intel.com> | 2014-06-19 15:52:30 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-06-20 15:41:53 -0700 |
commit | a7240cd83f24c64d4a65d5f2ed22d1f61d810769 (patch) | |
tree | 2c4944fac6cb06a6f65efb6608b1bc0402bb3a7c /qt-ui/simplewidgets.h | |
parent | 70c8bbcc915c31e850bdaf350bf913c4508e5a6a (diff) | |
download | subsurface-a7240cd83f24c64d4a65d5f2ed22d1f61d810769.tar.gz |
Added focus handling to the Date Picker.
Added focus handling for the date picker, this way the user
can use the keyboard to change the date. ( still not implemented )
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/simplewidgets.h')
-rw-r--r-- | qt-ui/simplewidgets.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/qt-ui/simplewidgets.h b/qt-ui/simplewidgets.h index 3600f59b7..445dfebd4 100644 --- a/qt-ui/simplewidgets.h +++ b/qt-ui/simplewidgets.h @@ -100,6 +100,8 @@ public slots: protected: void paintEvent(QPaintEvent *event); void mousePressEvent(QMouseEvent *event); + void focusInEvent(QFocusEvent *); + void focusOutEvent(QFocusEvent *); signals: void dateChanged(const QDate& date); private: |