Bitcoin Core 28.99.0
P2P Digital Currency
Public Types | Public Slots | Public Member Functions | Private Slots | Private Member Functions | Private Attributes | List of all members
ReceiveCoinsDialog Class Reference

Dialog for requesting payment of bitcoins. More...

#include <receivecoinsdialog.h>

Inheritance diagram for ReceiveCoinsDialog:
[legend]
Collaboration diagram for ReceiveCoinsDialog:
[legend]

Public Types

enum  ColumnWidths { DATE_COLUMN_WIDTH = 130 , LABEL_COLUMN_WIDTH = 120 , AMOUNT_MINIMUM_COLUMN_WIDTH = 180 , MINIMUM_COLUMN_WIDTH = 130 }
 

Public Slots

void clear ()
 
void reject () override
 
void accept () override
 

Public Member Functions

 ReceiveCoinsDialog (const PlatformStyle *platformStyle, QWidget *parent=nullptr)
 
 ~ReceiveCoinsDialog ()
 
void setModel (WalletModel *model)
 

Private Slots

void on_receiveButton_clicked ()
 
void on_showRequestButton_clicked ()
 
void on_removeRequestButton_clicked ()
 
void on_recentRequestsView_doubleClicked (const QModelIndex &index)
 
void recentRequestsView_selectionChanged (const QItemSelection &selected, const QItemSelection &deselected)
 
void updateDisplayUnit ()
 
void showMenu (const QPoint &point)
 
void copyURI ()
 
void copyAddress ()
 
void copyLabel ()
 
void copyMessage ()
 
void copyAmount ()
 

Private Member Functions

QModelIndex selectedRow ()
 
void copyColumnToClipboard (int column)
 

Private Attributes

Ui::ReceiveCoinsDialog * ui
 
WalletModelmodel {nullptr}
 
QMenu * contextMenu
 
QAction * copyLabelAction
 
QAction * copyMessageAction
 
QAction * copyAmountAction
 
const PlatformStyleplatformStyle
 

Detailed Description

Dialog for requesting payment of bitcoins.

Definition at line 30 of file receivecoinsdialog.h.

Member Enumeration Documentation

◆ ColumnWidths

Enumerator
DATE_COLUMN_WIDTH 
LABEL_COLUMN_WIDTH 
AMOUNT_MINIMUM_COLUMN_WIDTH 
MINIMUM_COLUMN_WIDTH 

Definition at line 35 of file receivecoinsdialog.h.

Constructor & Destructor Documentation

◆ ReceiveCoinsDialog()

ReceiveCoinsDialog::ReceiveCoinsDialog ( const PlatformStyle platformStyle,
QWidget *  parent = nullptr 
)
explicit

Definition at line 25 of file receivecoinsdialog.cpp.

Here is the call graph for this function:

◆ ~ReceiveCoinsDialog()

ReceiveCoinsDialog::~ReceiveCoinsDialog ( )

Definition at line 113 of file receivecoinsdialog.cpp.

Member Function Documentation

◆ accept

void ReceiveCoinsDialog::accept ( )
overrideslot

Definition at line 133 of file receivecoinsdialog.cpp.

Here is the call graph for this function:

◆ clear

void ReceiveCoinsDialog::clear ( )
slot

Definition at line 120 of file receivecoinsdialog.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ copyAddress

void ReceiveCoinsDialog::copyAddress ( )
privateslot

Definition at line 287 of file receivecoinsdialog.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ copyAmount

void ReceiveCoinsDialog::copyAmount ( )
privateslot

Definition at line 312 of file receivecoinsdialog.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ copyColumnToClipboard()

void ReceiveCoinsDialog::copyColumnToClipboard ( int  column)
private

Definition at line 246 of file receivecoinsdialog.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ copyLabel

void ReceiveCoinsDialog::copyLabel ( )
privateslot

Definition at line 300 of file receivecoinsdialog.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ copyMessage

void ReceiveCoinsDialog::copyMessage ( )
privateslot

Definition at line 306 of file receivecoinsdialog.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ copyURI

void ReceiveCoinsDialog::copyURI ( )
privateslot

Definition at line 274 of file receivecoinsdialog.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_receiveButton_clicked

void ReceiveCoinsDialog::on_receiveButton_clicked ( )
privateslot

Definition at line 146 of file receivecoinsdialog.cpp.

Here is the call graph for this function:

◆ on_recentRequestsView_doubleClicked

void ReceiveCoinsDialog::on_recentRequestsView_doubleClicked ( const QModelIndex &  index)
privateslot

Definition at line 192 of file receivecoinsdialog.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_removeRequestButton_clicked

void ReceiveCoinsDialog::on_removeRequestButton_clicked ( )
privateslot

Definition at line 221 of file receivecoinsdialog.cpp.

Here is the call graph for this function:

◆ on_showRequestButton_clicked

void ReceiveCoinsDialog::on_showRequestButton_clicked ( )
privateslot

Definition at line 210 of file receivecoinsdialog.cpp.

Here is the call graph for this function:

◆ recentRequestsView_selectionChanged

void ReceiveCoinsDialog::recentRequestsView_selectionChanged ( const QItemSelection &  selected,
const QItemSelection &  deselected 
)
privateslot

Definition at line 202 of file receivecoinsdialog.cpp.

Here is the caller graph for this function:

◆ reject

void ReceiveCoinsDialog::reject ( )
overrideslot

Definition at line 128 of file receivecoinsdialog.cpp.

Here is the call graph for this function:

◆ selectedRow()

QModelIndex ReceiveCoinsDialog::selectedRow ( )
private

Definition at line 233 of file receivecoinsdialog.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setModel()

void ReceiveCoinsDialog::setModel ( WalletModel model)

Definition at line 71 of file receivecoinsdialog.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ showMenu

void ReceiveCoinsDialog::showMenu ( const QPoint &  point)
privateslot

Definition at line 256 of file receivecoinsdialog.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ updateDisplayUnit

void ReceiveCoinsDialog::updateDisplayUnit ( )
privateslot

Definition at line 138 of file receivecoinsdialog.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ contextMenu

QMenu* ReceiveCoinsDialog::contextMenu
private

Definition at line 55 of file receivecoinsdialog.h.

◆ copyAmountAction

QAction* ReceiveCoinsDialog::copyAmountAction
private

Definition at line 58 of file receivecoinsdialog.h.

◆ copyLabelAction

QAction* ReceiveCoinsDialog::copyLabelAction
private

Definition at line 56 of file receivecoinsdialog.h.

◆ copyMessageAction

QAction* ReceiveCoinsDialog::copyMessageAction
private

Definition at line 57 of file receivecoinsdialog.h.

◆ model

WalletModel* ReceiveCoinsDialog::model {nullptr}
private

Definition at line 54 of file receivecoinsdialog.h.

◆ platformStyle

const PlatformStyle* ReceiveCoinsDialog::platformStyle
private

Definition at line 59 of file receivecoinsdialog.h.

◆ ui

Ui::ReceiveCoinsDialog* ReceiveCoinsDialog::ui
private

Definition at line 53 of file receivecoinsdialog.h.


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