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

Dialog showing transaction details. More...

#include <createassetdialog.h>

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

Signals

void message (const QString &title, const QString &message, unsigned int style)
 

Public Member Functions

 CreateAssetDialog (const PlatformStyle *platformStyle, QWidget *parent=0)
 
 ~CreateAssetDialog ()
 
void setClientModel (ClientModel *clientModel)
 
void setModel (WalletModel *model)
 
void setupCoinControlFrame (const PlatformStyle *platformStyle)
 
void setupAssetDataView (const PlatformStyle *platformStyle)
 
void setupFeeControl (const PlatformStyle *platformStyle)
 
void updateAssetList ()
 
void clear ()
 
void selectTypeName (int type, QString name)
 

Public Attributes

int type
 
QString format
 
QStringListModel * stringModel
 
QSortFilterProxyModel * proxy
 
QCompleter * completer
 

Protected Member Functions

bool eventFilter (QObject *sender, QEvent *event)
 

Private Slots

void ipfsStateChanged ()
 SLOTS. More...
 
void checkAvailabilityClicked ()
 
void onNameChanged (QString name)
 
void onAddressNameChanged (QString address)
 
void onIPFSHashChanged (QString hash)
 
void onCreateAssetClicked ()
 
void onUnitChanged (int value)
 
void onChangeAddressChanged (QString changeAddress)
 
void onAssetTypeActivated (int index)
 
void onAssetListActivated (int index)
 
void onClearButtonClicked ()
 
void coinControlFeatureChanged (bool)
 
void coinControlButtonClicked ()
 
void coinControlChangeChecked (int)
 
void coinControlChangeEdited (const QString &)
 
void coinControlClipboardQuantity ()
 
void coinControlClipboardAmount ()
 
void coinControlClipboardFee ()
 
void coinControlClipboardAfterFee ()
 
void coinControlClipboardBytes ()
 
void coinControlClipboardLowOutput ()
 
void coinControlClipboardChange ()
 
void coinControlUpdateLabels ()
 
void on_buttonChooseFee_clicked ()
 
void on_buttonMinimizeFee_clicked ()
 
void setMinimumFee ()
 
void updateFeeSectionControls ()
 
void updateMinFeeLabel ()
 
void updateSmartFeeLabel ()
 
void feeControlFeatureChanged (bool)
 
void setBalance (const CAmount &balance, const CAmount &unconfirmedBalance, const CAmount &immatureBalance, const CAmount &watchOnlyBalance, const CAmount &watchUnconfBalance, const CAmount &watchImmatureBalance)
 
void updateDisplayUnit ()
 
void focusSubAsset (const QModelIndex &index)
 
void focusUniqueAsset (const QModelIndex &index)
 

Private Member Functions

void toggleIPFSText ()
 
void setUpValues ()
 Helper Methods. More...
 
void showMessage (QString string)
 
void showValidMessage (QString string)
 
void hideMessage ()
 
void disableCreateButton ()
 
void enableCreateButton ()
 
void CheckFormState ()
 
void updatePresentedAssetName (QString name)
 
QString GetSpecialCharacter ()
 
QString GetAssetName ()
 
void UpdateAssetNameMaxSize ()
 
void UpdateAssetNameToUpper ()
 
void setUniqueSelected ()
 
void clearSelected ()
 
void updateCoinControlState (CCoinControl &ctrl)
 
void updateFeeMinimizedLabel ()
 
void minimizeFeeSection (bool fMinimize)
 
bool checkIPFSHash (QString hash)
 

Private Attributes

Ui::CreateAssetDialog * ui
 
ClientModelclientModel
 
WalletModelmodel
 
bool fFeeMinimized
 
const PlatformStyleplatformStyle
 
bool checkedAvailablity = false
 

Detailed Description

Dialog showing transaction details.

Definition at line 29 of file createassetdialog.h.

Constructor & Destructor Documentation

◆ CreateAssetDialog()

CreateAssetDialog::CreateAssetDialog ( const PlatformStyle platformStyle,
QWidget *  parent = 0 
)
explicit

Setup the asset list combobox

Definition at line 42 of file createassetdialog.cpp.

Here is the call graph for this function:

◆ ~CreateAssetDialog()

CreateAssetDialog::~CreateAssetDialog ( )

Definition at line 217 of file createassetdialog.cpp.

Member Function Documentation

◆ checkAvailabilityClicked

void CreateAssetDialog::checkAvailabilityClicked ( )
privateslot

Definition at line 533 of file createassetdialog.cpp.

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

◆ CheckFormState()

void CreateAssetDialog::CheckFormState ( )
private

Definition at line 479 of file createassetdialog.cpp.

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

◆ checkIPFSHash()

bool CreateAssetDialog::checkIPFSHash ( QString  hash)
private

Definition at line 450 of file createassetdialog.cpp.

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

◆ clear()

void CreateAssetDialog::clear ( )

Definition at line 1208 of file createassetdialog.cpp.

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

◆ clearSelected()

void CreateAssetDialog::clearSelected ( )
private

Definition at line 1183 of file createassetdialog.cpp.

Here is the caller graph for this function:

◆ coinControlButtonClicked

void CreateAssetDialog::coinControlButtonClicked ( )
privateslot

Definition at line 1005 of file createassetdialog.cpp.

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

◆ coinControlChangeChecked

void CreateAssetDialog::coinControlChangeChecked ( int  state)
privateslot

Definition at line 1014 of file createassetdialog.cpp.

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

◆ coinControlChangeEdited

void CreateAssetDialog::coinControlChangeEdited ( const QString &  text)
privateslot

Definition at line 1029 of file createassetdialog.cpp.

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

◆ coinControlClipboardAfterFee

void CreateAssetDialog::coinControlClipboardAfterFee ( )
privateslot

Definition at line 962 of file createassetdialog.cpp.

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

◆ coinControlClipboardAmount

void CreateAssetDialog::coinControlClipboardAmount ( )
privateslot

Definition at line 950 of file createassetdialog.cpp.

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

◆ coinControlClipboardBytes

void CreateAssetDialog::coinControlClipboardBytes ( )
privateslot

Definition at line 968 of file createassetdialog.cpp.

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

◆ coinControlClipboardChange

void CreateAssetDialog::coinControlClipboardChange ( )
privateslot

Definition at line 980 of file createassetdialog.cpp.

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

◆ coinControlClipboardFee

void CreateAssetDialog::coinControlClipboardFee ( )
privateslot

Definition at line 956 of file createassetdialog.cpp.

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

◆ coinControlClipboardLowOutput

void CreateAssetDialog::coinControlClipboardLowOutput ( )
privateslot

Definition at line 974 of file createassetdialog.cpp.

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

◆ coinControlClipboardQuantity

void CreateAssetDialog::coinControlClipboardQuantity ( )
privateslot

Definition at line 944 of file createassetdialog.cpp.

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

◆ coinControlFeatureChanged

void CreateAssetDialog::coinControlFeatureChanged ( bool  checked)
privateslot

Definition at line 986 of file createassetdialog.cpp.

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

◆ coinControlUpdateLabels

void CreateAssetDialog::coinControlUpdateLabels ( )
privateslot

Definition at line 1083 of file createassetdialog.cpp.

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

◆ disableCreateButton()

void CreateAssetDialog::disableCreateButton ( )
private

Definition at line 439 of file createassetdialog.cpp.

Here is the caller graph for this function:

◆ enableCreateButton()

void CreateAssetDialog::enableCreateButton ( )
private

Definition at line 444 of file createassetdialog.cpp.

Here is the caller graph for this function:

◆ eventFilter()

bool CreateAssetDialog::eventFilter ( QObject *  sender,
QEvent *  event 
)
protected

Definition at line 222 of file createassetdialog.cpp.

◆ feeControlFeatureChanged

void CreateAssetDialog::feeControlFeatureChanged ( bool  checked)
privateslot

Definition at line 999 of file createassetdialog.cpp.

Here is the caller graph for this function:

◆ focusSubAsset

void CreateAssetDialog::focusSubAsset ( const QModelIndex &  index)
privateslot

Definition at line 1233 of file createassetdialog.cpp.

Here is the call graph for this function:

◆ focusUniqueAsset

void CreateAssetDialog::focusUniqueAsset ( const QModelIndex &  index)
privateslot

Definition at line 1238 of file createassetdialog.cpp.

Here is the call graph for this function:

◆ GetAssetName()

QString CreateAssetDialog::GetAssetName ( )
private

Definition at line 872 of file createassetdialog.cpp.

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

◆ GetSpecialCharacter()

QString CreateAssetDialog::GetSpecialCharacter ( )
private

Definition at line 862 of file createassetdialog.cpp.

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

◆ hideMessage()

void CreateAssetDialog::hideMessage ( )
private

Definition at line 429 of file createassetdialog.cpp.

Here is the caller graph for this function:

◆ ipfsStateChanged

void CreateAssetDialog::ipfsStateChanged ( )
privateslot

SLOTS.

Definition at line 528 of file createassetdialog.cpp.

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

◆ message

void CreateAssetDialog::message ( const QString &  title,
const QString &  message,
unsigned int  style 
)
signal

◆ minimizeFeeSection()

void CreateAssetDialog::minimizeFeeSection ( bool  fMinimize)
private

Definition at line 1114 of file createassetdialog.cpp.

Here is the caller graph for this function:

◆ on_buttonChooseFee_clicked

void CreateAssetDialog::on_buttonChooseFee_clicked ( )
privateslot

Definition at line 1124 of file createassetdialog.cpp.

Here is the call graph for this function:

◆ on_buttonMinimizeFee_clicked

void CreateAssetDialog::on_buttonMinimizeFee_clicked ( )
privateslot

Definition at line 1129 of file createassetdialog.cpp.

Here is the call graph for this function:

◆ onAddressNameChanged

void CreateAssetDialog::onAddressNameChanged ( QString  address)
privateslot

Definition at line 624 of file createassetdialog.cpp.

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

◆ onAssetListActivated

void CreateAssetDialog::onAssetListActivated ( int  index)
privateslot

Definition at line 840 of file createassetdialog.cpp.

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

◆ onAssetTypeActivated

void CreateAssetDialog::onAssetTypeActivated ( int  index)
privateslot

Definition at line 798 of file createassetdialog.cpp.

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

◆ onChangeAddressChanged

void CreateAssetDialog::onChangeAddressChanged ( QString  changeAddress)
privateslot

Definition at line 793 of file createassetdialog.cpp.

Here is the call graph for this function:

◆ onClearButtonClicked

void CreateAssetDialog::onClearButtonClicked ( )
privateslot

Definition at line 1228 of file createassetdialog.cpp.

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

◆ onCreateAssetClicked

void CreateAssetDialog::onCreateAssetClicked ( )
privateslot

Definition at line 635 of file createassetdialog.cpp.

Here is the caller graph for this function:

◆ onIPFSHashChanged

void CreateAssetDialog::onIPFSHashChanged ( QString  hash)
privateslot

Definition at line 629 of file createassetdialog.cpp.

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

◆ onNameChanged

void CreateAssetDialog::onNameChanged ( QString  name)
privateslot

Definition at line 561 of file createassetdialog.cpp.

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

◆ onUnitChanged

void CreateAssetDialog::onUnitChanged ( int  value)
privateslot

Definition at line 777 of file createassetdialog.cpp.

Here is the caller graph for this function:

◆ selectTypeName()

void CreateAssetDialog::selectTypeName ( int  type,
QString  name 
)

Definition at line 1243 of file createassetdialog.cpp.

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

◆ setBalance

void CreateAssetDialog::setBalance ( const CAmount balance,
const CAmount unconfirmedBalance,
const CAmount immatureBalance,
const CAmount watchOnlyBalance,
const CAmount watchUnconfBalance,
const CAmount watchImmatureBalance 
)
privateslot

Definition at line 377 of file createassetdialog.cpp.

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

◆ setClientModel()

void CreateAssetDialog::setClientModel ( ClientModel clientModel)

Definition at line 137 of file createassetdialog.cpp.

Here is the call graph for this function:

◆ setMinimumFee

void CreateAssetDialog::setMinimumFee ( )
privateslot

Definition at line 1135 of file createassetdialog.cpp.

Here is the call graph for this function:

◆ setModel()

void CreateAssetDialog::setModel ( WalletModel model)

Definition at line 146 of file createassetdialog.cpp.

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

◆ setUniqueSelected()

void CreateAssetDialog::setUniqueSelected ( )
private

Definition at line 1173 of file createassetdialog.cpp.

Here is the caller graph for this function:

◆ setupAssetDataView()

void CreateAssetDialog::setupAssetDataView ( const PlatformStyle platformStyle)

Update the scrollview

Definition at line 313 of file createassetdialog.cpp.

Here is the call graph for this function:

◆ setupCoinControlFrame()

void CreateAssetDialog::setupCoinControlFrame ( const PlatformStyle platformStyle)

Update the assetcontrol frame

Create the shadow effects on the frames

Definition at line 272 of file createassetdialog.cpp.

Here is the call graph for this function:

◆ setupFeeControl()

void CreateAssetDialog::setupFeeControl ( const PlatformStyle platformStyle)

Update the coincontrol frame

Create the shadow effects on the frames

Definition at line 340 of file createassetdialog.cpp.

Here is the call graph for this function:

◆ setUpValues()

void CreateAssetDialog::setUpValues ( )
private

Helper Methods.

Definition at line 242 of file createassetdialog.cpp.

Here is the call graph for this function:

◆ showMessage()

void CreateAssetDialog::showMessage ( QString  string)
private

Definition at line 415 of file createassetdialog.cpp.

Here is the caller graph for this function:

◆ showValidMessage()

void CreateAssetDialog::showValidMessage ( QString  string)
private

Definition at line 422 of file createassetdialog.cpp.

Here is the caller graph for this function:

◆ toggleIPFSText()

void CreateAssetDialog::toggleIPFSText ( )
private

Definition at line 403 of file createassetdialog.cpp.

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

◆ updateAssetList()

void CreateAssetDialog::updateAssetList ( )

Definition at line 1192 of file createassetdialog.cpp.

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

◆ UpdateAssetNameMaxSize()

void CreateAssetDialog::UpdateAssetNameMaxSize ( )
private

Definition at line 883 of file createassetdialog.cpp.

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

◆ UpdateAssetNameToUpper()

void CreateAssetDialog::UpdateAssetNameToUpper ( )
private

Definition at line 892 of file createassetdialog.cpp.

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

◆ updateCoinControlState()

void CreateAssetDialog::updateCoinControlState ( CCoinControl ctrl)
private

Definition at line 899 of file createassetdialog.cpp.

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

◆ updateDisplayUnit

void CreateAssetDialog::updateDisplayUnit ( )
privateslot

Definition at line 395 of file createassetdialog.cpp.

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

◆ updateFeeMinimizedLabel()

void CreateAssetDialog::updateFeeMinimizedLabel ( )
private

Definition at line 1153 of file createassetdialog.cpp.

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

◆ updateFeeSectionControls

void CreateAssetDialog::updateFeeSectionControls ( )
privateslot

Definition at line 1140 of file createassetdialog.cpp.

◆ updateMinFeeLabel

void CreateAssetDialog::updateMinFeeLabel ( )
privateslot

Definition at line 1165 of file createassetdialog.cpp.

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

◆ updatePresentedAssetName()

void CreateAssetDialog::updatePresentedAssetName ( QString  name)
private

Definition at line 857 of file createassetdialog.cpp.

Here is the caller graph for this function:

◆ updateSmartFeeLabel

void CreateAssetDialog::updateSmartFeeLabel ( )
privateslot

Definition at line 912 of file createassetdialog.cpp.

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

Member Data Documentation

◆ checkedAvailablity

bool CreateAssetDialog::checkedAvailablity = false
private

Definition at line 64 of file createassetdialog.h.

◆ clientModel

ClientModel* CreateAssetDialog::clientModel
private

Definition at line 59 of file createassetdialog.h.

◆ completer

QCompleter* CreateAssetDialog::completer

Definition at line 55 of file createassetdialog.h.

◆ fFeeMinimized

bool CreateAssetDialog::fFeeMinimized
private

Definition at line 61 of file createassetdialog.h.

◆ format

QString CreateAssetDialog::format

Definition at line 41 of file createassetdialog.h.

◆ model

WalletModel* CreateAssetDialog::model
private

Definition at line 60 of file createassetdialog.h.

◆ platformStyle

const PlatformStyle* CreateAssetDialog::platformStyle
private

Definition at line 62 of file createassetdialog.h.

◆ proxy

QSortFilterProxyModel* CreateAssetDialog::proxy

Definition at line 54 of file createassetdialog.h.

◆ stringModel

QStringListModel* CreateAssetDialog::stringModel

Definition at line 53 of file createassetdialog.h.

◆ type

int CreateAssetDialog::type

Definition at line 40 of file createassetdialog.h.

◆ ui

Ui::CreateAssetDialog* CreateAssetDialog::ui
private

Definition at line 58 of file createassetdialog.h.


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