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

#include <receivewidget.h>

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

Public Slots

void onRequestClicked ()
 
void onMyAddressesClicked ()
 
void onNewAddressClicked ()
 

Public Member Functions

 ReceiveWidget (PIVXGUI *parent)
 
 ~ReceiveWidget ()
 
void loadWalletModel () override
 
- 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
 

Private Slots

void changeTheme (bool isLightTheme, QString &theme) override
 
void onLabelClicked ()
 
void onCopyClicked ()
 
void refreshView (const QModelIndex &tl, const QModelIndex &br)
 
void refreshView (const QString &refreshAddress=QString())
 
void handleAddressClicked (const QModelIndex &index)
 
void onSortChanged (int idx)
 
void onSortOrderChanged (int idx)
 
void filterChanged (const QString &str)
 

Private Member Functions

void updateQr (const QString &address)
 
void updateLabel ()
 
void showAddressGenerationDialog (bool isPaymentRequest)
 
void sortAddresses ()
 
void onTransparentSelected (bool transparentSelected)
 

Private Attributes

Ui::ReceiveWidget * ui {nullptr}
 
FurAbstractListItemDelegatedelegate {nullptr}
 
AddressTableModeladdressTableModel {nullptr}
 
AddressFilterProxyModelfilter {nullptr}
 
QSpacerItem * spacer {nullptr}
 
SendCoinsRecipientinfo {nullptr}
 
AddressTableModel::ColumnIndex sortType = AddressTableModel::Label
 
Qt::SortOrder sortOrder = Qt::AscendingOrder
 
bool isShowingDialog {false}
 
bool shieldedMode {false}
 

Additional Inherited Members

- 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)
 
- Protected Slots inherited from PWidget
virtual void changeTheme (bool isLightTheme, QString &theme)
 
void onChangeTheme (bool isLightTheme, QString &theme)
 
- 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)
 
- Protected Attributes inherited from PWidget
PIVXGUIwindow = nullptr
 
ClientModelclientModel = nullptr
 
WalletModelwalletModel = nullptr
 

Detailed Description

Definition at line 28 of file receivewidget.h.

Constructor & Destructor Documentation

◆ ReceiveWidget()

ReceiveWidget::ReceiveWidget ( PIVXGUI parent)
explicit

Definition at line 23 of file receivewidget.cpp.

Here is the call graph for this function:

◆ ~ReceiveWidget()

ReceiveWidget::~ReceiveWidget ( )

Definition at line 358 of file receivewidget.cpp.

Member Function Documentation

◆ changeTheme

void ReceiveWidget::changeTheme ( bool  isLightTheme,
QString &  theme 
)
overrideprivateslot

Definition at line 353 of file receivewidget.cpp.

Here is the call graph for this function:

◆ filterChanged

void ReceiveWidget::filterChanged ( const QString &  str)
privateslot

Definition at line 335 of file receivewidget.cpp.

Here is the caller graph for this function:

◆ handleAddressClicked

void ReceiveWidget::handleAddressClicked ( const QModelIndex &  index)
privateslot

Definition at line 207 of file receivewidget.cpp.

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

◆ loadWalletModel()

void ReceiveWidget::loadWalletModel ( )
overridevirtual

Reimplemented from PWidget.

Definition at line 121 of file receivewidget.cpp.

Here is the call graph for this function:

◆ onCopyClicked

void ReceiveWidget::onCopyClicked ( )
privateslot

Definition at line 269 of file receivewidget.cpp.

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

◆ onLabelClicked

void ReceiveWidget::onLabelClicked ( )
privateslot

Definition at line 213 of file receivewidget.cpp.

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

◆ onMyAddressesClicked

void ReceiveWidget::onMyAddressesClicked ( )
slot

Definition at line 306 of file receivewidget.cpp.

Here is the caller graph for this function:

◆ onNewAddressClicked

void ReceiveWidget::onNewAddressClicked ( )
slot

Definition at line 242 of file receivewidget.cpp.

Here is the caller graph for this function:

◆ onRequestClicked

void ReceiveWidget::onRequestClicked ( )
slot

Definition at line 276 of file receivewidget.cpp.

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

◆ onSortChanged

void ReceiveWidget::onSortChanged ( int  idx)
privateslot

Definition at line 323 of file receivewidget.cpp.

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

◆ onSortOrderChanged

void ReceiveWidget::onSortOrderChanged ( int  idx)
privateslot

Definition at line 329 of file receivewidget.cpp.

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

◆ onTransparentSelected()

void ReceiveWidget::onTransparentSelected ( bool  transparentSelected)
private

Definition at line 346 of file receivewidget.cpp.

Here is the call graph for this function:

◆ refreshView [1/2]

void ReceiveWidget::refreshView ( const QModelIndex &  tl,
const QModelIndex &  br 
)
privateslot

Definition at line 139 of file receivewidget.cpp.

Here is the caller graph for this function:

◆ refreshView [2/2]

void ReceiveWidget::refreshView ( const QString &  refreshAddress = QString())
privateslot

Definition at line 148 of file receivewidget.cpp.

Here is the call graph for this function:

◆ showAddressGenerationDialog()

void ReceiveWidget::showAddressGenerationDialog ( bool  isPaymentRequest)
private

Definition at line 281 of file receivewidget.cpp.

Here is the caller graph for this function:

◆ sortAddresses()

void ReceiveWidget::sortAddresses ( )
private

Definition at line 340 of file receivewidget.cpp.

Here is the caller graph for this function:

◆ updateLabel()

void ReceiveWidget::updateLabel ( )
private

Definition at line 175 of file receivewidget.cpp.

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

◆ updateQr()

void ReceiveWidget::updateQr ( const QString &  address)
private

Definition at line 191 of file receivewidget.cpp.

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

Member Data Documentation

◆ addressTableModel

AddressTableModel* ReceiveWidget::addressTableModel {nullptr}
private

Definition at line 58 of file receivewidget.h.

◆ delegate

FurAbstractListItemDelegate* ReceiveWidget::delegate {nullptr}
private

Definition at line 57 of file receivewidget.h.

◆ filter

AddressFilterProxyModel* ReceiveWidget::filter {nullptr}
private

Definition at line 59 of file receivewidget.h.

◆ info

SendCoinsRecipient* ReceiveWidget::info {nullptr}
private

Definition at line 64 of file receivewidget.h.

◆ isShowingDialog

bool ReceiveWidget::isShowingDialog {false}
private

Definition at line 76 of file receivewidget.h.

◆ shieldedMode

bool ReceiveWidget::shieldedMode {false}
private

Definition at line 78 of file receivewidget.h.

◆ sortOrder

Qt::SortOrder ReceiveWidget::sortOrder = Qt::AscendingOrder
private

Definition at line 68 of file receivewidget.h.

◆ sortType

AddressTableModel::ColumnIndex ReceiveWidget::sortType = AddressTableModel::Label
private

Definition at line 67 of file receivewidget.h.

◆ spacer

QSpacerItem* ReceiveWidget::spacer {nullptr}
private

Definition at line 61 of file receivewidget.h.

◆ ui

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

Definition at line 55 of file receivewidget.h.


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