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

#include <requestdialog.h>

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

Public Member Functions

 RequestDialog (QWidget *parent=nullptr)
 
 ~RequestDialog ()
 
void setWalletModel (WalletModel *model)
 
void setPaymentRequest (bool _isPaymentRequest)
 
void showEvent (QShowEvent *event) override
 
- Public Member Functions inherited from FocusedDialog
 FocusedDialog (QWidget *parent=nullptr)
 
 ~FocusedDialog ()
 
void showEvent (QShowEvent *event)
 

Public Attributes

int res = -1
 

Private Slots

void accept () override
 
void onCopyClicked ()
 
void onCopyUriClicked ()
 

Private Member Functions

void updateQr (const QString &str)
 
void inform (const QString &text)
 

Private Attributes

Ui::RequestDialog * ui {nullptr}
 
int pos = 0
 
bool isPaymentRequest = true
 
WalletModelwalletModel {nullptr}
 
SnackBarsnackBar {nullptr}
 
SendCoinsRecipientinfo {nullptr}
 

Additional Inherited Members

- Protected Member Functions inherited from FocusedDialog
void keyPressEvent (QKeyEvent *e)
 

Detailed Description

Definition at line 21 of file requestdialog.h.

Constructor & Destructor Documentation

◆ RequestDialog()

RequestDialog::RequestDialog ( QWidget *  parent = nullptr)
explicit
Todo:
: Change copy address for save image (the method is already implemented in other class called exportQr or something like that)

Definition at line 14 of file requestdialog.cpp.

Here is the call graph for this function:

◆ ~RequestDialog()

RequestDialog::~RequestDialog ( )

Definition at line 184 of file requestdialog.cpp.

Member Function Documentation

◆ accept

void RequestDialog::accept ( )
overrideprivateslot
Todo:
: notify user about this error

Definition at line 82 of file requestdialog.cpp.

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

◆ inform()

void RequestDialog::inform ( const QString &  text)
private

Definition at line 175 of file requestdialog.cpp.

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

◆ onCopyClicked

void RequestDialog::onCopyClicked ( )
privateslot

Definition at line 139 of file requestdialog.cpp.

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

◆ onCopyUriClicked

void RequestDialog::onCopyUriClicked ( )
privateslot

Definition at line 148 of file requestdialog.cpp.

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

◆ setPaymentRequest()

void RequestDialog::setPaymentRequest ( bool  _isPaymentRequest)

Definition at line 72 of file requestdialog.cpp.

◆ setWalletModel()

void RequestDialog::setWalletModel ( WalletModel model)

Definition at line 66 of file requestdialog.cpp.

Here is the call graph for this function:

◆ showEvent()

void RequestDialog::showEvent ( QShowEvent *  event)
override

Definition at line 157 of file requestdialog.cpp.

◆ updateQr()

void RequestDialog::updateQr ( const QString &  str)
private

Definition at line 162 of file requestdialog.cpp.

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

Member Data Documentation

◆ info

SendCoinsRecipient* RequestDialog::info {nullptr}
private

Definition at line 46 of file requestdialog.h.

◆ isPaymentRequest

bool RequestDialog::isPaymentRequest = true
private

Definition at line 42 of file requestdialog.h.

◆ pos

int RequestDialog::pos = 0
private

Definition at line 41 of file requestdialog.h.

◆ res

int RequestDialog::res = -1

Definition at line 32 of file requestdialog.h.

◆ snackBar

SnackBar* RequestDialog::snackBar {nullptr}
private

Definition at line 44 of file requestdialog.h.

◆ ui

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

Definition at line 40 of file requestdialog.h.

◆ walletModel

WalletModel* RequestDialog::walletModel {nullptr}
private

Definition at line 43 of file requestdialog.h.


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