Bitcoin Core 31.0.0
P2P Digital Currency
Loading...
Searching...
No Matches
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.
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).
void setFocus ()

Protected Member Functions

void changeEvent (QEvent *e) override

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 {nullptr}
const PlatformStyleplatformStyle

Detailed Description

A single entry in the dialog for sending bitcoins.

Definition at line 26 of file sendcoinsentry.h.

Constructor & Destructor Documentation

◆ SendCoinsEntry()

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

Definition at line 18 of file sendcoinsentry.cpp.

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

◆ ~SendCoinsEntry()

SendCoinsEntry::~SendCoinsEntry ( )

Definition at line 41 of file sendcoinsentry.cpp.

Member Function Documentation

◆ changeEvent()

void SendCoinsEntry::changeEvent ( QEvent * e)
overrideprotected

Definition at line 215 of file sendcoinsentry.cpp.

◆ checkSubtractFeeFromAmount

void SendCoinsEntry::checkSubtractFeeFromAmount ( )
slot

Definition at line 97 of file sendcoinsentry.cpp.

Here is the caller graph for this function:

◆ clear

void SendCoinsEntry::clear ( )
slot

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

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

◆ getValue()

SendCoinsRecipient SendCoinsEntry::getValue ( )

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

Here is the caller graph for this function:

◆ on_addressBookButton_clicked

void SendCoinsEntry::on_addressBookButton_clicked ( )
privateslot

Definition at line 52 of file sendcoinsentry.cpp.

Here is the call graph for this function:

◆ on_pasteButton_clicked

void SendCoinsEntry::on_pasteButton_clicked ( )
privateslot

Definition at line 46 of file sendcoinsentry.cpp.

◆ on_payTo_textChanged

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

Definition at line 65 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 call graph for this function:
Here is the caller graph for this function:

◆ setAddress()

void SendCoinsEntry::setAddress ( const QString & address)

Definition at line 187 of file sendcoinsentry.cpp.

Here is the caller graph for this function:

◆ setAmount()

void SendCoinsEntry::setAmount ( const CAmount & amount)

Definition at line 193 of file sendcoinsentry.cpp.

Here is the caller graph for this function:

◆ setFocus()

void SendCoinsEntry::setFocus ( )

Definition at line 203 of file sendcoinsentry.cpp.

Here is the caller graph for this function:

◆ setModel()

void SendCoinsEntry::setModel ( WalletModel * model)

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

Here is the caller graph for this function:

◆ setValue()

void SendCoinsEntry::setValue ( const SendCoinsRecipient & value)

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

Here is the caller graph for this function:

◆ updateLabel()

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

Definition at line 226 of file sendcoinsentry.cpp.

Here is the caller graph for this function:

◆ useAvailableBalance

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

◆ useAvailableBalanceClicked

void SendCoinsEntry::useAvailableBalanceClicked ( )
privateslot

Definition at line 107 of file sendcoinsentry.cpp.

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

◆ validate()

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

Definition at line 112 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 {nullptr}
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: