Automatically focus on input when opening a dialog

This commit is contained in:
Konstantinos Sideris 2018-01-16 22:50:47 +02:00
parent eea33062e3
commit 9de2db2fb8
6 changed files with 27 additions and 0 deletions

View file

@ -22,6 +22,7 @@ signals:
protected:
void paintEvent(QPaintEvent *event) override;
void showEvent(QShowEvent *event) override;
private:
void clearFields();

View file

@ -19,6 +19,7 @@ public:
protected:
void paintEvent(QPaintEvent *event) override;
void showEvent(QShowEvent *event) override;
signals:
void closing(bool isLeaving, QStringList invitees);

View file

@ -18,6 +18,7 @@ signals:
protected:
void paintEvent(QPaintEvent *event) override;
void showEvent(QShowEvent *event) override;
private:
FlatButton *confirmBtn_;