Raven Core  3.0.0
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 ravens. 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=0)
 
 ~ReceiveCoinsDialog ()
 
void setModel (WalletModel *model)
 
void setupRequestFrame (const PlatformStyle *platformStyle)
 
void setupHistoryFrame (const PlatformStyle *platformStyle)
 

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 ravens.

Definition at line 31 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 36 of file receivecoinsdialog.h.

Constructor & Destructor Documentation

◆ ReceiveCoinsDialog()

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

Definition at line 28 of file receivecoinsdialog.cpp.

Here is the call graph for this function:

◆ ~ReceiveCoinsDialog()

ReceiveCoinsDialog::~ReceiveCoinsDialog ( )

Definition at line 107 of file receivecoinsdialog.cpp.

Member Function Documentation

◆ accept

void ReceiveCoinsDialog::accept ( )
slot

Definition at line 126 of file receivecoinsdialog.cpp.

Here is the call graph for this function:

◆ clear

void ReceiveCoinsDialog::clear ( )
slot

Definition at line 112 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 353 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 309 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 341 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 347 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 328 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 280 of file receivecoinsdialog.cpp.

Here is the call graph for this function:

◆ on_receiveButton_clicked

void ReceiveCoinsDialog::on_receiveButton_clicked ( )
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_recentRequestsView_doubleClicked

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

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

Here is the call graph for this function:

◆ on_showRequestButton_clicked

void ReceiveCoinsDialog::on_showRequestButton_clicked ( )
privateslot

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

Here is the caller graph for this function:

◆ reject

void ReceiveCoinsDialog::reject ( )
slot

Definition at line 121 of file receivecoinsdialog.cpp.

Here is the call graph for this function:

◆ resizeEvent()

void ReceiveCoinsDialog::resizeEvent ( QResizeEvent *  event)
privatevirtual

Definition at line 274 of file receivecoinsdialog.cpp.

Here is the call graph for this function:

◆ selectedRow()

QModelIndex ReceiveCoinsDialog::selectedRow ( )
private

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

◆ setupHistoryFrame()

void ReceiveCoinsDialog::setupHistoryFrame ( const PlatformStyle platformStyle)

Update the coincontrol frame

Create the shadow effects on the frames

Definition at line 170 of file receivecoinsdialog.cpp.

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

◆ setupRequestFrame()

void ReceiveCoinsDialog::setupRequestFrame ( const PlatformStyle platformStyle)

Update the coincontrol frame

Create the shadow effects on the frames

Definition at line 131 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 319 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 184 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 60 of file receivecoinsdialog.h.

◆ contextMenu

QMenu* ReceiveCoinsDialog::contextMenu
private

Definition at line 62 of file receivecoinsdialog.h.

◆ model

WalletModel* ReceiveCoinsDialog::model
private

Definition at line 61 of file receivecoinsdialog.h.

◆ platformStyle

const PlatformStyle* ReceiveCoinsDialog::platformStyle
private

Definition at line 63 of file receivecoinsdialog.h.

◆ ui

Ui::ReceiveCoinsDialog* ReceiveCoinsDialog::ui
private

Definition at line 59 of file receivecoinsdialog.h.


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