Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

Dialog for requesting payment of bitcoins. More...

#include <receivecoinsdialog.h>

+ Inheritance diagram for ReceiveCoinsDialog:
+ Collaboration diagram for ReceiveCoinsDialog:

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 (QWidget *parent=0)
 
 ~ReceiveCoinsDialog ()
 
void setModel (WalletModel *model)
 

Protected Member Functions

virtual void keyPressEvent (QKeyEvent *event) override
 

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
 

Detailed Description

Dialog for requesting payment of bitcoins.

Definition at line 29 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 ( QWidget *  parent = 0)
explicit

◆ ~ReceiveCoinsDialog()

ReceiveCoinsDialog::~ReceiveCoinsDialog ( )

Definition at line 94 of file receivecoinsdialog.cpp.

References ui.

Member Function Documentation

◆ accept

void ReceiveCoinsDialog::accept ( )
overrideslot

Definition at line 112 of file receivecoinsdialog.cpp.

References clear().

◆ clear

void ReceiveCoinsDialog::clear ( )
slot

Definition at line 99 of file receivecoinsdialog.cpp.

References ui, and updateDisplayUnit().

Referenced by accept(), on_receiveButton_clicked(), ReceiveCoinsDialog(), and reject().

◆ copyAmount

void ReceiveCoinsDialog::copyAmount ( )
privateslot

◆ copyColumnToClipboard()

void ReceiveCoinsDialog::copyColumnToClipboard ( int  column)
private

◆ copyLabel

void ReceiveCoinsDialog::copyLabel ( )
privateslot

Definition at line 257 of file receivecoinsdialog.cpp.

References copyColumnToClipboard(), and RecentRequestsTableModel::Label.

Referenced by ReceiveCoinsDialog().

◆ copyMessage

void ReceiveCoinsDialog::copyMessage ( )
privateslot

◆ copyURI

◆ keyPressEvent()

void ReceiveCoinsDialog::keyPressEvent ( QKeyEvent *  event)
overrideprotectedvirtual

Definition at line 196 of file receivecoinsdialog.cpp.

References on_receiveButton_clicked(), and ui.

◆ on_receiveButton_clicked

◆ on_recentRequestsView_doubleClicked

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

◆ on_removeRequestButton_clicked

void ReceiveCoinsDialog::on_removeRequestButton_clicked ( )
privateslot

◆ on_showRequestButton_clicked

void ReceiveCoinsDialog::on_showRequestButton_clicked ( )
privateslot

◆ recentRequestsView_selectionChanged

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

Definition at line 157 of file receivecoinsdialog.cpp.

References ui.

Referenced by setModel().

◆ reject

void ReceiveCoinsDialog::reject ( )
overrideslot

Definition at line 107 of file receivecoinsdialog.cpp.

References clear().

◆ resizeEvent()

void ReceiveCoinsDialog::resizeEvent ( QResizeEvent *  event)
overrideprivatevirtual

◆ selectedRow()

QModelIndex ReceiveCoinsDialog::selectedRow ( )
private

◆ setModel()

◆ showMenu

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

Definition at line 235 of file receivecoinsdialog.cpp.

References contextMenu, and selectedRow().

Referenced by ReceiveCoinsDialog().

◆ updateDisplayUnit

void ReceiveCoinsDialog::updateDisplayUnit ( )
privateslot

Definition at line 117 of file receivecoinsdialog.cpp.

References OptionsModel::getDisplayUnit(), WalletModel::getOptionsModel(), model, and ui.

Referenced by clear(), and setModel().

Member Data Documentation

◆ columnResizingFixer

GUIUtil::TableViewLastColumnResizingFixer* ReceiveCoinsDialog::columnResizingFixer
private

Definition at line 56 of file receivecoinsdialog.h.

Referenced by resizeEvent(), and setModel().

◆ contextMenu

QMenu* ReceiveCoinsDialog::contextMenu
private

Definition at line 58 of file receivecoinsdialog.h.

Referenced by ReceiveCoinsDialog(), and showMenu().

◆ model

◆ ui


The documentation for this class was generated from the following files:
Released under the MIT license