Bitcoin Core  0.21.1
P2P Digital Currency
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules
Public Slots | Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
PSBTOperationsDialog Class Reference

Dialog showing transaction details. More...

#include <psbtoperationsdialog.h>

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

Public Slots

void signTransaction ()
 
void broadcastTransaction ()
 
void copyToClipboard ()
 
void saveTransaction ()
 

Public Member Functions

 PSBTOperationsDialog (QWidget *parent, WalletModel *walletModel, ClientModel *clientModel)
 
 ~PSBTOperationsDialog ()
 
void openWithPSBT (PartiallySignedTransaction psbtx)
 

Private Types

enum  StatusLevel { StatusLevel::INFO, StatusLevel::WARN, StatusLevel::ERR }
 

Private Member Functions

size_t couldSignInputs (const PartiallySignedTransaction &psbtx)
 
void updateTransactionDisplay ()
 
std::string renderTransaction (const PartiallySignedTransaction &psbtx)
 
void showStatus (const QString &msg, StatusLevel level)
 
void showTransactionStatus (const PartiallySignedTransaction &psbtx)
 

Private Attributes

Ui::PSBTOperationsDialog * m_ui
 
PartiallySignedTransaction m_transaction_data
 
WalletModelm_wallet_model
 
ClientModelm_client_model
 

Detailed Description

Dialog showing transaction details.

Definition at line 19 of file psbtoperationsdialog.h.

Member Enumeration Documentation

Enumerator
INFO 
WARN 
ERR 

Definition at line 41 of file psbtoperationsdialog.h.

Constructor & Destructor Documentation

PSBTOperationsDialog::PSBTOperationsDialog ( QWidget *  parent,
WalletModel walletModel,
ClientModel clientModel 
)
explicit

Definition at line 21 of file psbtoperationsdialog.cpp.

Here is the call graph for this function:

PSBTOperationsDialog::~PSBTOperationsDialog ( )

Definition at line 41 of file psbtoperationsdialog.cpp.

Member Function Documentation

void PSBTOperationsDialog::broadcastTransaction ( )
slot

Definition at line 92 of file psbtoperationsdialog.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void PSBTOperationsDialog::copyToClipboard ( )
slot

Definition at line 116 of file psbtoperationsdialog.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

size_t PSBTOperationsDialog::couldSignInputs ( const PartiallySignedTransaction psbtx)
private

Definition at line 225 of file psbtoperationsdialog.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void PSBTOperationsDialog::openWithPSBT ( PartiallySignedTransaction  psbtx)

Definition at line 46 of file psbtoperationsdialog.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

std::string PSBTOperationsDialog::renderTransaction ( const PartiallySignedTransaction psbtx)
private

Definition at line 159 of file psbtoperationsdialog.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void PSBTOperationsDialog::saveTransaction ( )
slot

Definition at line 123 of file psbtoperationsdialog.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void PSBTOperationsDialog::showStatus ( const QString &  msg,
StatusLevel  level 
)
private

Definition at line 206 of file psbtoperationsdialog.cpp.

Here is the caller graph for this function:

void PSBTOperationsDialog::showTransactionStatus ( const PartiallySignedTransaction psbtx)
private

Definition at line 236 of file psbtoperationsdialog.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void PSBTOperationsDialog::signTransaction ( )
slot

Definition at line 66 of file psbtoperationsdialog.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void PSBTOperationsDialog::updateTransactionDisplay ( )
private

Definition at line 154 of file psbtoperationsdialog.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

ClientModel* PSBTOperationsDialog::m_client_model
private

Definition at line 39 of file psbtoperationsdialog.h.

PartiallySignedTransaction PSBTOperationsDialog::m_transaction_data
private

Definition at line 37 of file psbtoperationsdialog.h.

Ui::PSBTOperationsDialog* PSBTOperationsDialog::m_ui
private

Definition at line 36 of file psbtoperationsdialog.h.

WalletModel* PSBTOperationsDialog::m_wallet_model
private

Definition at line 38 of file psbtoperationsdialog.h.


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