Bitcoin
Public Slots | Signals | Public Member Functions | Private Slots | Private Member Functions | Private Attributes | List of all members
SendCoinsEntry Class Reference

#include <sendcoinsentry.h>

Inheritance diagram for SendCoinsEntry:

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 ()
 
void setValue (const SendCoinsRecipient &value)
 
void setAddress (const QString &address)
 
void setAmount (const CAmount &amount)
 
QWidget * setupTabChain (QWidget *prev)
 
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::SendCoinsEntryui
 
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.

Constructor & Destructor Documentation

◆ SendCoinsEntry()

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

◆ ~SendCoinsEntry()

SendCoinsEntry::~SendCoinsEntry ( )

Member Function Documentation

◆ checkSubtractFeeFromAmount

void SendCoinsEntry::checkSubtractFeeFromAmount ( )
slot

◆ clear

void SendCoinsEntry::clear ( )
slot

◆ deleteClicked

void SendCoinsEntry::deleteClicked ( )
privateslot

◆ getValue()

SendCoinsRecipient SendCoinsEntry::getValue ( )

◆ isClear()

bool SendCoinsEntry::isClear ( )

Return whether the entry is still empty and unedited

◆ on_addressBookButton_clicked

void SendCoinsEntry::on_addressBookButton_clicked ( )
privateslot

◆ on_pasteButton_clicked

void SendCoinsEntry::on_pasteButton_clicked ( )
privateslot

◆ on_payTo_textChanged

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

◆ payAmountChanged

void SendCoinsEntry::payAmountChanged ( )
signal

◆ removeEntry

void SendCoinsEntry::removeEntry ( SendCoinsEntry entry)
signal

◆ setAddress()

void SendCoinsEntry::setAddress ( const QString &  address)

◆ setAmount()

void SendCoinsEntry::setAmount ( const CAmount amount)

◆ setFocus()

void SendCoinsEntry::setFocus ( )

◆ setModel()

void SendCoinsEntry::setModel ( WalletModel model)

◆ 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).

◆ setValue()

void SendCoinsEntry::setValue ( const SendCoinsRecipient value)

◆ subtractFeeFromAmountChanged

void SendCoinsEntry::subtractFeeFromAmountChanged ( )
signal

◆ updateDisplayUnit

void SendCoinsEntry::updateDisplayUnit ( )
privateslot

◆ updateLabel()

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

◆ useAvailableBalance

void SendCoinsEntry::useAvailableBalance ( SendCoinsEntry entry)
signal

◆ useAvailableBalanceClicked

void SendCoinsEntry::useAvailableBalanceClicked ( )
privateslot

◆ validate()

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

Member Data Documentation

◆ model

WalletModel* SendCoinsEntry::model
private

◆ platformStyle

const PlatformStyle* SendCoinsEntry::platformStyle
private

◆ recipient

SendCoinsRecipient SendCoinsEntry::recipient
private

◆ ui

Ui::SendCoinsEntry* SendCoinsEntry::ui
private

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