QtPass 1.4.0
Multi-platform GUI for pass, the standard unix password manager.
Loading...
Searching...
No Matches
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
11class QWidget;
12class QPushButtonShowPassword : public QPushButton {
13 Q_OBJECT
14
15public:
16 explicit QPushButtonShowPassword(QLineEdit *line, QWidget *parent = nullptr);
17
18signals:
19 void clicked(QString);
20
21private slots:
22 void buttonClicked(bool);
23
24private:
25 QIcon iconEdit;
26 QIcon iconEditPushed;
27 QLineEdit *line;
28};
29
30#endif // QPUSHBUTTONSHOWPASSWORD_H_