QtPass  1.2.0-pre
Multi-platform GUI for pass, the standard unix password manager.
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=0)
 QPushButtonWithClipboard::QPushButtonWithClipboard basic constructor. More...
 
QString getTextToCopy () const
 QPushButtonWithClipboard::getTextToCopy returns the text of associated text field. More...
 
void setTextToCopy (const QString &value)
 QPushButtonWithClipboard::setTextToCopy sets text from associated text field. More...
 

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 = 0 
)
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: