PIVX Core  5.6.99
P2P Digital Currency
Public Slots | Signals | Public Member Functions | Protected Member Functions | Private Slots | Private Attributes | List of all members
SendMultiRow Class Reference

#include <sendmultirow.h>

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

Public Slots

void clear ()
 
void updateDisplayUnit ()
 
void onMemoClicked ()
 

Signals

void removeEntry (SendMultiRow *entry)
 
void onContactsClicked (SendMultiRow *entry)
 
void onMenuClicked (SendMultiRow *entry)
 
void onValueChanged ()
 
void onUriParsed (const SendCoinsRecipient &rcp)
 
- Signals inherited from PWidget
void message (const QString &title, const QString &body, unsigned int style, bool *ret=nullptr)
 
void showHide (bool show)
 
bool execDialog (QDialog *dialog, int xDiv=3, int yDiv=5)
 

Public Member Functions

 SendMultiRow (PIVXGUI *_window, PWidget *parent=nullptr)
 
 ~SendMultiRow ()
 
void hideLabels ()
 
void showLabels ()
 
void setNumber (int number)
 
int getNumber ()
 
void loadWalletModel () override
 
bool validate ()
 
SendCoinsRecipient getValue ()
 
QString getAddress ()
 
CAmount getAmountValue ()
 
QString getMemo ()
 
bool isClear ()
 Return whether the entry is still empty and unedited. More...
 
void setOnlyStakingAddressAccepted (bool onlyStakingAddress)
 
void setAddress (const QString &address)
 
void setLabel (const QString &label)
 
void setAmount (const QString &amount)
 
void setAddressAndLabelOrDescription (const QString &address, const QString &message)
 
void setFocus ()
 
void toggleSubtractFeeFromAmount ()
 
QRect getEditLineRect ()
 
int getEditHeight ()
 
int getEditWidth ()
 
int getMenuBtnWidth ()
 
bool getSubtractFeeFromAmount () const
 
bool launchMemoDialog ()
 
- Public Member Functions inherited from PWidget
 PWidget (PIVXGUI *_window=nullptr, QWidget *parent=nullptr)
 
 PWidget (PWidget *parent=nullptr)
 
void setClientModel (ClientModel *model)
 
void setWalletModel (WalletModel *model)
 
PIVXGUIgetWindow ()
 
void run (int type) override
 
void onError (QString error, int type) override
 
void inform (const QString &message)
 
void emitMessage (const QString &title, const QString &message, unsigned int style, bool *ret=nullptr)
 
QString translate (const char *msg) override
 

Protected Member Functions

void resizeEvent (QResizeEvent *event) override
 
virtual void enterEvent (QEvent *) override
 
virtual void leaveEvent (QEvent *) override
 
- Protected Member Functions inherited from PWidget
virtual void loadClientModel ()
 
void showHideOp (bool show)
 
bool execute (int type, std::unique_ptr< WalletModel::UnlockContext > pctx=nullptr)
 
void warn (const QString &title, const QString &message)
 
bool ask (const QString &title, const QString &message)
 
void showDialog (QDialog *dialog, int xDiv=3, int yDiv=5)
 

Private Slots

void amountChanged (const QString &)
 
bool addressChanged (const QString &, bool fOnlyValidate=false)
 
void deleteClicked ()
 

Private Attributes

Ui::SendMultiRow * ui {nullptr}
 
QPushButton * iconNumber {nullptr}
 
QAction * btnContact {nullptr}
 
int displayUnit {0}
 
int number {0}
 
bool isExpanded {false}
 
bool onlyStakingAddressAccepted {false}
 
SendCoinsRecipient recipient
 

Additional Inherited Members

- Protected Slots inherited from PWidget
virtual void changeTheme (bool isLightTheme, QString &theme)
 
void onChangeTheme (bool isLightTheme, QString &theme)
 
- Protected Attributes inherited from PWidget
PIVXGUIwindow = nullptr
 
ClientModelclientModel = nullptr
 
WalletModelwalletModel = nullptr
 

Detailed Description

Definition at line 23 of file sendmultirow.h.

Constructor & Destructor Documentation

◆ SendMultiRow()

SendMultiRow::SendMultiRow ( PIVXGUI _window,
PWidget parent = nullptr 
)
explicit

Definition at line 15 of file sendmultirow.cpp.

Here is the call graph for this function:

◆ ~SendMultiRow()

SendMultiRow::~SendMultiRow ( )

Definition at line 356 of file sendmultirow.cpp.

Member Function Documentation

◆ addressChanged

bool SendMultiRow::addressChanged ( const QString &  str,
bool  fOnlyValidate = false 
)
privateslot

Definition at line 108 of file sendmultirow.cpp.

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

◆ amountChanged

void SendMultiRow::amountChanged ( const QString &  amountStr)
privateslot

Definition at line 68 of file sendmultirow.cpp.

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

◆ clear

void SendMultiRow::clear ( )
slot

Definition at line 171 of file sendmultirow.cpp.

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

◆ deleteClicked

void SendMultiRow::deleteClicked ( )
privateslot

Definition at line 166 of file sendmultirow.cpp.

◆ enterEvent()

void SendMultiRow::enterEvent ( QEvent *  )
overrideprotectedvirtual

Definition at line 335 of file sendmultirow.cpp.

◆ getAddress()

QString SendMultiRow::getAddress ( )

Definition at line 223 of file sendmultirow.cpp.

Here is the caller graph for this function:

◆ getAmountValue()

CAmount SendMultiRow::getAmountValue ( )

Definition at line 228 of file sendmultirow.cpp.

Here is the caller graph for this function:

◆ getEditHeight()

int SendMultiRow::getEditHeight ( )

Definition at line 243 of file sendmultirow.cpp.

Here is the caller graph for this function:

◆ getEditLineRect()

QRect SendMultiRow::getEditLineRect ( )

Definition at line 238 of file sendmultirow.cpp.

Here is the caller graph for this function:

◆ getEditWidth()

int SendMultiRow::getEditWidth ( )

Definition at line 248 of file sendmultirow.cpp.

Here is the caller graph for this function:

◆ getMemo()

QString SendMultiRow::getMemo ( )

Definition at line 233 of file sendmultirow.cpp.

◆ getMenuBtnWidth()

int SendMultiRow::getMenuBtnWidth ( )

Definition at line 351 of file sendmultirow.cpp.

Here is the caller graph for this function:

◆ getNumber()

int SendMultiRow::getNumber ( )

Definition at line 253 of file sendmultirow.cpp.

Here is the caller graph for this function:

◆ getSubtractFeeFromAmount()

bool SendMultiRow::getSubtractFeeFromAmount ( ) const

Definition at line 258 of file sendmultirow.cpp.

Here is the caller graph for this function:

◆ getValue()

SendCoinsRecipient SendMultiRow::getValue ( )

Definition at line 212 of file sendmultirow.cpp.

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

◆ hideLabels()

void SendMultiRow::hideLabels ( )

Definition at line 318 of file sendmultirow.cpp.

Here is the caller graph for this function:

◆ isClear()

bool SendMultiRow::isClear ( )

Return whether the entry is still empty and unedited.

Definition at line 295 of file sendmultirow.cpp.

◆ launchMemoDialog()

bool SendMultiRow::launchMemoDialog ( )

Definition at line 85 of file sendmultirow.cpp.

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

◆ leaveEvent()

void SendMultiRow::leaveEvent ( QEvent *  )
overrideprotectedvirtual

Definition at line 343 of file sendmultirow.cpp.

◆ loadWalletModel()

void SendMultiRow::loadWalletModel ( )
overridevirtual

Reimplemented from PWidget.

Definition at line 151 of file sendmultirow.cpp.

Here is the call graph for this function:

◆ onContactsClicked

void SendMultiRow::onContactsClicked ( SendMultiRow entry)
signal
Here is the caller graph for this function:

◆ onMemoClicked

void SendMultiRow::onMemoClicked ( )
slot

Definition at line 80 of file sendmultirow.cpp.

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

◆ onMenuClicked

void SendMultiRow::onMenuClicked ( SendMultiRow entry)
signal
Here is the caller graph for this function:

◆ onUriParsed

void SendMultiRow::onUriParsed ( const SendCoinsRecipient rcp)
signal
Here is the caller graph for this function:

◆ onValueChanged

void SendMultiRow::onValueChanged ( )
signal
Here is the caller graph for this function:

◆ removeEntry

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

◆ resizeEvent()

void SendMultiRow::resizeEvent ( QResizeEvent *  event)
overrideprotected

Definition at line 330 of file sendmultirow.cpp.

◆ setAddress()

void SendMultiRow::setAddress ( const QString &  address)

Definition at line 263 of file sendmultirow.cpp.

Here is the caller graph for this function:

◆ setAddressAndLabelOrDescription()

void SendMultiRow::setAddressAndLabelOrDescription ( const QString &  address,
const QString &  message 
)

Definition at line 280 of file sendmultirow.cpp.

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

◆ setAmount()

void SendMultiRow::setAmount ( const QString &  amount)

Definition at line 269 of file sendmultirow.cpp.

Here is the caller graph for this function:

◆ setFocus()

void SendMultiRow::setFocus ( )

Definition at line 300 of file sendmultirow.cpp.

◆ setLabel()

void SendMultiRow::setLabel ( const QString &  label)

Definition at line 290 of file sendmultirow.cpp.

Here is the caller graph for this function:

◆ setNumber()

void SendMultiRow::setNumber ( int  number)

Definition at line 312 of file sendmultirow.cpp.

Here is the caller graph for this function:

◆ setOnlyStakingAddressAccepted()

void SendMultiRow::setOnlyStakingAddressAccepted ( bool  onlyStakingAddress)

Definition at line 305 of file sendmultirow.cpp.

Here is the caller graph for this function:

◆ showLabels()

void SendMultiRow::showLabels ( )

Definition at line 324 of file sendmultirow.cpp.

Here is the caller graph for this function:

◆ toggleSubtractFeeFromAmount()

void SendMultiRow::toggleSubtractFeeFromAmount ( )

Definition at line 274 of file sendmultirow.cpp.

Here is the caller graph for this function:

◆ updateDisplayUnit

void SendMultiRow::updateDisplayUnit ( )
slot

Definition at line 160 of file sendmultirow.cpp.

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

◆ validate()

bool SendMultiRow::validate ( )

Definition at line 179 of file sendmultirow.cpp.

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

Member Data Documentation

◆ btnContact

QAction* SendMultiRow::btnContact {nullptr}
private

Definition at line 90 of file sendmultirow.h.

◆ displayUnit

int SendMultiRow::displayUnit {0}
private

Definition at line 92 of file sendmultirow.h.

◆ iconNumber

QPushButton* SendMultiRow::iconNumber {nullptr}
private

Definition at line 89 of file sendmultirow.h.

◆ isExpanded

bool SendMultiRow::isExpanded {false}
private

Definition at line 94 of file sendmultirow.h.

◆ number

int SendMultiRow::number {0}
private

Definition at line 93 of file sendmultirow.h.

◆ onlyStakingAddressAccepted

bool SendMultiRow::onlyStakingAddressAccepted {false}
private

Definition at line 95 of file sendmultirow.h.

◆ recipient

SendCoinsRecipient SendMultiRow::recipient
private

Definition at line 97 of file sendmultirow.h.

◆ ui

Ui::SendMultiRow* SendMultiRow::ui {nullptr}
private

Definition at line 88 of file sendmultirow.h.


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