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

#include <sendconfirmdialog.h>

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

Public Slots

void accept () override
 
void reject () override
 
void onInputsClicked ()
 
void onOutputsClicked ()
 

Public Member Functions

 TxDetailDialog (QWidget *parent=nullptr, bool isConfirmDialog=true, const QString &warningStr=QString())
 
 ~TxDetailDialog ()
 
bool isConfirm ()
 
WalletModel::SendCoinsReturn getStatus ()
 
void setData (WalletModel *model, WalletModelTransaction *tx)
 
void setData (WalletModel *model, const QModelIndex &index)
 
void setDisplayUnit (int unit)
 
- Public Member Functions inherited from FocusedDialog
 FocusedDialog (QWidget *parent=nullptr)
 
 ~FocusedDialog ()
 
void showEvent (QShowEvent *event)
 

Private Member Functions

void setInputsType (CTransactionRef _tx)
 

Private Attributes

Ui::TxDetailDialog * ui
 
SnackBarsnackBar = nullptr
 
int nDisplayUnit = 0
 
bool isConfirmDialog = false
 
bool confirm = false
 
WalletModelmodel = nullptr
 
WalletModel::SendCoinsReturn sendStatus
 
WalletModelTransactiontx {nullptr}
 
uint256 txHash
 
bool isShieldedToShieldedRecv {false}
 
bool inputsLoaded = false
 
bool outputsLoaded = false
 

Additional Inherited Members

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

Detailed Description

Definition at line 23 of file sendconfirmdialog.h.

Constructor & Destructor Documentation

◆ TxDetailDialog()

TxDetailDialog::TxDetailDialog ( QWidget *  parent = nullptr,
bool  isConfirmDialog = true,
const QString &  warningStr = QString() 
)
explicit

Definition at line 19 of file sendconfirmdialog.cpp.

Here is the call graph for this function:

◆ ~TxDetailDialog()

TxDetailDialog::~TxDetailDialog ( )

Definition at line 394 of file sendconfirmdialog.cpp.

Member Function Documentation

◆ accept

void TxDetailDialog::accept ( )
overrideslot

Definition at line 240 of file sendconfirmdialog.cpp.

Here is the call graph for this function:

◆ getStatus()

WalletModel::SendCoinsReturn TxDetailDialog::getStatus ( )
inline

Definition at line 32 of file sendconfirmdialog.h.

Here is the caller graph for this function:

◆ isConfirm()

bool TxDetailDialog::isConfirm ( )
inline

Definition at line 31 of file sendconfirmdialog.h.

Here is the caller graph for this function:

◆ onInputsClicked

void TxDetailDialog::onInputsClicked ( )
slot

Definition at line 260 of file sendconfirmdialog.cpp.

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

◆ onOutputsClicked

void TxDetailDialog::onOutputsClicked ( )
slot
Todo:
: This only works for txs that are stored, not for when this is a confirmation dialog..

Definition at line 319 of file sendconfirmdialog.cpp.

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

◆ reject

void TxDetailDialog::reject ( )
overrideslot

Definition at line 388 of file sendconfirmdialog.cpp.

◆ setData() [1/2]

void TxDetailDialog::setData ( WalletModel model,
const QModelIndex &  index 
)

Definition at line 97 of file sendconfirmdialog.cpp.

Here is the call graph for this function:

◆ setData() [2/2]

void TxDetailDialog::setData ( WalletModel model,
WalletModelTransaction tx 
)

Definition at line 183 of file sendconfirmdialog.cpp.

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

◆ setDisplayUnit()

void TxDetailDialog::setDisplayUnit ( int  unit)
inline

Definition at line 36 of file sendconfirmdialog.h.

Here is the caller graph for this function:

◆ setInputsType()

void TxDetailDialog::setInputsType ( CTransactionRef  _tx)
private

Definition at line 86 of file sendconfirmdialog.cpp.

Here is the caller graph for this function:

Member Data Documentation

◆ confirm

bool TxDetailDialog::confirm = false
private

Definition at line 49 of file sendconfirmdialog.h.

◆ inputsLoaded

bool TxDetailDialog::inputsLoaded = false
private

Definition at line 57 of file sendconfirmdialog.h.

◆ isConfirmDialog

bool TxDetailDialog::isConfirmDialog = false
private

Definition at line 48 of file sendconfirmdialog.h.

◆ isShieldedToShieldedRecv

bool TxDetailDialog::isShieldedToShieldedRecv {false}
private

Definition at line 55 of file sendconfirmdialog.h.

◆ model

WalletModel* TxDetailDialog::model = nullptr
private

Definition at line 50 of file sendconfirmdialog.h.

◆ nDisplayUnit

int TxDetailDialog::nDisplayUnit = 0
private

Definition at line 47 of file sendconfirmdialog.h.

◆ outputsLoaded

bool TxDetailDialog::outputsLoaded = false
private

Definition at line 58 of file sendconfirmdialog.h.

◆ sendStatus

WalletModel::SendCoinsReturn TxDetailDialog::sendStatus
private

Definition at line 51 of file sendconfirmdialog.h.

◆ snackBar

SnackBar* TxDetailDialog::snackBar = nullptr
private

Definition at line 46 of file sendconfirmdialog.h.

◆ tx

WalletModelTransaction* TxDetailDialog::tx {nullptr}
private

Definition at line 52 of file sendconfirmdialog.h.

◆ txHash

uint256 TxDetailDialog::txHash
private

Definition at line 53 of file sendconfirmdialog.h.

◆ ui

Ui::TxDetailDialog* TxDetailDialog::ui
private

Definition at line 45 of file sendconfirmdialog.h.


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