Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

#include <coincontroldialog.h>

+ Inheritance diagram for CoinControlDialog:
+ Collaboration diagram for CoinControlDialog:

Public Member Functions

 CoinControlDialog (QWidget *parent=0)
 
 ~CoinControlDialog ()
 
void setModel (WalletModel *model)
 

Static Public Member Functions

static void updateLabels (WalletModel *, QDialog *)
 
static CCoinControlcoinControl ()
 
static void usePrivateSend (bool fUsePrivateSend)
 

Static Public Attributes

static QList< CAmountpayAmounts
 
static bool fSubtractFeeFromAmount = false
 

Private Types

enum  {
  COLUMN_CHECKBOX = 0, COLUMN_AMOUNT, COLUMN_LABEL, COLUMN_ADDRESS,
  COLUMN_PRIVATESEND_ROUNDS, COLUMN_DATE, COLUMN_CONFIRMATIONS
}
 
enum  { TxHashRole = Qt::UserRole, VOutRole }
 
enum  Mode { Mode::NORMAL, Mode::PRIVATESEND }
 

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 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 ()
 
void on_hideButton_clicked ()
 

Private Member Functions

void sortView (int, Qt::SortOrder)
 
void updateView ()
 

Private Attributes

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

Static Private Attributes

static CoinControlDialog::Mode mode {CoinControlDialog::Mode::NORMAL}
 

Friends

class CCoinControlWidgetItem
 

Detailed Description

Definition at line 40 of file coincontroldialog.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
private
Enumerator
COLUMN_CHECKBOX 
COLUMN_AMOUNT 
COLUMN_LABEL 
COLUMN_ADDRESS 
COLUMN_PRIVATESEND_ROUNDS 
COLUMN_DATE 
COLUMN_CONFIRMATIONS 

Definition at line 75 of file coincontroldialog.h.

◆ anonymous enum

anonymous enum
private
Enumerator
TxHashRole 
VOutRole 

Definition at line 86 of file coincontroldialog.h.

◆ Mode

enum CoinControlDialog::Mode
strongprivate
Enumerator
NORMAL 
PRIVATESEND 

Definition at line 94 of file coincontroldialog.h.

Constructor & Destructor Documentation

◆ CoinControlDialog()

◆ ~CoinControlDialog()

CoinControlDialog::~CoinControlDialog ( )

Definition at line 167 of file coincontroldialog.cpp.

References sortColumn, sortOrder, and ui.

Member Function Documentation

◆ buttonBoxClicked

void CoinControlDialog::buttonBoxClicked ( QAbstractButton *  button)
privateslot

Definition at line 190 of file coincontroldialog.cpp.

References done, and ui.

Referenced by CoinControlDialog().

◆ buttonSelectAllClicked

void CoinControlDialog::buttonSelectAllClicked ( )
privateslot

◆ buttonToggleLockClicked

◆ clipboardAfterFee

void CoinControlDialog::clipboardAfterFee ( )
privateslot

Definition at line 362 of file coincontroldialog.cpp.

References ASYMP_UTF8, GUIUtil::setClipboard(), and ui.

Referenced by CoinControlDialog().

◆ clipboardAmount

void CoinControlDialog::clipboardAmount ( )
privateslot

Definition at line 350 of file coincontroldialog.cpp.

References GUIUtil::setClipboard(), and ui.

Referenced by CoinControlDialog().

◆ clipboardBytes

void CoinControlDialog::clipboardBytes ( )
privateslot

Definition at line 368 of file coincontroldialog.cpp.

References ASYMP_UTF8, GUIUtil::setClipboard(), and ui.

Referenced by CoinControlDialog().

◆ clipboardChange

void CoinControlDialog::clipboardChange ( )
privateslot

Definition at line 380 of file coincontroldialog.cpp.

References ASYMP_UTF8, GUIUtil::setClipboard(), and ui.

Referenced by CoinControlDialog().

◆ clipboardFee

void CoinControlDialog::clipboardFee ( )
privateslot

Definition at line 356 of file coincontroldialog.cpp.

References ASYMP_UTF8, GUIUtil::setClipboard(), and ui.

Referenced by CoinControlDialog().

◆ clipboardLowOutput

void CoinControlDialog::clipboardLowOutput ( )
privateslot

Definition at line 374 of file coincontroldialog.cpp.

References GUIUtil::setClipboard(), and ui.

Referenced by CoinControlDialog().

◆ clipboardQuantity

void CoinControlDialog::clipboardQuantity ( )
privateslot

Definition at line 344 of file coincontroldialog.cpp.

References GUIUtil::setClipboard(), and ui.

Referenced by CoinControlDialog().

◆ coinControl()

◆ copyAddress

void CoinControlDialog::copyAddress ( )
privateslot

Definition at line 306 of file coincontroldialog.cpp.

References COLUMN_ADDRESS, contextMenuItem, GUIUtil::setClipboard(), and ui.

Referenced by CoinControlDialog().

◆ copyAmount

void CoinControlDialog::copyAmount ( )
privateslot

◆ copyLabel

void CoinControlDialog::copyLabel ( )
privateslot

Definition at line 297 of file coincontroldialog.cpp.

References COLUMN_LABEL, contextMenuItem, GUIUtil::setClipboard(), and ui.

Referenced by CoinControlDialog().

◆ copyTransactionHash

void CoinControlDialog::copyTransactionHash ( )
privateslot

Definition at line 315 of file coincontroldialog.cpp.

References COLUMN_ADDRESS, contextMenuItem, GUIUtil::setClipboard(), and TxHashRole.

Referenced by CoinControlDialog().

◆ headerSectionClicked

void CoinControlDialog::headerSectionClicked ( int  logicalIndex)
privateslot

◆ lockCoin

void CoinControlDialog::lockCoin ( )
privateslot

◆ on_hideButton_clicked

void CoinControlDialog::on_hideButton_clicked ( )
privateslot

Definition at line 473 of file coincontroldialog.cpp.

References fHideAdditional, model, updateLabels(), and updateView().

◆ radioListMode

void CoinControlDialog::radioListMode ( bool  checked)
privateslot

Definition at line 423 of file coincontroldialog.cpp.

References model, and updateView().

Referenced by CoinControlDialog().

◆ radioTreeMode

void CoinControlDialog::radioTreeMode ( bool  checked)
privateslot

Definition at line 416 of file coincontroldialog.cpp.

References model, and updateView().

Referenced by CoinControlDialog().

◆ setModel()

◆ showMenu

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

◆ sortView()

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

Definition at line 386 of file coincontroldialog.cpp.

References sortColumn, sortOrder, and ui.

Referenced by CoinControlDialog(), headerSectionClicked(), and updateView().

◆ unlockCoin

void CoinControlDialog::unlockCoin ( )
privateslot

◆ updateLabelLocked

void CoinControlDialog::updateLabelLocked ( )
privateslot

◆ updateLabels()

◆ updateView()

◆ usePrivateSend()

void CoinControlDialog::usePrivateSend ( bool  fUsePrivateSend)
static

Definition at line 674 of file coincontroldialog.cpp.

References mode, NORMAL, and PRIVATESEND.

Referenced by SendCoinsDialog::showEvent().

◆ viewItemChanged

void CoinControlDialog::viewItemChanged ( QTreeWidgetItem *  item,
int  column 
)
privateslot

Friends And Related Function Documentation

◆ CCoinControlWidgetItem

friend class CCoinControlWidgetItem
friend

Definition at line 92 of file coincontroldialog.h.

Referenced by updateView().

Member Data Documentation

◆ contextMenu

QMenu* CoinControlDialog::contextMenu
private

Definition at line 64 of file coincontroldialog.h.

Referenced by CoinControlDialog(), and showMenu().

◆ contextMenuItem

QTreeWidgetItem* CoinControlDialog::contextMenuItem
private

◆ copyTransactionHashAction

QAction* CoinControlDialog::copyTransactionHashAction
private

Definition at line 66 of file coincontroldialog.h.

Referenced by CoinControlDialog(), and showMenu().

◆ fHideAdditional

bool CoinControlDialog::fHideAdditional {true}
private

Definition at line 70 of file coincontroldialog.h.

Referenced by buttonToggleLockClicked(), on_hideButton_clicked(), and updateView().

◆ fSubtractFeeFromAmount

bool CoinControlDialog::fSubtractFeeFromAmount = false
static

Definition at line 55 of file coincontroldialog.h.

Referenced by SendCoinsDialog::coinControlUpdateLabels(), and updateLabels().

◆ lockAction

QAction* CoinControlDialog::lockAction
private

Definition at line 67 of file coincontroldialog.h.

Referenced by CoinControlDialog(), and showMenu().

◆ mode

CoinControlDialog::Mode CoinControlDialog::mode {CoinControlDialog::Mode::NORMAL}
staticprivate

Definition at line 99 of file coincontroldialog.h.

Referenced by coinControl(), updateView(), and usePrivateSend().

◆ model

◆ payAmounts

QList< CAmount > CoinControlDialog::payAmounts
static

Definition at line 53 of file coincontroldialog.h.

Referenced by SendCoinsDialog::coinControlUpdateLabels(), and updateLabels().

◆ sortColumn

int CoinControlDialog::sortColumn
private

Definition at line 61 of file coincontroldialog.h.

Referenced by headerSectionClicked(), sortView(), updateView(), and ~CoinControlDialog().

◆ sortOrder

Qt::SortOrder CoinControlDialog::sortOrder
private

Definition at line 62 of file coincontroldialog.h.

Referenced by headerSectionClicked(), sortView(), updateView(), and ~CoinControlDialog().

◆ ui

◆ unlockAction

QAction* CoinControlDialog::unlockAction
private

Definition at line 68 of file coincontroldialog.h.

Referenced by CoinControlDialog(), and showMenu().


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