Bitcoin Core  0.19.99
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, 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 CAmount &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 24 of file sendcoinsentry.h.

Constructor & Destructor Documentation

◆ SendCoinsEntry()

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

Definition at line 21 of file sendcoinsentry.cpp.

Here is the call graph for this function:

◆ ~SendCoinsEntry()

SendCoinsEntry::~SendCoinsEntry ( )

Definition at line 55 of file sendcoinsentry.cpp.

Member Function Documentation

◆ checkSubtractFeeFromAmount

void SendCoinsEntry::checkSubtractFeeFromAmount ( )
slot

Definition at line 117 of file sendcoinsentry.cpp.

Here is the caller graph for this function:

◆ clear

void SendCoinsEntry::clear ( )
slot

Definition at line 94 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 122 of file sendcoinsentry.cpp.

Here is the caller graph for this function:

◆ getValue()

SendCoinsRecipient SendCoinsEntry::getValue ( )

Definition at line 173 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 254 of file sendcoinsentry.cpp.

Here is the caller graph for this function:

◆ on_addressBookButton_clicked

void SendCoinsEntry::on_addressBookButton_clicked ( )
privateslot

Definition at line 66 of file sendcoinsentry.cpp.

Here is the call graph for this function:

◆ on_pasteButton_clicked

void SendCoinsEntry::on_pasteButton_clicked ( )
privateslot

Definition at line 60 of file sendcoinsentry.cpp.

◆ on_payTo_textChanged

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

Definition at line 79 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 243 of file sendcoinsentry.cpp.

Here is the caller graph for this function:

◆ setAmount()

void SendCoinsEntry::setAmount ( const CAmount amount)

Definition at line 249 of file sendcoinsentry.cpp.

Here is the caller graph for this function:

◆ setFocus()

void SendCoinsEntry::setFocus ( )

Definition at line 259 of file sendcoinsentry.cpp.

Here is the caller graph for this function:

◆ setModel()

void SendCoinsEntry::setModel ( WalletModel model)

Definition at line 84 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 191 of file sendcoinsentry.cpp.

Here is the caller graph for this function:

◆ setValue()

void SendCoinsEntry::setValue ( const SendCoinsRecipient value)

Definition at line 203 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 264 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 275 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 127 of file sendcoinsentry.cpp.

Here is the caller graph for this function:

◆ validate()

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

Definition at line 132 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 71 of file sendcoinsentry.h.

◆ platformStyle

const PlatformStyle* SendCoinsEntry::platformStyle
private

Definition at line 72 of file sendcoinsentry.h.

◆ recipient

SendCoinsRecipient SendCoinsEntry::recipient
private

Definition at line 69 of file sendcoinsentry.h.

◆ ui

Ui::SendCoinsEntry* SendCoinsEntry::ui
private

Definition at line 70 of file sendcoinsentry.h.


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