QPushButton that toggles visibility of an associated QLineEdit.
More...
#include <qpushbuttonshowpassword.h>
|
| void | clicked (const QString &text) |
| | Emitted on button activation with the current text of the line edit.
|
|
| | QPushButtonShowPassword (QLineEdit *line, QWidget *parent=nullptr) |
| | Construct a show-password button linked to the given QLineEdit.
|
QPushButton that toggles visibility of an associated QLineEdit.
Definition at line 14 of file qpushbuttonshowpassword.h.
◆ QPushButtonShowPassword()
| QPushButtonShowPassword::QPushButtonShowPassword |
( |
QLineEdit * | line, |
|
|
QWidget * | parent = nullptr ) |
|
explicit |
Construct a show-password button linked to the given QLineEdit.
- Parameters
-
| line | QLineEdit whose contents are shown or hidden by this button. |
| parent | Optional parent widget. |
◆ clicked
| void QPushButtonShowPassword::clicked |
( |
const QString & | text | ) |
|
|
signal |
Emitted on button activation with the current text of the line edit.
- Parameters
-
| text | Current text of the associated QLineEdit. |
The documentation for this class was generated from the following file: