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
SendCoinsDialog Class Reference

Dialog for sending ravens. More...

#include <sendcoinsdialog.h>

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

Public Slots

void clear ()
 
void reject ()
 
void accept ()
 
SendCoinsEntryaddEntry ()
 
void updateTabsAndLabels ()
 
void setBalance (const CAmount &balance, const CAmount &unconfirmedBalance, const CAmount &immatureBalance, 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 (const PlatformStyle *platformStyle, 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)
 
void setupCoinControl (const PlatformStyle *platformStyle)
 
void setupScrollView (const PlatformStyle *platformStyle)
 
void setupFeeControl (const PlatformStyle *platformStyle)
 

Private Slots

void on_sendButton_clicked ()
 
void on_buttonChooseFee_clicked ()
 
void on_buttonMinimizeFee_clicked ()
 
void removeEntry (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 processSendCoinsReturn (const WalletModel::SendCoinsReturn &sendCoinsReturn, const QString &msgArg=QString())
 
void minimizeFeeSection (bool fMinimize)
 
void updateFeeMinimizedLabel ()
 
void updateCoinControlState (CCoinControl &ctrl)
 

Private Attributes

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

Detailed Description

Dialog for sending ravens.

Definition at line 30 of file sendcoinsdialog.h.

Constructor & Destructor Documentation

◆ SendCoinsDialog()

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

Definition at line 37 of file sendcoinsdialog.cpp.

Here is the call graph for this function:

◆ ~SendCoinsDialog()

SendCoinsDialog::~SendCoinsDialog ( )

Definition at line 195 of file sendcoinsdialog.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ accept

void SendCoinsDialog::accept ( )
slot

Definition at line 486 of file sendcoinsdialog.cpp.

Here is the call graph for this function:

◆ addEntry

SendCoinsEntry * SendCoinsDialog::addEntry ( )
slot

Definition at line 491 of file sendcoinsdialog.cpp.

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

◆ clear

void SendCoinsDialog::clear ( )
slot

Definition at line 469 of file sendcoinsdialog.cpp.

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

◆ coinControlButtonClicked

void SendCoinsDialog::coinControlButtonClicked ( )
privateslot

Definition at line 834 of file sendcoinsdialog.cpp.

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

◆ coinControlChangeChecked

void SendCoinsDialog::coinControlChangeChecked ( int  state)
privateslot

Definition at line 843 of file sendcoinsdialog.cpp.

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

◆ coinControlChangeEdited

void SendCoinsDialog::coinControlChangeEdited ( const QString &  text)
privateslot

Definition at line 858 of file sendcoinsdialog.cpp.

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

◆ coinControlClipboardAfterFee

void SendCoinsDialog::coinControlClipboardAfterFee ( )
privateslot

Definition at line 799 of file sendcoinsdialog.cpp.

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

◆ coinControlClipboardAmount

void SendCoinsDialog::coinControlClipboardAmount ( )
privateslot

Definition at line 787 of file sendcoinsdialog.cpp.

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

◆ coinControlClipboardBytes

void SendCoinsDialog::coinControlClipboardBytes ( )
privateslot

Definition at line 805 of file sendcoinsdialog.cpp.

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

◆ coinControlClipboardChange

void SendCoinsDialog::coinControlClipboardChange ( )
privateslot

Definition at line 817 of file sendcoinsdialog.cpp.

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

◆ coinControlClipboardFee

void SendCoinsDialog::coinControlClipboardFee ( )
privateslot

Definition at line 793 of file sendcoinsdialog.cpp.

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

◆ coinControlClipboardLowOutput

void SendCoinsDialog::coinControlClipboardLowOutput ( )
privateslot

Definition at line 811 of file sendcoinsdialog.cpp.

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

◆ coinControlClipboardQuantity

void SendCoinsDialog::coinControlClipboardQuantity ( )
privateslot

Definition at line 781 of file sendcoinsdialog.cpp.

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

◆ coinControlFeatureChanged

void SendCoinsDialog::coinControlFeatureChanged ( bool  checked)
privateslot

Definition at line 823 of file sendcoinsdialog.cpp.

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

◆ coinControlUpdateLabels

void SendCoinsDialog::coinControlUpdateLabels ( )
privateslot

Definition at line 912 of file sendcoinsdialog.cpp.

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

◆ handlePaymentRequest()

bool SendCoinsDialog::handlePaymentRequest ( const SendCoinsRecipient recipient)

Definition at line 592 of file sendcoinsdialog.cpp.

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

◆ message

void SendCoinsDialog::message ( const QString &  title,
const QString &  message,
unsigned int  style 
)
signal
Here is the caller graph for this function:

◆ minimizeFeeSection()

void SendCoinsDialog::minimizeFeeSection ( bool  fMinimize)
private

Definition at line 677 of file sendcoinsdialog.cpp.

Here is the caller graph for this function:

◆ on_buttonChooseFee_clicked

void SendCoinsDialog::on_buttonChooseFee_clicked ( )
privateslot

Definition at line 687 of file sendcoinsdialog.cpp.

Here is the call graph for this function:

◆ on_buttonMinimizeFee_clicked

void SendCoinsDialog::on_buttonMinimizeFee_clicked ( )
privateslot

Definition at line 692 of file sendcoinsdialog.cpp.

Here is the call graph for this function:

◆ on_sendButton_clicked

void SendCoinsDialog::on_sendButton_clicked ( )
privateslot

Definition at line 309 of file sendcoinsdialog.cpp.

Here is the call graph for this function:

◆ pasteEntry()

void SendCoinsDialog::pasteEntry ( const SendCoinsRecipient rv)

Definition at line 568 of file sendcoinsdialog.cpp.

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

◆ processSendCoinsReturn()

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

Definition at line 627 of file sendcoinsdialog.cpp.

Here is the call graph for this function:

◆ reject

void SendCoinsDialog::reject ( )
slot

Definition at line 481 of file sendcoinsdialog.cpp.

Here is the call graph for this function:

◆ removeEntry

void SendCoinsDialog::removeEntry ( SendCoinsEntry entry)
privateslot

Definition at line 519 of file sendcoinsdialog.cpp.

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

◆ setAddress()

void SendCoinsDialog::setAddress ( const QString &  address)

Definition at line 548 of file sendcoinsdialog.cpp.

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

◆ setBalance

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

Definition at line 600 of file sendcoinsdialog.cpp.

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

◆ setClientModel()

void SendCoinsDialog::setClientModel ( ClientModel clientModel)

Definition at line 120 of file sendcoinsdialog.cpp.

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

◆ setMinimumFee

void SendCoinsDialog::setMinimumFee ( )
privateslot

Definition at line 698 of file sendcoinsdialog.cpp.

Here is the call graph for this function:

◆ setModel()

void SendCoinsDialog::setModel ( WalletModel model)

Definition at line 129 of file sendcoinsdialog.cpp.

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

◆ setupCoinControl()

void SendCoinsDialog::setupCoinControl ( const PlatformStyle platformStyle)

Update the coincontrol frame

Create the shadow effects on the frames

Definition at line 207 of file sendcoinsdialog.cpp.

Here is the call graph for this function:

◆ setupFeeControl()

void SendCoinsDialog::setupFeeControl ( const PlatformStyle platformStyle)

Update the coincontrol frame

Create the shadow effects on the frames

Definition at line 271 of file sendcoinsdialog.cpp.

Here is the call graph for this function:

◆ setupScrollView()

void SendCoinsDialog::setupScrollView ( const PlatformStyle platformStyle)

Update the scrollview

Definition at line 260 of file sendcoinsdialog.cpp.

Here is the call graph for this function:

◆ 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 532 of file sendcoinsdialog.cpp.

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

◆ updateCoinControlState()

void SendCoinsDialog::updateCoinControlState ( CCoinControl ctrl)
private

Definition at line 736 of file sendcoinsdialog.cpp.

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

◆ updateDisplayUnit

void SendCoinsDialog::updateDisplayUnit ( )
privateslot

Definition at line 619 of file sendcoinsdialog.cpp.

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

◆ updateFeeMinimizedLabel()

void SendCoinsDialog::updateFeeMinimizedLabel ( )
private

Definition at line 716 of file sendcoinsdialog.cpp.

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

◆ updateFeeSectionControls

void SendCoinsDialog::updateFeeSectionControls ( )
privateslot

Definition at line 703 of file sendcoinsdialog.cpp.

◆ updateMinFeeLabel

void SendCoinsDialog::updateMinFeeLabel ( )
privateslot

Definition at line 728 of file sendcoinsdialog.cpp.

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

◆ updateSmartFeeLabel

void SendCoinsDialog::updateSmartFeeLabel ( )
privateslot

Definition at line 749 of file sendcoinsdialog.cpp.

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

◆ updateTabsAndLabels

void SendCoinsDialog::updateTabsAndLabels ( )
slot

Definition at line 513 of file sendcoinsdialog.cpp.

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

Member Data Documentation

◆ clientModel

ClientModel* SendCoinsDialog::clientModel
private

Definition at line 63 of file sendcoinsdialog.h.

◆ fFeeMinimized

bool SendCoinsDialog::fFeeMinimized
private

Definition at line 66 of file sendcoinsdialog.h.

◆ fNewRecipientAllowed

bool SendCoinsDialog::fNewRecipientAllowed
private

Definition at line 65 of file sendcoinsdialog.h.

◆ model

WalletModel* SendCoinsDialog::model
private

Definition at line 64 of file sendcoinsdialog.h.

◆ platformStyle

const PlatformStyle* SendCoinsDialog::platformStyle
private

Definition at line 67 of file sendcoinsdialog.h.

◆ ui

Ui::SendCoinsDialog* SendCoinsDialog::ui
private

Definition at line 62 of file sendcoinsdialog.h.


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