QtPass
1.4.0
Multi-platform GUI for pass, the standard unix password manager.
Loading...
Searching...
No Matches
src
qpushbuttonasqrcode.h
Go to the documentation of this file.
1
#ifndef QPUSHBUTTONASQRCODE_H_
2
#define QPUSHBUTTONASQRCODE_H_
3
4
#include <QPushButton>
5
10
class
QWidget;
11
class
QPushButtonAsQRCode
:
public
QPushButton {
12
Q_OBJECT
13
14
public
:
15
explicit
QPushButtonAsQRCode
(
const
QString &textToCopy =
""
,
16
QWidget *parent =
nullptr
);
17
18
QString
getTextToCopy
()
const
;
19
void
setTextToCopy
(
const
QString &value);
20
21
signals:
22
void
clicked
(QString);
23
24
private
slots:
25
void
changeIconDefault();
26
void
buttonClicked(
bool
);
27
28
private
:
29
QString textToCopy;
30
QIcon iconEdit;
31
};
32
33
#endif
// QPUSHBUTTONASQRCODE_H_
QPushButtonAsQRCode
Stylish widget to display the field as QR Code.
Definition:
qpushbuttonasqrcode.h:11
QPushButtonAsQRCode::getTextToCopy
QString getTextToCopy() const
QPushButtonAsQRCode::getTextToCopy returns the text of associated text field.
Definition:
qpushbuttonasqrcode.cpp:25
QPushButtonAsQRCode::setTextToCopy
void setTextToCopy(const QString &value)
QPushButtonAsQRCode::setTextToCopy sets text from associated text field.
Definition:
qpushbuttonasqrcode.cpp:32
QPushButtonAsQRCode::clicked
void clicked(QString)
Generated by
1.9.6