Bitcoin Core  0.15.99
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 (const PlatformStyle *platformStyle, QWidget *parent=0)
 
 ~CoinControlDialog ()
 
void setModel (WalletModel *model)
 

Static Public Member Functions

static void updateLabels (WalletModel *, QDialog *)
 
static CCoinControlcoinControl ()
 

Static Public Attributes

static QList< CAmountpayAmounts
 
static bool fSubtractFeeFromAmount = false
 

Private Types

enum  {
  COLUMN_CHECKBOX = 0, COLUMN_AMOUNT, COLUMN_LABEL, COLUMN_ADDRESS,
  COLUMN_DATE, COLUMN_CONFIRMATIONS, 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 clipboardLowOutput ()
 
void clipboardChange ()
 
void radioTreeMode (bool)
 
void radioListMode (bool)
 
void viewItemChanged (QTreeWidgetItem *, int)
 
void headerSectionClicked (int)
 
void buttonBoxClicked (QAbstractButton *)
 
void buttonSelectAllClicked ()
 
void updateLabelLocked ()
 

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
 
const PlatformStyleplatformStyle
 

Friends

class CCoinControlWidgetItem
 

Detailed Description

Definition at line 41 of file coincontroldialog.h.

Member Enumeration Documentation

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

Definition at line 75 of file coincontroldialog.h.

Constructor & Destructor Documentation

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

Definition at line 43 of file coincontroldialog.cpp.

Here is the call graph for this function:

CoinControlDialog::~CoinControlDialog ( )

Definition at line 148 of file coincontroldialog.cpp.

Member Function Documentation

void CoinControlDialog::buttonBoxClicked ( QAbstractButton *  button)
privateslot

Definition at line 171 of file coincontroldialog.cpp.

Here is the caller graph for this function:

void CoinControlDialog::buttonSelectAllClicked ( )
privateslot

Definition at line 178 of file coincontroldialog.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void CoinControlDialog::clipboardAfterFee ( )
privateslot

Definition at line 306 of file coincontroldialog.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void CoinControlDialog::clipboardAmount ( )
privateslot

Definition at line 294 of file coincontroldialog.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void CoinControlDialog::clipboardBytes ( )
privateslot

Definition at line 312 of file coincontroldialog.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void CoinControlDialog::clipboardChange ( )
privateslot

Definition at line 324 of file coincontroldialog.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void CoinControlDialog::clipboardFee ( )
privateslot

Definition at line 300 of file coincontroldialog.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void CoinControlDialog::clipboardLowOutput ( )
privateslot

Definition at line 318 of file coincontroldialog.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void CoinControlDialog::clipboardQuantity ( )
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:

CCoinControl * CoinControlDialog::coinControl ( )
static

Definition at line 602 of file coincontroldialog.cpp.

Here is the caller graph for this function:

void CoinControlDialog::copyAddress ( )
privateslot

Definition at line 250 of file coincontroldialog.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void CoinControlDialog::copyAmount ( )
privateslot

Definition at line 235 of file coincontroldialog.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void CoinControlDialog::copyLabel ( )
privateslot

Definition at line 241 of file coincontroldialog.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void CoinControlDialog::copyTransactionHash ( )
privateslot

Definition at line 259 of file coincontroldialog.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void CoinControlDialog::headerSectionClicked ( int  logicalIndex)
privateslot

Definition at line 339 of file coincontroldialog.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void CoinControlDialog::lockCoin ( )
privateslot

Definition at line 265 of file coincontroldialog.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void CoinControlDialog::radioListMode ( bool  checked)
privateslot

Definition at line 367 of file coincontroldialog.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void CoinControlDialog::radioTreeMode ( bool  checked)
privateslot

Definition at line 360 of file coincontroldialog.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void CoinControlDialog::setModel ( WalletModel model)

Definition at line 158 of file coincontroldialog.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 200 of file coincontroldialog.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 330 of file coincontroldialog.cpp.

Here is the caller graph for this function:

void CoinControlDialog::unlockCoin ( )
privateslot

Definition at line 278 of file coincontroldialog.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void CoinControlDialog::updateLabelLocked ( )
privateslot

Definition at line 404 of file coincontroldialog.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 416 of file coincontroldialog.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void CoinControlDialog::updateView ( )
private

Definition at line 608 of file coincontroldialog.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 374 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

friend class CCoinControlWidgetItem
friend

Definition at line 86 of file coincontroldialog.h.

Member Data Documentation

QMenu* CoinControlDialog::contextMenu
private

Definition at line 64 of file coincontroldialog.h.

QTreeWidgetItem* CoinControlDialog::contextMenuItem
private

Definition at line 65 of file coincontroldialog.h.

QAction* CoinControlDialog::copyTransactionHashAction
private

Definition at line 66 of file coincontroldialog.h.

bool CoinControlDialog::fSubtractFeeFromAmount = false
static

Definition at line 56 of file coincontroldialog.h.

QAction* CoinControlDialog::lockAction
private

Definition at line 67 of file coincontroldialog.h.

WalletModel* CoinControlDialog::model
private

Definition at line 60 of file coincontroldialog.h.

QList< CAmount > CoinControlDialog::payAmounts
static

Definition at line 54 of file coincontroldialog.h.

const PlatformStyle* CoinControlDialog::platformStyle
private

Definition at line 70 of file coincontroldialog.h.

int CoinControlDialog::sortColumn
private

Definition at line 61 of file coincontroldialog.h.

Qt::SortOrder CoinControlDialog::sortOrder
private

Definition at line 62 of file coincontroldialog.h.

Ui::CoinControlDialog* CoinControlDialog::ui
private

Definition at line 59 of file coincontroldialog.h.

QAction* CoinControlDialog::unlockAction
private

Definition at line 68 of file coincontroldialog.h.


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