PRCYCoin  2.0.0.7rc1
P2P Digital Currency
Public Member Functions | Static Public Member Functions | Static Public Attributes | Private Types | Private Slots | Private Member Functions | Private Attributes | Friends | List of all members
CoinControlDialog Class Reference

#include <coincontroldialog.h>

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

Public Member Functions

 CoinControlDialog (QWidget *parent=nullptr)
 
 ~CoinControlDialog ()
 
void setModel (WalletModel *model)
 
void updateDialogLabels ()
 
void updateView ()
 

Static Public Member Functions

static void updateLabels (WalletModel *, QDialog *)
 
static QString getPriorityLabel (double dPriority, double mempoolEstimatePriority)
 

Static Public Attributes

static QList< CAmountpayAmounts
 
static CCoinControlcoinControl = new CCoinControl()
 
static int nSplitBlockDummy
 

Private Types

enum  {
  COLUMN_CHECKBOX, COLUMN_AMOUNT, COLUMN_LABEL, COLUMN_ADDRESS,
  COLUMN_TYPE, COLUMN_DATE, COLUMN_CONFIRMATIONS, COLUMN_PRIORITY,
  COLUMN_TXHASH, COLUMN_VOUT_INDEX
}
 

Private Slots

void showMenu (const QPoint &)
 
void copyAmount ()
 
void copyLabel ()
 
void copyAddress ()
 
void copyTransactionHash ()
 
void lockCoin ()
 
void unlockCoin ()
 
void clipboardQuantity ()
 
void clipboardAmount ()
 
void clipboardFee ()
 
void clipboardAfterFee ()
 
void clipboardBytes ()
 
void clipboardPriority ()
 
void clipboardLowOutput ()
 
void clipboardChange ()
 
void radioTreeMode (bool)
 
void radioListMode (bool)
 
void viewItemChanged (QTreeWidgetItem *, int)
 
void headerSectionClicked (int)
 
void buttonBoxClicked (QAbstractButton *)
 
void buttonSelectAllClicked ()
 
void buttonToggleLockClicked ()
 
void updateLabelLocked ()
 

Private Member Functions

void sortView (int, Qt::SortOrder)
 

Private Attributes

Ui::CoinControlDialog * ui
 
WalletModelmodel
 
int sortColumn
 
Qt::SortOrder sortOrder
 
bool fSelectAllToggled {true}
 
QMenu * contextMenu
 
QTreeWidgetItem * contextMenuItem
 
QAction * copyTransactionHashAction
 
QAction * lockAction
 
QAction * unlockAction
 

Friends

class CCoinControlWidgetItem
 

Detailed Description

Definition at line 39 of file coincontroldialog.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
private
Enumerator
COLUMN_CHECKBOX 
COLUMN_AMOUNT 
COLUMN_LABEL 
COLUMN_ADDRESS 
COLUMN_TYPE 
COLUMN_DATE 
COLUMN_CONFIRMATIONS 
COLUMN_PRIORITY 
COLUMN_TXHASH 
COLUMN_VOUT_INDEX 

Definition at line 74 of file coincontroldialog.h.

Constructor & Destructor Documentation

◆ CoinControlDialog()

CoinControlDialog::CoinControlDialog ( QWidget *  parent = nullptr)
explicit

Definition at line 45 of file coincontroldialog.cpp.

Here is the call graph for this function:

◆ ~CoinControlDialog()

CoinControlDialog::~CoinControlDialog ( )

Definition at line 154 of file coincontroldialog.cpp.

Member Function Documentation

◆ buttonBoxClicked

void CoinControlDialog::buttonBoxClicked ( QAbstractButton *  button)
privateslot

Definition at line 177 of file coincontroldialog.cpp.

Here is the caller graph for this function:

◆ buttonSelectAllClicked

void CoinControlDialog::buttonSelectAllClicked ( )
privateslot

Definition at line 184 of file coincontroldialog.cpp.

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

◆ buttonToggleLockClicked

void CoinControlDialog::buttonToggleLockClicked ( )
privateslot

Definition at line 206 of file coincontroldialog.cpp.

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

◆ clipboardAfterFee

void CoinControlDialog::clipboardAfterFee ( )
privateslot

Definition at line 344 of file coincontroldialog.cpp.

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

◆ clipboardAmount

void CoinControlDialog::clipboardAmount ( )
privateslot

Definition at line 332 of file coincontroldialog.cpp.

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

◆ clipboardBytes

void CoinControlDialog::clipboardBytes ( )
privateslot

Definition at line 350 of file coincontroldialog.cpp.

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

◆ clipboardChange

void CoinControlDialog::clipboardChange ( )
privateslot

Definition at line 368 of file coincontroldialog.cpp.

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

◆ clipboardFee

void CoinControlDialog::clipboardFee ( )
privateslot

Definition at line 338 of file coincontroldialog.cpp.

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

◆ clipboardLowOutput

void CoinControlDialog::clipboardLowOutput ( )
privateslot

Definition at line 362 of file coincontroldialog.cpp.

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

◆ clipboardPriority

void CoinControlDialog::clipboardPriority ( )
privateslot

Definition at line 356 of file coincontroldialog.cpp.

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

◆ clipboardQuantity

void CoinControlDialog::clipboardQuantity ( )
privateslot

Definition at line 326 of file coincontroldialog.cpp.

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

◆ copyAddress

void CoinControlDialog::copyAddress ( )
privateslot

Definition at line 288 of file coincontroldialog.cpp.

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

◆ copyAmount

void CoinControlDialog::copyAmount ( )
privateslot

Definition at line 273 of file coincontroldialog.cpp.

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

◆ copyLabel

void CoinControlDialog::copyLabel ( )
privateslot

Definition at line 279 of file coincontroldialog.cpp.

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

◆ copyTransactionHash

void CoinControlDialog::copyTransactionHash ( )
privateslot

Definition at line 297 of file coincontroldialog.cpp.

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

◆ getPriorityLabel()

QString CoinControlDialog::getPriorityLabel ( double  dPriority,
double  mempoolEstimatePriority 
)
static

Definition at line 445 of file coincontroldialog.cpp.

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

◆ headerSectionClicked

void CoinControlDialog::headerSectionClicked ( int  logicalIndex)
privateslot

Definition at line 383 of file coincontroldialog.cpp.

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

◆ lockCoin

void CoinControlDialog::lockCoin ( )
privateslot

Definition at line 303 of file coincontroldialog.cpp.

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

◆ radioListMode

void CoinControlDialog::radioListMode ( bool  checked)
privateslot

Definition at line 408 of file coincontroldialog.cpp.

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

◆ radioTreeMode

void CoinControlDialog::radioTreeMode ( bool  checked)
privateslot

Definition at line 401 of file coincontroldialog.cpp.

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

◆ setModel()

void CoinControlDialog::setModel ( WalletModel model)

Definition at line 164 of file coincontroldialog.cpp.

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

◆ showMenu

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

Definition at line 243 of file coincontroldialog.cpp.

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

◆ sortView()

void CoinControlDialog::sortView ( int  column,
Qt::SortOrder  order 
)
private

Definition at line 374 of file coincontroldialog.cpp.

Here is the caller graph for this function:

◆ unlockCoin

void CoinControlDialog::unlockCoin ( )
privateslot

Definition at line 316 of file coincontroldialog.cpp.

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

◆ updateDialogLabels()

void CoinControlDialog::updateDialogLabels ( )

Definition at line 484 of file coincontroldialog.cpp.

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

◆ updateLabelLocked

void CoinControlDialog::updateLabelLocked ( )
privateslot

Definition at line 473 of file coincontroldialog.cpp.

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

◆ updateLabels()

void CoinControlDialog::updateLabels ( WalletModel model,
QDialog *  dialog 
)
static

Definition at line 517 of file coincontroldialog.cpp.

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

◆ updateView()

void CoinControlDialog::updateView ( )

Definition at line 715 of file coincontroldialog.cpp.

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

◆ viewItemChanged

void CoinControlDialog::viewItemChanged ( QTreeWidgetItem *  item,
int  column 
)
privateslot
Todo:
: Remove this temporary qt5 fix after Qt5.3 and Qt5.4 are no longer used.

Definition at line 415 of file coincontroldialog.cpp.

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

Friends And Related Function Documentation

◆ CCoinControlWidgetItem

friend class CCoinControlWidgetItem
friend

Definition at line 87 of file coincontroldialog.h.

Member Data Documentation

◆ coinControl

CCoinControl * CoinControlDialog::coinControl = new CCoinControl()
static

Definition at line 56 of file coincontroldialog.h.

◆ contextMenu

QMenu* CoinControlDialog::contextMenu
private

Definition at line 66 of file coincontroldialog.h.

◆ contextMenuItem

QTreeWidgetItem* CoinControlDialog::contextMenuItem
private

Definition at line 67 of file coincontroldialog.h.

◆ copyTransactionHashAction

QAction* CoinControlDialog::copyTransactionHashAction
private

Definition at line 68 of file coincontroldialog.h.

◆ fSelectAllToggled

bool CoinControlDialog::fSelectAllToggled {true}
private

Definition at line 64 of file coincontroldialog.h.

◆ lockAction

QAction* CoinControlDialog::lockAction
private

Definition at line 69 of file coincontroldialog.h.

◆ model

WalletModel* CoinControlDialog::model
private

Definition at line 61 of file coincontroldialog.h.

◆ nSplitBlockDummy

int CoinControlDialog::nSplitBlockDummy
static

Definition at line 57 of file coincontroldialog.h.

◆ payAmounts

QList< CAmount > CoinControlDialog::payAmounts
static

Definition at line 55 of file coincontroldialog.h.

◆ sortColumn

int CoinControlDialog::sortColumn
private

Definition at line 62 of file coincontroldialog.h.

◆ sortOrder

Qt::SortOrder CoinControlDialog::sortOrder
private

Definition at line 63 of file coincontroldialog.h.

◆ ui

Ui::CoinControlDialog* CoinControlDialog::ui
private

Definition at line 60 of file coincontroldialog.h.

◆ unlockAction

QAction* CoinControlDialog::unlockAction
private

Definition at line 70 of file coincontroldialog.h.


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