Bitcoin Core  0.18.99
P2P Digital Currency
Public Types | Public Slots | Public Member Functions | Protected 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 ()
 
void accept ()
 

Public Member Functions

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

Protected Member Functions

virtual void keyPressEvent (QKeyEvent *event)
 

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)
 

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 35 of file receivecoinsdialog.h.

Constructor & Destructor Documentation

◆ ReceiveCoinsDialog()

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

Definition at line 24 of file receivecoinsdialog.cpp.

Here is the call graph for this function:

◆ ~ReceiveCoinsDialog()

ReceiveCoinsDialog::~ReceiveCoinsDialog ( )

Definition at line 118 of file receivecoinsdialog.cpp.

Member Function Documentation

◆ accept

void ReceiveCoinsDialog::accept ( )
slot

Definition at line 136 of file receivecoinsdialog.cpp.

Here is the call graph for this function:

◆ clear

void ReceiveCoinsDialog::clear ( )
slot

Definition at line 123 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 302 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 258 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 290 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 296 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 277 of file receivecoinsdialog.cpp.

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

◆ keyPressEvent()

void ReceiveCoinsDialog::keyPressEvent ( QKeyEvent *  event)
protectedvirtual

Definition at line 229 of file receivecoinsdialog.cpp.

Here is the call graph for this function:

◆ on_receiveButton_clicked

void ReceiveCoinsDialog::on_receiveButton_clicked ( )
privateslot

Definition at line 149 of file receivecoinsdialog.cpp.

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

◆ on_recentRequestsView_doubleClicked

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

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

Here is the call graph for this function:

◆ on_showRequestButton_clicked

void ReceiveCoinsDialog::on_showRequestButton_clicked ( )
privateslot

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

Here is the caller graph for this function:

◆ reject

void ReceiveCoinsDialog::reject ( )
slot

Definition at line 131 of file receivecoinsdialog.cpp.

Here is the call graph for this function:

◆ resizeEvent()

void ReceiveCoinsDialog::resizeEvent ( QResizeEvent *  event)
privatevirtual

Definition at line 223 of file receivecoinsdialog.cpp.

Here is the call graph for this function:

◆ selectedRow()

QModelIndex ReceiveCoinsDialog::selectedRow ( )
private

Definition at line 245 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 68 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 268 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 141 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 57 of file receivecoinsdialog.h.

◆ contextMenu

QMenu* ReceiveCoinsDialog::contextMenu
private

Definition at line 59 of file receivecoinsdialog.h.

◆ model

WalletModel* ReceiveCoinsDialog::model
private

Definition at line 58 of file receivecoinsdialog.h.

◆ platformStyle

const PlatformStyle* ReceiveCoinsDialog::platformStyle
private

Definition at line 60 of file receivecoinsdialog.h.

◆ ui

Ui::ReceiveCoinsDialog* ReceiveCoinsDialog::ui
private

Definition at line 56 of file receivecoinsdialog.h.


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