Bitcoin ABC 0.30.3
P2P Digital Currency
Public Slots | Signals | Public Member Functions | Private Slots | Private Member Functions | Private Attributes | List of all members
SendCoinsEntry Class Reference

A single entry in the dialog for sending bitcoins. More...

#include <sendcoinsentry.h>

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

Public Slots

void clear ()
 
void checkSubtractFeeFromAmount ()
 

Signals

void removeEntry (SendCoinsEntry *entry)
 
void useAvailableBalance (SendCoinsEntry *entry)
 
void payAmountChanged ()
 
void subtractFeeFromAmountChanged ()
 

Public Member Functions

 SendCoinsEntry (const PlatformStyle *platformStyle, WalletModel *model, QWidget *parent=nullptr)
 
 ~SendCoinsEntry ()
 
void setModel (WalletModel *model)
 
bool validate (interfaces::Node &node)
 
SendCoinsRecipient getValue ()
 
bool isClear ()
 Return whether the entry is still empty and unedited. More...
 
void setValue (const SendCoinsRecipient &value)
 
void setAddress (const QString &address)
 
void setAmount (const Amount amount)
 
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 setFocus ()
 

Private Slots

void deleteClicked ()
 
void useAvailableBalanceClicked ()
 
void on_payTo_textChanged (const QString &address)
 
void on_addressBookButton_clicked ()
 
void on_pasteButton_clicked ()
 
void updateDisplayUnit ()
 

Private Member Functions

bool updateLabel (const QString &address)
 

Private Attributes

SendCoinsRecipient recipient
 
Ui::SendCoinsEntry * ui
 
WalletModelmodel
 
const PlatformStyleplatformStyle
 

Detailed Description

A single entry in the dialog for sending bitcoins.

Stacked widget, with different UIs for payment requests with a strong payee identity.

Definition at line 28 of file sendcoinsentry.h.

Constructor & Destructor Documentation

◆ SendCoinsEntry()

SendCoinsEntry::SendCoinsEntry ( const PlatformStyle platformStyle,
WalletModel model,
QWidget *  parent = nullptr 
)

Definition at line 23 of file sendcoinsentry.cpp.

Here is the call graph for this function:

◆ ~SendCoinsEntry()

SendCoinsEntry::~SendCoinsEntry ( )

Definition at line 68 of file sendcoinsentry.cpp.

Member Function Documentation

◆ checkSubtractFeeFromAmount

void SendCoinsEntry::checkSubtractFeeFromAmount ( )
slot

Definition at line 136 of file sendcoinsentry.cpp.

Here is the caller graph for this function:

◆ clear

void SendCoinsEntry::clear ( )
slot

Definition at line 114 of file sendcoinsentry.cpp.

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

◆ deleteClicked

void SendCoinsEntry::deleteClicked ( )
privateslot

Definition at line 140 of file sendcoinsentry.cpp.

Here is the caller graph for this function:

◆ getValue()

SendCoinsRecipient SendCoinsEntry::getValue ( )

Definition at line 189 of file sendcoinsentry.cpp.

Here is the caller graph for this function:

◆ isClear()

bool SendCoinsEntry::isClear ( )

Return whether the entry is still empty and unedited.

Definition at line 275 of file sendcoinsentry.cpp.

Here is the caller graph for this function:

◆ on_addressBookButton_clicked

void SendCoinsEntry::on_addressBookButton_clicked ( )
privateslot

Definition at line 77 of file sendcoinsentry.cpp.

Here is the call graph for this function:

◆ on_pasteButton_clicked

void SendCoinsEntry::on_pasteButton_clicked ( )
privateslot

Definition at line 72 of file sendcoinsentry.cpp.

◆ on_payTo_textChanged

void SendCoinsEntry::on_payTo_textChanged ( const QString &  address)
privateslot

Definition at line 90 of file sendcoinsentry.cpp.

Here is the call graph for this function:

◆ payAmountChanged

void SendCoinsEntry::payAmountChanged ( )
signal
Here is the caller graph for this function:

◆ removeEntry

void SendCoinsEntry::removeEntry ( SendCoinsEntry entry)
signal
Here is the caller graph for this function:

◆ setAddress()

void SendCoinsEntry::setAddress ( const QString &  address)

Definition at line 266 of file sendcoinsentry.cpp.

Here is the caller graph for this function:

◆ setAmount()

void SendCoinsEntry::setAmount ( const Amount  amount)

Definition at line 271 of file sendcoinsentry.cpp.

Here is the caller graph for this function:

◆ setFocus()

void SendCoinsEntry::setFocus ( )

Definition at line 280 of file sendcoinsentry.cpp.

Here is the caller graph for this function:

◆ setModel()

void SendCoinsEntry::setModel ( WalletModel model)

Definition at line 94 of file sendcoinsentry.cpp.

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

◆ setupTabChain()

QWidget * SendCoinsEntry::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 208 of file sendcoinsentry.cpp.

Here is the caller graph for this function:

◆ setValue()

void SendCoinsEntry::setValue ( const SendCoinsRecipient value)

Definition at line 220 of file sendcoinsentry.cpp.

Here is the caller graph for this function:

◆ subtractFeeFromAmountChanged

void SendCoinsEntry::subtractFeeFromAmountChanged ( )
signal
Here is the caller graph for this function:

◆ updateDisplayUnit

void SendCoinsEntry::updateDisplayUnit ( )
privateslot

Definition at line 284 of file sendcoinsentry.cpp.

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

◆ updateLabel()

bool SendCoinsEntry::updateLabel ( const QString &  address)
private

Definition at line 296 of file sendcoinsentry.cpp.

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

◆ useAvailableBalance

void SendCoinsEntry::useAvailableBalance ( SendCoinsEntry entry)
signal
Here is the caller graph for this function:

◆ useAvailableBalanceClicked

void SendCoinsEntry::useAvailableBalanceClicked ( )
privateslot

Definition at line 144 of file sendcoinsentry.cpp.

Here is the caller graph for this function:

◆ validate()

bool SendCoinsEntry::validate ( interfaces::Node node)

Definition at line 148 of file sendcoinsentry.cpp.

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

Member Data Documentation

◆ model

WalletModel* SendCoinsEntry::model
private

Definition at line 76 of file sendcoinsentry.h.

◆ platformStyle

const PlatformStyle* SendCoinsEntry::platformStyle
private

Definition at line 77 of file sendcoinsentry.h.

◆ recipient

SendCoinsRecipient SendCoinsEntry::recipient
private

Definition at line 74 of file sendcoinsentry.h.

◆ ui

Ui::SendCoinsEntry* SendCoinsEntry::ui
private

Definition at line 75 of file sendcoinsentry.h.


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