QtPass 1.7.0
Multi-platform GUI for pass, the standard unix password manager.
Loading...
Searching...
No Matches
QPushButtonShowPassword Class Reference

QPushButton that toggles visibility of an associated QLineEdit. More...

#include <qpushbuttonshowpassword.h>

Inheritance diagram for QPushButtonShowPassword:
Collaboration diagram for QPushButtonShowPassword:

Signals

void clicked (const QString &text)
 Emitted on button activation with the current text of the line edit.

Public Member Functions

 QPushButtonShowPassword (QLineEdit *line, QWidget *parent=nullptr)
 Construct a show-password button linked to the given QLineEdit.

Detailed Description

QPushButton that toggles visibility of an associated QLineEdit.

Definition at line 14 of file qpushbuttonshowpassword.h.

Constructor & Destructor Documentation

◆ QPushButtonShowPassword()

QPushButtonShowPassword::QPushButtonShowPassword ( QLineEdit * line,
QWidget * parent = nullptr )
explicit

Construct a show-password button linked to the given QLineEdit.

Parameters
lineQLineEdit whose contents are shown or hidden by this button.
parentOptional parent widget.

Member Function Documentation

◆ clicked

void QPushButtonShowPassword::clicked ( const QString & text)
signal

Emitted on button activation with the current text of the line edit.

Parameters
textCurrent text of the associated QLineEdit.

The documentation for this class was generated from the following file: