Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

Dialog for sending bitcoins. More...

#include <sendcoinsdialog.h>

+ Inheritance diagram for SendCoinsDialog:
+ Collaboration diagram for SendCoinsDialog:

Public Slots

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

Signals

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

Public Member Functions

 SendCoinsDialog (bool fPrivateSend=false, QWidget *parent=0)
 
 ~SendCoinsDialog ()
 
void setClientModel (ClientModel *clientModel)
 
void setModel (WalletModel *model)
 
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 SendCoinsRecipient &rv)
 
bool handlePaymentRequest (const SendCoinsRecipient &recipient)
 

Private Slots

void on_sendButton_clicked ()
 
void on_buttonChooseFee_clicked ()
 
void on_buttonMinimizeFee_clicked ()
 
void removeEntry (SendCoinsEntry *entry)
 
void useAvailableBalance (SendCoinsEntry *entry)
 
void updateDisplayUnit ()
 
void coinControlFeatureChanged (bool)
 
void coinControlButtonClicked ()
 
void coinControlChangeChecked (int)
 
void coinControlChangeEdited (const QString &)
 
void coinControlUpdateLabels ()
 
void coinControlClipboardQuantity ()
 
void coinControlClipboardAmount ()
 
void coinControlClipboardFee ()
 
void coinControlClipboardAfterFee ()
 
void coinControlClipboardBytes ()
 
void coinControlClipboardLowOutput ()
 
void coinControlClipboardChange ()
 
void setMinimumFee ()
 
void updateFeeSectionControls ()
 
void updateMinFeeLabel ()
 
void updateSmartFeeLabel ()
 

Private Member Functions

void send (QList< SendCoinsRecipient > recipients)
 
void processSendCoinsReturn (const WalletModel::SendCoinsReturn &sendCoinsReturn, const QString &msgArg=QString())
 
void minimizeFeeSection (bool fMinimize)
 
void updateFeeMinimizedLabel ()
 
void updateCoinControlState (CCoinControl &ctrl)
 
void showEvent (QShowEvent *event)
 

Private Attributes

Ui::SendCoinsDialog * ui
 
ClientModelclientModel
 
WalletModelmodel
 
bool fNewRecipientAllowed
 
bool fFeeMinimized
 
bool fPrivateSend
 

Detailed Description

Dialog for sending bitcoins.

Definition at line 31 of file sendcoinsdialog.h.

Constructor & Destructor Documentation

◆ SendCoinsDialog()

◆ ~SendCoinsDialog()

SendCoinsDialog::~SendCoinsDialog ( )

Definition at line 239 of file sendcoinsdialog.cpp.

References fFeeMinimized, getConfTargetForIndex(), and ui.

Member Function Documentation

◆ accept

void SendCoinsDialog::accept ( )
slot

Definition at line 500 of file sendcoinsdialog.cpp.

References clear().

Referenced by send().

◆ addEntry

◆ clear

void SendCoinsDialog::clear ( )
slot

◆ coinControlButtonClicked

void SendCoinsDialog::coinControlButtonClicked ( )
privateslot

Definition at line 889 of file sendcoinsdialog.cpp.

References coinControlUpdateLabels(), model, and CoinControlDialog::setModel().

Referenced by SendCoinsDialog().

◆ coinControlChangeChecked

void SendCoinsDialog::coinControlChangeChecked ( int  state)
privateslot

◆ coinControlChangeEdited

◆ coinControlClipboardAfterFee

void SendCoinsDialog::coinControlClipboardAfterFee ( )
privateslot

Definition at line 854 of file sendcoinsdialog.cpp.

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

Referenced by SendCoinsDialog().

◆ coinControlClipboardAmount

void SendCoinsDialog::coinControlClipboardAmount ( )
privateslot

Definition at line 842 of file sendcoinsdialog.cpp.

References GUIUtil::setClipboard(), and ui.

Referenced by SendCoinsDialog().

◆ coinControlClipboardBytes

void SendCoinsDialog::coinControlClipboardBytes ( )
privateslot

Definition at line 860 of file sendcoinsdialog.cpp.

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

Referenced by SendCoinsDialog().

◆ coinControlClipboardChange

void SendCoinsDialog::coinControlClipboardChange ( )
privateslot

Definition at line 872 of file sendcoinsdialog.cpp.

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

Referenced by SendCoinsDialog().

◆ coinControlClipboardFee

void SendCoinsDialog::coinControlClipboardFee ( )
privateslot

Definition at line 848 of file sendcoinsdialog.cpp.

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

Referenced by SendCoinsDialog().

◆ coinControlClipboardLowOutput

void SendCoinsDialog::coinControlClipboardLowOutput ( )
privateslot

Definition at line 866 of file sendcoinsdialog.cpp.

References GUIUtil::setClipboard(), and ui.

Referenced by SendCoinsDialog().

◆ coinControlClipboardQuantity

void SendCoinsDialog::coinControlClipboardQuantity ( )
privateslot

Definition at line 836 of file sendcoinsdialog.cpp.

References GUIUtil::setClipboard(), and ui.

Referenced by SendCoinsDialog().

◆ coinControlFeatureChanged

void SendCoinsDialog::coinControlFeatureChanged ( bool  checked)
privateslot

◆ coinControlUpdateLabels

◆ handlePaymentRequest()

bool SendCoinsDialog::handlePaymentRequest ( const SendCoinsRecipient recipient)

Definition at line 607 of file sendcoinsdialog.cpp.

References pasteEntry().

Referenced by WalletView::handlePaymentRequest().

◆ message

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

Referenced by processSendCoinsReturn().

◆ minimizeFeeSection()

void SendCoinsDialog::minimizeFeeSection ( bool  fMinimize)
private

◆ on_buttonChooseFee_clicked

void SendCoinsDialog::on_buttonChooseFee_clicked ( )
privateslot

Definition at line 708 of file sendcoinsdialog.cpp.

References minimizeFeeSection().

◆ on_buttonMinimizeFee_clicked

void SendCoinsDialog::on_buttonMinimizeFee_clicked ( )
privateslot

Definition at line 713 of file sendcoinsdialog.cpp.

References minimizeFeeSection(), and updateFeeMinimizedLabel().

◆ on_sendButton_clicked

◆ pasteEntry()

void SendCoinsDialog::pasteEntry ( const SendCoinsRecipient rv)

◆ processSendCoinsReturn()

◆ reject

void SendCoinsDialog::reject ( )
slot

Definition at line 495 of file sendcoinsdialog.cpp.

References clear().

◆ removeEntry

void SendCoinsDialog::removeEntry ( SendCoinsEntry entry)
privateslot

Definition at line 534 of file sendcoinsdialog.cpp.

References addEntry(), ui, and updateTabsAndLabels().

Referenced by addEntry().

◆ send()

◆ setAddress()

void SendCoinsDialog::setAddress ( const QString &  address)

◆ setBalance

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

◆ setClientModel()

void SendCoinsDialog::setClientModel ( ClientModel clientModel)

Definition at line 170 of file sendcoinsdialog.cpp.

References clientModel, and updateSmartFeeLabel().

Referenced by WalletView::setClientModel().

◆ setMinimumFee

void SendCoinsDialog::setMinimumFee ( )
privateslot

Definition at line 750 of file sendcoinsdialog.cpp.

References GetRequiredFee(), and ui.

Referenced by setModel().

◆ setModel()

◆ setupTabChain()

QWidget * SendCoinsDialog::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 547 of file sendcoinsdialog.cpp.

References SendCoinsEntry::setupTabChain(), and ui.

Referenced by updateTabsAndLabels().

◆ showEvent()

void SendCoinsDialog::showEvent ( QShowEvent *  event)
private

Definition at line 800 of file sendcoinsdialog.cpp.

References fPrivateSend, and CoinControlDialog::usePrivateSend().

◆ updateCoinControlState()

void SendCoinsDialog::updateCoinControlState ( CCoinControl ctrl)
private

◆ updateDisplayUnit

◆ updateFeeMinimizedLabel()

void SendCoinsDialog::updateFeeMinimizedLabel ( )
private

◆ updateFeeSectionControls

void SendCoinsDialog::updateFeeSectionControls ( )
privateslot

Definition at line 755 of file sendcoinsdialog.cpp.

References ui.

Referenced by setModel().

◆ updateMinFeeLabel

void SendCoinsDialog::updateMinFeeLabel ( )
privateslot

◆ updateSmartFeeLabel

◆ updateTabsAndLabels

void SendCoinsDialog::updateTabsAndLabels ( )
slot

Definition at line 528 of file sendcoinsdialog.cpp.

References coinControlUpdateLabels(), and setupTabChain().

Referenced by addEntry(), clear(), pasteEntry(), and removeEntry().

◆ useAvailableBalance

Member Data Documentation

◆ clientModel

ClientModel* SendCoinsDialog::clientModel
private

Definition at line 61 of file sendcoinsdialog.h.

Referenced by setClientModel().

◆ fFeeMinimized

bool SendCoinsDialog::fFeeMinimized
private

Definition at line 65 of file sendcoinsdialog.h.

Referenced by minimizeFeeSection(), and ~SendCoinsDialog().

◆ fNewRecipientAllowed

bool SendCoinsDialog::fNewRecipientAllowed
private

Definition at line 63 of file sendcoinsdialog.h.

Referenced by on_sendButton_clicked(), pasteEntry(), and send().

◆ fPrivateSend

bool SendCoinsDialog::fPrivateSend
private

Definition at line 66 of file sendcoinsdialog.h.

Referenced by send(), SendCoinsDialog(), setBalance(), showEvent(), and useAvailableBalance().

◆ model

◆ ui


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