Raven Core  3.0.0
P2P Digital Currency
Public Slots | Signals | Public Member Functions | Private Slots | Private Member Functions | Private Attributes | List of all members
AssetsDialog Class Reference

Dialog for sending ravens. More...

#include <assetsdialog.h>

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

Public Slots

void clear ()
 
void reject ()
 
void accept ()
 
SendAssetsEntryaddEntry ()
 
void updateTabsAndLabels ()
 
void setBalance (const CAmount &balance, const CAmount &unconfirmedBalance, const CAmount &immatureBalance, const CAmount &watchOnlyBalance, const CAmount &watchUnconfBalance, const CAmount &watchImmatureBalance)
 
void focusAssetListBox ()
 

Signals

void message (const QString &title, const QString &message, unsigned int style)
 RVN END. More...
 

Public Member Functions

 AssetsDialog (const PlatformStyle *platformStyle, QWidget *parent=0)
 
 ~AssetsDialog ()
 
void setClientModel (ClientModel *clientModel)
 
void setModel (WalletModel *model)
 
void setupAssetControlFrame (const PlatformStyle *platformStyle)
 
void setupScrollView (const PlatformStyle *platformStyle)
 
void setupFeeControl (const PlatformStyle *platformStyle)
 
QWidget * setupTabChain (QWidget *prev)
 Set up the tab chain manually, as Qt messes up the tab chain by default in some cases (issue https://bugreports.qt-project.org/browse/QTBUG-10907). More...
 
void setAddress (const QString &address)
 
void pasteEntry (const SendAssetsRecipient &rv)
 
bool handlePaymentRequest (const SendAssetsRecipient &recipient)
 
void processNewTransaction ()
 
void handleFirstSelection ()
 

Private Slots

void on_sendButton_clicked ()
 
void on_buttonChooseFee_clicked ()
 
void on_buttonMinimizeFee_clicked ()
 
void removeEntry (SendAssetsEntry *entry)
 
void updateDisplayUnit ()
 
void assetControlFeatureChanged (bool)
 
void assetControlButtonClicked ()
 
void assetControlChangeChecked (int)
 
void assetControlChangeEdited (const QString &)
 
void assetControlUpdateLabels ()
 
void assetControlClipboardQuantity ()
 
void assetControlClipboardAmount ()
 
void assetControlClipboardFee ()
 
void assetControlClipboardAfterFee ()
 
void assetControlClipboardBytes ()
 
void assetControlClipboardLowOutput ()
 
void assetControlClipboardChange ()
 
void setMinimumFee ()
 
void updateFeeSectionControls ()
 
void updateMinFeeLabel ()
 
void updateSmartFeeLabel ()
 
void customFeeFeatureChanged (bool)
 
void assetControlUpdateSendCoinsDialog ()
 RVN START. More...
 
void focusAsset (const QModelIndex &index)
 

Private Member Functions

void processSendCoinsReturn (const WalletModel::SendCoinsReturn &sendCoinsReturn, const QString &msgArg=QString())
 
void minimizeFeeSection (bool fMinimize)
 
void updateFeeMinimizedLabel ()
 
void updateAssetControlState (CCoinControl &ctrl)
 

Private Attributes

Ui::AssetsDialog * ui
 
ClientModelclientModel
 
WalletModelmodel
 
bool fNewRecipientAllowed
 
bool fFeeMinimized
 
const PlatformStyleplatformStyle
 

Detailed Description

Dialog for sending ravens.

Definition at line 30 of file assetsdialog.h.

Constructor & Destructor Documentation

◆ AssetsDialog()

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

RVN START

RVN END

Definition at line 44 of file assetsdialog.cpp.

Here is the call graph for this function:

◆ ~AssetsDialog()

AssetsDialog::~AssetsDialog ( )

Definition at line 210 of file assetsdialog.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ accept

void AssetsDialog::accept ( )
slot

Definition at line 488 of file assetsdialog.cpp.

Here is the call graph for this function:

◆ addEntry

SendAssetsEntry * AssetsDialog::addEntry ( )
slot

Definition at line 493 of file assetsdialog.cpp.

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

◆ assetControlButtonClicked

void AssetsDialog::assetControlButtonClicked ( )
privateslot

Definition at line 865 of file assetsdialog.cpp.

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

◆ assetControlChangeChecked

void AssetsDialog::assetControlChangeChecked ( int  state)
privateslot

Definition at line 875 of file assetsdialog.cpp.

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

◆ assetControlChangeEdited

void AssetsDialog::assetControlChangeEdited ( const QString &  text)
privateslot

Definition at line 890 of file assetsdialog.cpp.

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

◆ assetControlClipboardAfterFee

void AssetsDialog::assetControlClipboardAfterFee ( )
privateslot

Definition at line 825 of file assetsdialog.cpp.

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

◆ assetControlClipboardAmount

void AssetsDialog::assetControlClipboardAmount ( )
privateslot

Definition at line 813 of file assetsdialog.cpp.

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

◆ assetControlClipboardBytes

void AssetsDialog::assetControlClipboardBytes ( )
privateslot

Definition at line 831 of file assetsdialog.cpp.

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

◆ assetControlClipboardChange

void AssetsDialog::assetControlClipboardChange ( )
privateslot

Definition at line 843 of file assetsdialog.cpp.

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

◆ assetControlClipboardFee

void AssetsDialog::assetControlClipboardFee ( )
privateslot

Definition at line 819 of file assetsdialog.cpp.

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

◆ assetControlClipboardLowOutput

void AssetsDialog::assetControlClipboardLowOutput ( )
privateslot

Definition at line 837 of file assetsdialog.cpp.

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

◆ assetControlClipboardQuantity

void AssetsDialog::assetControlClipboardQuantity ( )
privateslot

Definition at line 807 of file assetsdialog.cpp.

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

◆ assetControlFeatureChanged

void AssetsDialog::assetControlFeatureChanged ( bool  checked)
privateslot

Definition at line 849 of file assetsdialog.cpp.

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

◆ assetControlUpdateLabels

void AssetsDialog::assetControlUpdateLabels ( )
privateslot

Definition at line 944 of file assetsdialog.cpp.

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

◆ assetControlUpdateSendCoinsDialog

void AssetsDialog::assetControlUpdateSendCoinsDialog ( )
privateslot

RVN START.

Definition at line 986 of file assetsdialog.cpp.

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

◆ clear

void AssetsDialog::clear ( )
slot

Definition at line 471 of file assetsdialog.cpp.

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

◆ customFeeFeatureChanged

void AssetsDialog::customFeeFeatureChanged ( bool  checked)
privateslot

Definition at line 859 of file assetsdialog.cpp.

Here is the caller graph for this function:

◆ focusAsset

void AssetsDialog::focusAsset ( const QModelIndex &  index)
privateslot

Definition at line 1013 of file assetsdialog.cpp.

Here is the call graph for this function:

◆ focusAssetListBox

void AssetsDialog::focusAssetListBox ( )
slot

Definition at line 1029 of file assetsdialog.cpp.

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

◆ handleFirstSelection()

void AssetsDialog::handleFirstSelection ( )

Definition at line 1043 of file assetsdialog.cpp.

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

◆ handlePaymentRequest()

bool AssetsDialog::handlePaymentRequest ( const SendAssetsRecipient recipient)

Definition at line 619 of file assetsdialog.cpp.

Here is the call graph for this function:

◆ message

void AssetsDialog::message ( const QString &  title,
const QString &  message,
unsigned int  style 
)
signal

RVN END.

Here is the caller graph for this function:

◆ minimizeFeeSection()

void AssetsDialog::minimizeFeeSection ( bool  fMinimize)
private

Definition at line 703 of file assetsdialog.cpp.

Here is the caller graph for this function:

◆ on_buttonChooseFee_clicked

void AssetsDialog::on_buttonChooseFee_clicked ( )
privateslot

Definition at line 713 of file assetsdialog.cpp.

Here is the call graph for this function:

◆ on_buttonMinimizeFee_clicked

void AssetsDialog::on_buttonMinimizeFee_clicked ( )
privateslot

Definition at line 718 of file assetsdialog.cpp.

Here is the call graph for this function:

◆ on_sendButton_clicked

void AssetsDialog::on_sendButton_clicked ( )
privateslot

Definition at line 324 of file assetsdialog.cpp.

Here is the call graph for this function:

◆ pasteEntry()

void AssetsDialog::pasteEntry ( const SendAssetsRecipient rv)

Definition at line 595 of file assetsdialog.cpp.

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

◆ processNewTransaction()

void AssetsDialog::processNewTransaction ( )

Definition at line 1001 of file assetsdialog.cpp.

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

◆ processSendCoinsReturn()

void AssetsDialog::processSendCoinsReturn ( const WalletModel::SendCoinsReturn sendCoinsReturn,
const QString &  msgArg = QString() 
)
private

Definition at line 653 of file assetsdialog.cpp.

Here is the call graph for this function:

◆ reject

void AssetsDialog::reject ( )
slot

Definition at line 483 of file assetsdialog.cpp.

Here is the call graph for this function:

◆ removeEntry

void AssetsDialog::removeEntry ( SendAssetsEntry entry)
privateslot

Definition at line 546 of file assetsdialog.cpp.

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

◆ setAddress()

void AssetsDialog::setAddress ( const QString &  address)

Definition at line 575 of file assetsdialog.cpp.

Here is the call graph for this function:

◆ setBalance

void AssetsDialog::setBalance ( const CAmount balance,
const CAmount unconfirmedBalance,
const CAmount immatureBalance,
const CAmount watchOnlyBalance,
const CAmount watchUnconfBalance,
const CAmount watchImmatureBalance 
)
slot

Definition at line 627 of file assetsdialog.cpp.

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

◆ setClientModel()

void AssetsDialog::setClientModel ( ClientModel clientModel)

Definition at line 128 of file assetsdialog.cpp.

Here is the call graph for this function:

◆ setMinimumFee

void AssetsDialog::setMinimumFee ( )
privateslot

Definition at line 724 of file assetsdialog.cpp.

Here is the call graph for this function:

◆ setModel()

void AssetsDialog::setModel ( WalletModel model)

Definition at line 137 of file assetsdialog.cpp.

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

◆ setupAssetControlFrame()

void AssetsDialog::setupAssetControlFrame ( const PlatformStyle platformStyle)

Update the assetcontrol frame

Create the shadow effects on the frames

Definition at line 222 of file assetsdialog.cpp.

Here is the call graph for this function:

◆ setupFeeControl()

void AssetsDialog::setupFeeControl ( const PlatformStyle platformStyle)

Update the coincontrol frame

Create the shadow effects on the frames

Definition at line 286 of file assetsdialog.cpp.

Here is the call graph for this function:

◆ setupScrollView()

void AssetsDialog::setupScrollView ( const PlatformStyle platformStyle)

Update the scrollview

Definition at line 275 of file assetsdialog.cpp.

Here is the call graph for this function:

◆ setupTabChain()

QWidget * AssetsDialog::setupTabChain ( QWidget *  prev)

Set up the tab chain manually, as Qt messes up the tab chain by default in some cases (issue https://bugreports.qt-project.org/browse/QTBUG-10907).

Definition at line 559 of file assetsdialog.cpp.

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

◆ updateAssetControlState()

void AssetsDialog::updateAssetControlState ( CCoinControl ctrl)
private

Definition at line 762 of file assetsdialog.cpp.

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

◆ updateDisplayUnit

void AssetsDialog::updateDisplayUnit ( )
privateslot

Definition at line 645 of file assetsdialog.cpp.

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

◆ updateFeeMinimizedLabel()

void AssetsDialog::updateFeeMinimizedLabel ( )
private

Definition at line 742 of file assetsdialog.cpp.

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

◆ updateFeeSectionControls

void AssetsDialog::updateFeeSectionControls ( )
privateslot

Definition at line 729 of file assetsdialog.cpp.

◆ updateMinFeeLabel

void AssetsDialog::updateMinFeeLabel ( )
privateslot

Definition at line 754 of file assetsdialog.cpp.

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

◆ updateSmartFeeLabel

void AssetsDialog::updateSmartFeeLabel ( )
privateslot

Definition at line 775 of file assetsdialog.cpp.

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

◆ updateTabsAndLabels

void AssetsDialog::updateTabsAndLabels ( )
slot

Definition at line 540 of file assetsdialog.cpp.

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

Member Data Documentation

◆ clientModel

ClientModel* AssetsDialog::clientModel
private

Definition at line 69 of file assetsdialog.h.

◆ fFeeMinimized

bool AssetsDialog::fFeeMinimized
private

Definition at line 72 of file assetsdialog.h.

◆ fNewRecipientAllowed

bool AssetsDialog::fNewRecipientAllowed
private

Definition at line 71 of file assetsdialog.h.

◆ model

WalletModel* AssetsDialog::model
private

Definition at line 70 of file assetsdialog.h.

◆ platformStyle

const PlatformStyle* AssetsDialog::platformStyle
private

Definition at line 73 of file assetsdialog.h.

◆ ui

Ui::AssetsDialog* AssetsDialog::ui
private

Definition at line 68 of file assetsdialog.h.


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