PRCYCoin  2.0.0.7rc1
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 ()
 

Signals

void removeEntry (SendCoinsEntry *entry)
 
void payAmountChanged ()
 
void validateAmount (const QString &textAmount)
 

Public Member Functions

 SendCoinsEntry (QWidget *parent=0)
 
 ~SendCoinsEntry ()
 
void setModel (WalletModel *model)
 
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 errorAddress (bool valid)
 
void errorAmount (bool valid)
 
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 on_payTo_textChanged (const QString &address)
 
void on_addressBookButton_clicked ()
 
void on_clearAllButton_clicked ()
 
void on_useAllSpendableButton_clicked ()
 
void updateDisplayUnit ()
 

Private Member Functions

bool updateLabel (const QString &address)
 
CAmount getValidatedAmount ()
 

Private Attributes

SendCoinsRecipient recipient
 
Ui::SendCoinsEntry * ui
 
WalletModelmodel
 

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 25 of file sendcoinsentry.h.

Constructor & Destructor Documentation

◆ SendCoinsEntry()

SendCoinsEntry::SendCoinsEntry ( QWidget *  parent = 0)
explicit
Todo:
-NOTE: Hide address book button

Definition at line 22 of file sendcoinsentry.cpp.

Here is the call graph for this function:

◆ ~SendCoinsEntry()

SendCoinsEntry::~SendCoinsEntry ( )

Definition at line 56 of file sendcoinsentry.cpp.

Member Function Documentation

◆ clear

void SendCoinsEntry::clear ( )
slot

Definition at line 103 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:

◆ errorAddress()

void SendCoinsEntry::errorAddress ( bool  valid)

Definition at line 216 of file sendcoinsentry.cpp.

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

◆ errorAmount()

void SendCoinsEntry::errorAmount ( bool  valid)

Definition at line 222 of file sendcoinsentry.cpp.

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

◆ getValidatedAmount()

CAmount SendCoinsEntry::getValidatedAmount ( )
private

Definition at line 132 of file sendcoinsentry.cpp.

Here is the caller graph for this function:

◆ getValue()

SendCoinsRecipient SendCoinsEntry::getValue ( )

Definition at line 146 of file sendcoinsentry.cpp.

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

◆ isClear()

bool SendCoinsEntry::isClear ( )

Return whether the entry is still empty and unedited.

Definition at line 182 of file sendcoinsentry.cpp.

◆ on_addressBookButton_clicked

void SendCoinsEntry::on_addressBookButton_clicked ( )
privateslot

Definition at line 67 of file sendcoinsentry.cpp.

Here is the call graph for this function:

◆ on_clearAllButton_clicked

void SendCoinsEntry::on_clearAllButton_clicked ( )
privateslot

Definition at line 79 of file sendcoinsentry.cpp.

Here is the call graph for this function:

◆ on_payTo_textChanged

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

Definition at line 88 of file sendcoinsentry.cpp.

Here is the call graph for this function:

◆ on_useAllSpendableButton_clicked

void SendCoinsEntry::on_useAllSpendableButton_clicked ( )
privateslot

Definition at line 228 of file sendcoinsentry.cpp.

Here is the call graph for this function:

◆ payAmountChanged

void SendCoinsEntry::payAmountChanged ( )
signal

◆ 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 176 of file sendcoinsentry.cpp.

◆ setFocus()

void SendCoinsEntry::setFocus ( )

Definition at line 187 of file sendcoinsentry.cpp.

◆ setModel()

void SendCoinsEntry::setModel ( WalletModel model)

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

◆ setValue()

void SendCoinsEntry::setValue ( const SendCoinsRecipient value)

Definition at line 163 of file sendcoinsentry.cpp.

◆ updateDisplayUnit

void SendCoinsEntry::updateDisplayUnit ( )
privateslot

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

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

◆ validateAmount

void SendCoinsEntry::validateAmount ( const QString &  textAmount)
signal

Member Data Documentation

◆ model

WalletModel* SendCoinsEntry::model
private

Definition at line 71 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: