Raven Core  3.0.0
P2P Digital Currency
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Private Types | Private Slots | Private Member Functions | Private Attributes | Friends | List of all members
AssetControlDialog Class Reference

#include <assetcontroldialog.h>

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

Public Member Functions

 AssetControlDialog (const PlatformStyle *platformStyle, QWidget *parent=0)
 
 ~AssetControlDialog ()
 
void setModel (WalletModel *model)
 
void updateAssetList (bool fSetOnStart=false)
 

Static Public Member Functions

static void updateLabels (WalletModel *, QDialog *)
 

Public Attributes

bool fOnStartUp
 
QStringListModel * stringModel
 
QSortFilterProxyModel * proxy
 
QCompleter * completer
 

Static Public Attributes

static QList< CAmountpayAmounts
 
static CCoinControlassetControl = new CCoinControl()
 
static bool fSubtractFeeFromAmount = false
 

Private Types

enum  {
  COLUMN_CHECKBOX = 0, COLUMN_ASSET_NAME, 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 ()
 
void viewAdministratorClicked ()
 
void onAssetSelected (QString name)
 

Private Member Functions

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

Private Attributes

Ui::AssetControlDialog * ui
 
WalletModelmodel
 
int sortColumn
 
Qt::SortOrder sortOrder
 
QMenu * contextMenu
 
QTreeWidgetItem * contextMenuItem
 
QAction * copyTransactionHashAction
 
QAction * lockAction
 
QAction * unlockAction
 
const PlatformStyleplatformStyle
 

Friends

class CAssetControlWidgetItem
 

Detailed Description

Definition at line 46 of file assetcontroldialog.h.

Member Enumeration Documentation

◆ anonymous enum

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

Definition at line 88 of file assetcontroldialog.h.

Constructor & Destructor Documentation

◆ AssetControlDialog()

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

Setup the asset list combobox

Definition at line 51 of file assetcontroldialog.cpp.

Here is the call graph for this function:

◆ ~AssetControlDialog()

AssetControlDialog::~AssetControlDialog ( )

Definition at line 176 of file assetcontroldialog.cpp.

Member Function Documentation

◆ buttonBoxClicked

void AssetControlDialog::buttonBoxClicked ( QAbstractButton *  button)
privateslot

Definition at line 200 of file assetcontroldialog.cpp.

Here is the caller graph for this function:

◆ buttonSelectAllClicked

void AssetControlDialog::buttonSelectAllClicked ( )
privateslot

Definition at line 210 of file assetcontroldialog.cpp.

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

◆ clipboardAfterFee

void AssetControlDialog::clipboardAfterFee ( )
privateslot

Definition at line 338 of file assetcontroldialog.cpp.

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

◆ clipboardAmount

void AssetControlDialog::clipboardAmount ( )
privateslot

Definition at line 326 of file assetcontroldialog.cpp.

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

◆ clipboardBytes

void AssetControlDialog::clipboardBytes ( )
privateslot

Definition at line 344 of file assetcontroldialog.cpp.

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

◆ clipboardChange

void AssetControlDialog::clipboardChange ( )
privateslot

Definition at line 356 of file assetcontroldialog.cpp.

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

◆ clipboardFee

void AssetControlDialog::clipboardFee ( )
privateslot

Definition at line 332 of file assetcontroldialog.cpp.

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

◆ clipboardLowOutput

void AssetControlDialog::clipboardLowOutput ( )
privateslot

Definition at line 350 of file assetcontroldialog.cpp.

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

◆ clipboardQuantity

void AssetControlDialog::clipboardQuantity ( )
privateslot

Definition at line 320 of file assetcontroldialog.cpp.

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

◆ copyAddress

void AssetControlDialog::copyAddress ( )
privateslot

Definition at line 282 of file assetcontroldialog.cpp.

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

◆ copyAmount

void AssetControlDialog::copyAmount ( )
privateslot

Definition at line 267 of file assetcontroldialog.cpp.

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

◆ copyLabel

void AssetControlDialog::copyLabel ( )
privateslot

Definition at line 273 of file assetcontroldialog.cpp.

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

◆ copyTransactionHash

void AssetControlDialog::copyTransactionHash ( )
privateslot

Definition at line 291 of file assetcontroldialog.cpp.

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

◆ headerSectionClicked

void AssetControlDialog::headerSectionClicked ( int  logicalIndex)
privateslot

Definition at line 371 of file assetcontroldialog.cpp.

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

◆ lockCoin

void AssetControlDialog::lockCoin ( )
privateslot

Definition at line 297 of file assetcontroldialog.cpp.

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

◆ onAssetSelected

void AssetControlDialog::onAssetSelected ( QString  name)
privateslot

Definition at line 817 of file assetcontroldialog.cpp.

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

◆ radioListMode

void AssetControlDialog::radioListMode ( bool  checked)
privateslot

Definition at line 399 of file assetcontroldialog.cpp.

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

◆ radioTreeMode

void AssetControlDialog::radioTreeMode ( bool  checked)
privateslot

Definition at line 392 of file assetcontroldialog.cpp.

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

◆ setModel()

void AssetControlDialog::setModel ( WalletModel model)

Definition at line 186 of file assetcontroldialog.cpp.

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

◆ showMenu

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

Definition at line 232 of file assetcontroldialog.cpp.

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

◆ sortView()

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

Definition at line 362 of file assetcontroldialog.cpp.

Here is the caller graph for this function:

◆ unlockCoin

void AssetControlDialog::unlockCoin ( )
privateslot

Definition at line 310 of file assetcontroldialog.cpp.

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

◆ updateAssetList()

void AssetControlDialog::updateAssetList ( bool  fSetOnStart = false)

Definition at line 783 of file assetcontroldialog.cpp.

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

◆ updateLabelLocked

void AssetControlDialog::updateLabelLocked ( )
privateslot

Definition at line 436 of file assetcontroldialog.cpp.

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

◆ updateLabels()

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

Definition at line 448 of file assetcontroldialog.cpp.

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

◆ updateView()

void AssetControlDialog::updateView ( )
private

Definition at line 621 of file assetcontroldialog.cpp.

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

◆ viewAdministratorClicked

void AssetControlDialog::viewAdministratorClicked ( )
privateslot

Definition at line 776 of file assetcontroldialog.cpp.

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

◆ viewItemChanged

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

Definition at line 406 of file assetcontroldialog.cpp.

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

Friends And Related Function Documentation

◆ CAssetControlWidgetItem

friend class CAssetControlWidgetItem
friend

Definition at line 100 of file assetcontroldialog.h.

Member Data Documentation

◆ assetControl

CCoinControl * AssetControlDialog::assetControl = new CCoinControl()
static

Definition at line 63 of file assetcontroldialog.h.

◆ completer

QCompleter* AssetControlDialog::completer

Definition at line 69 of file assetcontroldialog.h.

◆ contextMenu

QMenu* AssetControlDialog::contextMenu
private

Definition at line 77 of file assetcontroldialog.h.

◆ contextMenuItem

QTreeWidgetItem* AssetControlDialog::contextMenuItem
private

Definition at line 78 of file assetcontroldialog.h.

◆ copyTransactionHashAction

QAction* AssetControlDialog::copyTransactionHashAction
private

Definition at line 79 of file assetcontroldialog.h.

◆ fOnStartUp

bool AssetControlDialog::fOnStartUp

Definition at line 65 of file assetcontroldialog.h.

◆ fSubtractFeeFromAmount

bool AssetControlDialog::fSubtractFeeFromAmount = false
static

Definition at line 64 of file assetcontroldialog.h.

◆ lockAction

QAction* AssetControlDialog::lockAction
private

Definition at line 80 of file assetcontroldialog.h.

◆ model

WalletModel* AssetControlDialog::model
private

Definition at line 73 of file assetcontroldialog.h.

◆ payAmounts

QList< CAmount > AssetControlDialog::payAmounts
static

Definition at line 62 of file assetcontroldialog.h.

◆ platformStyle

const PlatformStyle* AssetControlDialog::platformStyle
private

Definition at line 83 of file assetcontroldialog.h.

◆ proxy

QSortFilterProxyModel* AssetControlDialog::proxy

Definition at line 68 of file assetcontroldialog.h.

◆ sortColumn

int AssetControlDialog::sortColumn
private

Definition at line 74 of file assetcontroldialog.h.

◆ sortOrder

Qt::SortOrder AssetControlDialog::sortOrder
private

Definition at line 75 of file assetcontroldialog.h.

◆ stringModel

QStringListModel* AssetControlDialog::stringModel

Definition at line 67 of file assetcontroldialog.h.

◆ ui

Ui::AssetControlDialog* AssetControlDialog::ui
private

Definition at line 72 of file assetcontroldialog.h.

◆ unlockAction

QAction* AssetControlDialog::unlockAction
private

Definition at line 81 of file assetcontroldialog.h.


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