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>
This commit is contained in:
Tomaz Canabrava 2014-06-19 15:52:30 -03:00 committed by Dirk Hohndel
parent 70c8bbcc91
commit a7240cd83f
3 changed files with 31 additions and 10 deletions

View file

@ -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: