Bitcoin ABC 0.26.3
P2P Digital Currency
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Static Public Attributes | Private Types | Private Slots | Private Member Functions | Static 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 (CCoinControl &coin_control, WalletModel *model, const PlatformStyle *platformStyle, QWidget *parent=nullptr)
 
 ~CoinControlDialog ()
 

Static Public Member Functions

static void updateLabels (CCoinControl &m_coin_control, WalletModel *, QDialog *)
 

Static Public Attributes

static QList< AmountpayAmounts
 
static bool fSubtractFeeFromAmount = false
 

Private Types

enum  {
  COLUMN_CHECKBOX = 0 , COLUMN_AMOUNT , COLUMN_LABEL , COLUMN_ADDRESS ,
  COLUMN_DATE , COLUMN_CONFIRMATIONS
}
 
enum  { TxIdRole = Qt::UserRole , VOutRole }
 

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

Static Private Member Functions

static COutPoint buildOutPoint (const QTreeWidgetItem *item)
 

Private Attributes

Ui::CoinControlDialog * ui
 
CCoinControlm_coin_control
 
WalletModelmodel
 
int sortColumn
 
Qt::SortOrder sortOrder
 
QMenucontextMenu
 
QTreeWidgetItem * contextMenuItem
 
QActioncopyTransactionHashAction
 
QActionlockAction
 
QActionunlockAction
 
const PlatformStyleplatformStyle
 

Friends

class CCoinControlWidgetItem
 

Detailed Description

Definition at line 41 of file coincontroldialog.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
private
Enumerator
COLUMN_CHECKBOX 
COLUMN_AMOUNT 
COLUMN_LABEL 
COLUMN_ADDRESS 
COLUMN_DATE 
COLUMN_CONFIRMATIONS 

Definition at line 75 of file coincontroldialog.h.

◆ anonymous enum

anonymous enum
private
Enumerator
TxIdRole 
VOutRole 

Definition at line 84 of file coincontroldialog.h.

Constructor & Destructor Documentation

◆ CoinControlDialog()

CoinControlDialog::CoinControlDialog ( CCoinControl coin_control,
WalletModel model,
const PlatformStyle platformStyle,
QWidget *  parent = nullptr 
)
explicit

Definition at line 50 of file coincontroldialog.cpp.

Here is the call graph for this function:

◆ ~CoinControlDialog()

CoinControlDialog::~CoinControlDialog ( )

Definition at line 183 of file coincontroldialog.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ buildOutPoint()

COutPoint CoinControlDialog::buildOutPoint ( const QTreeWidgetItem *  item)
staticprivate

Definition at line 649 of file coincontroldialog.cpp.

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

◆ buttonBoxClicked

void CoinControlDialog::buttonBoxClicked ( QAbstractButton button)
privateslot

Definition at line 193 of file coincontroldialog.cpp.

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

◆ buttonSelectAllClicked

void CoinControlDialog::buttonSelectAllClicked ( )
privateslot

Definition at line 201 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 336 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 322 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 344 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 355 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 328 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 350 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 317 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 277 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 260 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 266 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 288 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 371 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 294 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 401 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 394 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 227 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 363 of file coincontroldialog.cpp.

Here is the caller graph for this function:

◆ unlockCoin

void CoinControlDialog::unlockCoin ( )
privateslot

Definition at line 308 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 433 of file coincontroldialog.cpp.

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

◆ updateLabels()

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

Definition at line 444 of file coincontroldialog.cpp.

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

◆ updateView()

void CoinControlDialog::updateView ( )
private

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

Definition at line 408 of file coincontroldialog.cpp.

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

Friends And Related Symbol Documentation

◆ CCoinControlWidgetItem

Definition at line 86 of file coincontroldialog.h.

Member Data Documentation

◆ contextMenu

QMenu* CoinControlDialog::contextMenu
private

Definition at line 64 of file coincontroldialog.h.

◆ contextMenuItem

QTreeWidgetItem* CoinControlDialog::contextMenuItem
private

Definition at line 65 of file coincontroldialog.h.

◆ copyTransactionHashAction

QAction* CoinControlDialog::copyTransactionHashAction
private

Definition at line 66 of file coincontroldialog.h.

◆ fSubtractFeeFromAmount

bool CoinControlDialog::fSubtractFeeFromAmount = false
static

Definition at line 55 of file coincontroldialog.h.

◆ lockAction

QAction* CoinControlDialog::lockAction
private

Definition at line 67 of file coincontroldialog.h.

◆ m_coin_control

CCoinControl& CoinControlDialog::m_coin_control
private

Definition at line 59 of file coincontroldialog.h.

◆ model

WalletModel* CoinControlDialog::model
private

Definition at line 60 of file coincontroldialog.h.

◆ payAmounts

QList< Amount > CoinControlDialog::payAmounts
static

Definition at line 54 of file coincontroldialog.h.

◆ platformStyle

const PlatformStyle* CoinControlDialog::platformStyle
private

Definition at line 70 of file coincontroldialog.h.

◆ sortColumn

int CoinControlDialog::sortColumn
private

Definition at line 61 of file coincontroldialog.h.

◆ sortOrder

Qt::SortOrder CoinControlDialog::sortOrder
private

Definition at line 62 of file coincontroldialog.h.

◆ ui

Ui::CoinControlDialog* CoinControlDialog::ui
private

Definition at line 58 of file coincontroldialog.h.

◆ unlockAction

QAction* CoinControlDialog::unlockAction
private

Definition at line 68 of file coincontroldialog.h.


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