QtPass 1.5.1
Multi-platform GUI for pass, the standard unix password manager.
Loading...
Searching...
No Matches
Signals | Public Member Functions | List of all members
QPushButtonWithClipboard Class Reference

Stylish widget to allow copying of password and account details. More...

#include <qpushbuttonwithclipboard.h>

+ Inheritance diagram for QPushButtonWithClipboard:
+ Collaboration diagram for QPushButtonWithClipboard:

Signals

void clicked (const QString &)
 

Public Member Functions

 QPushButtonWithClipboard (QString textToCopy="", QWidget *parent=nullptr)
 QPushButtonWithClipboard::QPushButtonWithClipboard basic constructor.
 
auto getTextToCopy () const -> QString
 QPushButtonWithClipboard::getTextToCopy returns the text of associated text field.
 
void setTextToCopy (const QString &value)
 QPushButtonWithClipboard::setTextToCopy sets text from associated text field.
 

Detailed Description

Stylish widget to allow copying of password and account details.

Definition at line 13 of file qpushbuttonwithclipboard.h.

Constructor & Destructor Documentation

◆ QPushButtonWithClipboard()

QPushButtonWithClipboard::QPushButtonWithClipboard ( QString  textToCopy = "",
QWidget *  parent = nullptr 
)
explicit

QPushButtonWithClipboard::QPushButtonWithClipboard basic constructor.

Parameters
textToCopythe text to paste into the clipboard
parentthe parent window

Definition at line 15 of file qpushbuttonwithclipboard.cpp.

Member Function Documentation

◆ clicked

void QPushButtonWithClipboard::clicked ( const QString &  )
signal

◆ getTextToCopy()

auto QPushButtonWithClipboard::getTextToCopy ( ) const -> QString

QPushButtonWithClipboard::getTextToCopy returns the text of associated text field.

Returns
QString textToCopy

Definition at line 31 of file qpushbuttonwithclipboard.cpp.

◆ setTextToCopy()

void QPushButtonWithClipboard::setTextToCopy ( const QString &  value)

QPushButtonWithClipboard::setTextToCopy sets text from associated text field.

Parameters
valueQString text to be copied

Definition at line 40 of file qpushbuttonwithclipboard.cpp.


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