QtPass 1.4.0
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 (QString)
 

Public Member Functions

 QPushButtonWithClipboard (const QString &textToCopy="", QWidget *parent=nullptr)
 QPushButtonWithClipboard::QPushButtonWithClipboard basic constructor.
 
QString getTextToCopy () const
 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 11 of file qpushbuttonwithclipboard.h.

Constructor & Destructor Documentation

◆ QPushButtonWithClipboard()

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

QPushButtonWithClipboard::QPushButtonWithClipboard basic constructor.

Parameters
textToCopythe text to paste into the clipboard
parentthe parent window

Definition at line 12 of file qpushbuttonwithclipboard.cpp.

Member Function Documentation

◆ clicked

void QPushButtonWithClipboard::clicked ( QString  )
signal
+ Here is the caller graph for this function:

◆ getTextToCopy()

QString QPushButtonWithClipboard::getTextToCopy ( ) const

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

Returns
QString textToCopy

Definition at line 27 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 34 of file qpushbuttonwithclipboard.cpp.


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