QtPass  1.3.3
Multi-platform GUI for pass, the standard unix password manager.
qpushbuttonshowpassword.h
Go to the documentation of this file.
1 #ifndef QPUSHBUTTONSHOWPASSWORD_H_
2 #define QPUSHBUTTONSHOWPASSWORD_H_
3 
4 #include <QLineEdit>
5 #include <QPushButton>
6 
11 class QWidget;
12 class QPushButtonShowPassword : public QPushButton {
13  Q_OBJECT
14 
15 public:
16  explicit QPushButtonShowPassword(QLineEdit *line, QWidget *parent = nullptr);
17 
18 signals:
19  void clicked(QString);
20 
21 private slots:
22  void buttonClicked(bool);
23 
24 private:
25  QIcon iconEdit;
26  QIcon iconEditPushed;
27  QLineEdit *line;
28 };
29 
30 #endif // QPUSHBUTTONSHOWPASSWORD_H_
QPushButtonShowPassword::QPushButtonShowPassword
QPushButtonShowPassword(QLineEdit *line, QWidget *parent=nullptr)
QPushButtonAsQRCode::QPushButtonAsQRCode basic constructor.
Definition: qpushbuttonshowpassword.cpp:12
QPushButtonShowPassword
Definition: qpushbuttonshowpassword.h:12
QPushButtonShowPassword::clicked
void clicked(QString)