Raven Core
3.0.0
P2P Digital Currency
|
A single entry in the dialog for sending ravens. More...
#include <sendassetsentry.h>
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 |
WalletModel * | model |
const PlatformStyle * | platformStyle |
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.
|
explicit |
Setup the asset list combobox
Setup the amount box
Definition at line 31 of file sendassetsentry.cpp.
SendAssetsEntry::~SendAssetsEntry | ( | ) |
Definition at line 138 of file sendassetsentry.cpp.
void SendAssetsEntry::CheckOwnerBox | ( | ) |
Definition at line 434 of file sendassetsentry.cpp.
|
slot |
|
privateslot |
bool SendAssetsEntry::eventFilter | ( | QObject * | object, |
QEvent * | event | ||
) |
Definition at line 525 of file sendassetsentry.cpp.
SendAssetsRecipient SendAssetsEntry::getValue | ( | ) |
Definition at line 272 of file sendassetsentry.cpp.
void SendAssetsEntry::IsAssetControl | ( | bool | fIsAssetControl, |
bool | fIsOwner | ||
) |
Definition at line 439 of file sendassetsentry.cpp.
bool SendAssetsEntry::isClear | ( | ) |
Return whether the entry is still empty and unedited.
Definition at line 316 of file sendassetsentry.cpp.
|
privateslot |
|
privateslot |
Definition at line 143 of file sendassetsentry.cpp.
|
privateslot |
|
privateslot |
Definition at line 347 of file sendassetsentry.cpp.
|
privateslot |
Definition at line 429 of file sendassetsentry.cpp.
|
signal |
void SendAssetsEntry::refreshAssetList | ( | ) |
Definition at line 458 of file sendassetsentry.cpp.
|
signal |
void SendAssetsEntry::setAddress | ( | const QString & | address | ) |
void SendAssetsEntry::setCurrentIndex | ( | int | index | ) |
void SendAssetsEntry::setFocus | ( | ) |
void SendAssetsEntry::setFocusAssetListBox | ( | ) |
void SendAssetsEntry::setModel | ( | WalletModel * | model | ) |
Definition at line 167 of file sendassetsentry.cpp.
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.
void SendAssetsEntry::setValue | ( | const SendAssetsRecipient & | value | ) |
Definition at line 299 of file sendassetsentry.cpp.
|
signal |
void SendAssetsEntry::switchAdministratorList | ( | bool | fSwitchStatus = true | ) |
Definition at line 463 of file sendassetsentry.cpp.
|
private |
Definition at line 331 of file sendassetsentry.cpp.
bool SendAssetsEntry::validate | ( | ) |
Definition at line 202 of file sendassetsentry.cpp.
QCompleter* SendAssetsEntry::completer |
Definition at line 65 of file sendassetsentry.h.
bool SendAssetsEntry::fShowAdministratorList |
Definition at line 58 of file sendassetsentry.h.
bool SendAssetsEntry::fUsingAssetControl |
Definition at line 57 of file sendassetsentry.h.
|
private |
Definition at line 89 of file sendassetsentry.h.
|
private |
Definition at line 90 of file sendassetsentry.h.
QSortFilterProxyModel* SendAssetsEntry::proxy |
Definition at line 64 of file sendassetsentry.h.
|
private |
Definition at line 87 of file sendassetsentry.h.
QStringListModel* SendAssetsEntry::stringModel |
Definition at line 63 of file sendassetsentry.h.
|
private |
Definition at line 88 of file sendassetsentry.h.