Raven Core  3.0.0
P2P Digital Currency
Public Slots | Signals | Public Member Functions | Public Attributes | Private Slots | Private Member Functions | Private Attributes | List of all members
SendAssetsEntry Class Reference

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

#include <sendassetsentry.h>

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

Public Slots

void clear ()
 

Signals

void removeEntry (SendAssetsEntry *entry)
 
void payAmountChanged ()
 
void subtractFeeFromAmountChanged ()
 

Public Member Functions

 SendAssetsEntry (const PlatformStyle *platformStyle, const QStringList myAssetsNames, QWidget *parent=0)
 
 ~SendAssetsEntry ()
 
void setModel (WalletModel *model)
 
bool validate ()
 
SendAssetsRecipient getValue ()
 
bool isClear ()
 Return whether the entry is still empty and unedited. More...
 
void setValue (const SendAssetsRecipient &value)
 
void setAddress (const QString &address)
 
void CheckOwnerBox ()
 
void IsAssetControl (bool fIsAssetControl, bool fIsOwner)
 
void setCurrentIndex (int index)
 
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 ()
 
void setFocusAssetListBox ()
 
void refreshAssetList ()
 
void switchAdministratorList (bool fSwitchStatus=true)
 
bool eventFilter (QObject *object, QEvent *event)
 

Public Attributes

bool fUsingAssetControl
 
bool fShowAdministratorList
 
QStringListModel * stringModel
 
QSortFilterProxyModel * proxy
 
QCompleter * completer
 

Private Slots

void deleteClicked ()
 
void on_payTo_textChanged (const QString &address)
 
void on_addressBookButton_clicked ()
 
void on_pasteButton_clicked ()
 
void onAssetSelected (int index)
 
void onSendOwnershipChanged ()
 

Private Member Functions

bool updateLabel (const QString &address)
 

Private Attributes

SendAssetsRecipient recipient
 
Ui::SendAssetsEntry * ui
 
WalletModelmodel
 
const PlatformStyleplatformStyle
 

Detailed Description

A single entry in the dialog for sending ravens.

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

Definition at line 28 of file sendassetsentry.h.

Constructor & Destructor Documentation

◆ SendAssetsEntry()

SendAssetsEntry::SendAssetsEntry ( const PlatformStyle platformStyle,
const QStringList  myAssetsNames,
QWidget *  parent = 0 
)
explicit

Setup the asset list combobox

Setup the amount box

Definition at line 31 of file sendassetsentry.cpp.

Here is the call graph for this function:

◆ ~SendAssetsEntry()

SendAssetsEntry::~SendAssetsEntry ( )

Definition at line 138 of file sendassetsentry.cpp.

Member Function Documentation

◆ CheckOwnerBox()

void SendAssetsEntry::CheckOwnerBox ( )

Definition at line 434 of file sendassetsentry.cpp.

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

◆ clear

void SendAssetsEntry::clear ( )
slot

Definition at line 177 of file sendassetsentry.cpp.

Here is the caller graph for this function:

◆ deleteClicked

void SendAssetsEntry::deleteClicked ( )
privateslot

Definition at line 197 of file sendassetsentry.cpp.

Here is the caller graph for this function:

◆ eventFilter()

bool SendAssetsEntry::eventFilter ( QObject *  object,
QEvent *  event 
)

Definition at line 525 of file sendassetsentry.cpp.

◆ getValue()

SendAssetsRecipient SendAssetsEntry::getValue ( )

Definition at line 272 of file sendassetsentry.cpp.

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

◆ IsAssetControl()

void SendAssetsEntry::IsAssetControl ( bool  fIsAssetControl,
bool  fIsOwner 
)

Definition at line 439 of file sendassetsentry.cpp.

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

◆ isClear()

bool SendAssetsEntry::isClear ( )

Return whether the entry is still empty and unedited.

Definition at line 316 of file sendassetsentry.cpp.

Here is the caller graph for this function:

◆ on_addressBookButton_clicked

void SendAssetsEntry::on_addressBookButton_clicked ( )
privateslot

Definition at line 149 of file sendassetsentry.cpp.

Here is the call graph for this function:

◆ on_pasteButton_clicked

void SendAssetsEntry::on_pasteButton_clicked ( )
privateslot

Definition at line 143 of file sendassetsentry.cpp.

◆ on_payTo_textChanged

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

Definition at line 162 of file sendassetsentry.cpp.

Here is the call graph for this function:

◆ onAssetSelected

void SendAssetsEntry::onAssetSelected ( int  index)
privateslot

Definition at line 347 of file sendassetsentry.cpp.

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

◆ onSendOwnershipChanged

void SendAssetsEntry::onSendOwnershipChanged ( )
privateslot

Definition at line 429 of file sendassetsentry.cpp.

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

◆ payAmountChanged

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

◆ refreshAssetList()

void SendAssetsEntry::refreshAssetList ( )

Definition at line 458 of file sendassetsentry.cpp.

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

◆ removeEntry

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

◆ setAddress()

void SendAssetsEntry::setAddress ( const QString &  address)

Definition at line 310 of file sendassetsentry.cpp.

Here is the caller graph for this function:

◆ setCurrentIndex()

void SendAssetsEntry::setCurrentIndex ( int  index)

Definition at line 450 of file sendassetsentry.cpp.

Here is the caller graph for this function:

◆ setFocus()

void SendAssetsEntry::setFocus ( )

Definition at line 321 of file sendassetsentry.cpp.

Here is the caller graph for this function:

◆ setFocusAssetListBox()

void SendAssetsEntry::setFocusAssetListBox ( )

Definition at line 326 of file sendassetsentry.cpp.

Here is the caller graph for this function:

◆ setModel()

void SendAssetsEntry::setModel ( WalletModel model)

Definition at line 167 of file sendassetsentry.cpp.

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

◆ setupTabChain()

QWidget * SendAssetsEntry::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 288 of file sendassetsentry.cpp.

Here is the caller graph for this function:

◆ setValue()

void SendAssetsEntry::setValue ( const SendAssetsRecipient value)

Definition at line 299 of file sendassetsentry.cpp.

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

◆ subtractFeeFromAmountChanged

void SendAssetsEntry::subtractFeeFromAmountChanged ( )
signal

◆ switchAdministratorList()

void SendAssetsEntry::switchAdministratorList ( bool  fSwitchStatus = true)

Definition at line 463 of file sendassetsentry.cpp.

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

◆ updateLabel()

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

Definition at line 331 of file sendassetsentry.cpp.

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

◆ validate()

bool SendAssetsEntry::validate ( )

Definition at line 202 of file sendassetsentry.cpp.

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

Member Data Documentation

◆ completer

QCompleter* SendAssetsEntry::completer

Definition at line 65 of file sendassetsentry.h.

◆ fShowAdministratorList

bool SendAssetsEntry::fShowAdministratorList

Definition at line 58 of file sendassetsentry.h.

◆ fUsingAssetControl

bool SendAssetsEntry::fUsingAssetControl

Definition at line 57 of file sendassetsentry.h.

◆ model

WalletModel* SendAssetsEntry::model
private

Definition at line 89 of file sendassetsentry.h.

◆ platformStyle

const PlatformStyle* SendAssetsEntry::platformStyle
private

Definition at line 90 of file sendassetsentry.h.

◆ proxy

QSortFilterProxyModel* SendAssetsEntry::proxy

Definition at line 64 of file sendassetsentry.h.

◆ recipient

SendAssetsRecipient SendAssetsEntry::recipient
private

Definition at line 87 of file sendassetsentry.h.

◆ stringModel

QStringListModel* SendAssetsEntry::stringModel

Definition at line 63 of file sendassetsentry.h.

◆ ui

Ui::SendAssetsEntry* SendAssetsEntry::ui
private

Definition at line 88 of file sendassetsentry.h.


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