Automatically focus on input when opening a dialog
This commit is contained in:
parent
eea33062e3
commit
9de2db2fb8
6 changed files with 27 additions and 0 deletions
|
|
@ -22,6 +22,7 @@ signals:
|
|||
|
||||
protected:
|
||||
void paintEvent(QPaintEvent *event) override;
|
||||
void showEvent(QShowEvent *event) override;
|
||||
|
||||
private:
|
||||
void clearFields();
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@ public:
|
|||
|
||||
protected:
|
||||
void paintEvent(QPaintEvent *event) override;
|
||||
void showEvent(QShowEvent *event) override;
|
||||
|
||||
signals:
|
||||
void closing(bool isLeaving, QStringList invitees);
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@ signals:
|
|||
|
||||
protected:
|
||||
void paintEvent(QPaintEvent *event) override;
|
||||
void showEvent(QShowEvent *event) override;
|
||||
|
||||
private:
|
||||
FlatButton *confirmBtn_;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue