Bitcoin ABC 0.30.7
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 copyLabel ()
 
void copyMessage ()
 
void copyAmount ()
 

Private Member Functions

QModelIndex selectedRow ()
 
void copyColumnToClipboard (int column)
 
virtual void resizeEvent (QResizeEvent *event) override
 

Private Attributes

Ui::ReceiveCoinsDialog * ui
 
GUIUtil::TableViewLastColumnResizingFixercolumnResizingFixer
 
WalletModelmodel
 
QMenu * contextMenu
 
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 34 of file receivecoinsdialog.h.

Constructor & Destructor Documentation

◆ ReceiveCoinsDialog()

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

Definition at line 23 of file receivecoinsdialog.cpp.

Here is the call graph for this function:

◆ ~ReceiveCoinsDialog()

ReceiveCoinsDialog::~ReceiveCoinsDialog ( )

Definition at line 120 of file receivecoinsdialog.cpp.

Member Function Documentation

◆ accept

void ReceiveCoinsDialog::accept ( )
overrideslot

Definition at line 135 of file receivecoinsdialog.cpp.

Here is the call graph for this function:

◆ clear

void ReceiveCoinsDialog::clear ( )
slot

Definition at line 124 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 311 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 267 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 301 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 287 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 195 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 228 of file receivecoinsdialog.cpp.

Here is the call graph for this function:

◆ on_showRequestButton_clicked

void ReceiveCoinsDialog::on_showRequestButton_clicked ( )
privateslot

Definition at line 215 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 206 of file receivecoinsdialog.cpp.

Here is the caller graph for this function:

◆ reject

void ReceiveCoinsDialog::reject ( )
overrideslot

Definition at line 131 of file receivecoinsdialog.cpp.

Here is the call graph for this function:

◆ resizeEvent()

void ReceiveCoinsDialog::resizeEvent ( QResizeEvent *  event)
overrideprivatevirtual

Definition at line 246 of file receivecoinsdialog.cpp.

Here is the call graph for this function:

◆ selectedRow()

QModelIndex ReceiveCoinsDialog::selectedRow ( )
private

Definition at line 251 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 75 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 279 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 139 of file receivecoinsdialog.cpp.

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

Member Data Documentation

◆ columnResizingFixer

GUIUtil::TableViewLastColumnResizingFixer* ReceiveCoinsDialog::columnResizingFixer
private

Definition at line 54 of file receivecoinsdialog.h.

◆ contextMenu

QMenu* ReceiveCoinsDialog::contextMenu
private

Definition at line 56 of file receivecoinsdialog.h.

◆ model

WalletModel* ReceiveCoinsDialog::model
private

Definition at line 55 of file receivecoinsdialog.h.

◆ platformStyle

const PlatformStyle* ReceiveCoinsDialog::platformStyle
private

Definition at line 57 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: