Bitcoin Core  0.20.99
P2P Digital Currency
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

◆ StatusLevel

Enumerator
INFO 
WARN 
ERR 

Definition at line 41 of file psbtoperationsdialog.h.

Constructor & Destructor Documentation

◆ PSBTOperationsDialog()

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::~PSBTOperationsDialog ( )

Definition at line 41 of file psbtoperationsdialog.cpp.

Member Function Documentation

◆ broadcastTransaction

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:

◆ copyToClipboard

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:

◆ couldSignInputs()

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:

◆ openWithPSBT()

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:

◆ renderTransaction()

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:

◆ saveTransaction

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:

◆ showStatus()

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:

◆ showTransactionStatus()

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:

◆ signTransaction

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:

◆ updateTransactionDisplay()

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

◆ m_client_model

ClientModel* PSBTOperationsDialog::m_client_model
private

Definition at line 39 of file psbtoperationsdialog.h.

◆ m_transaction_data

PartiallySignedTransaction PSBTOperationsDialog::m_transaction_data
private

Definition at line 37 of file psbtoperationsdialog.h.

◆ m_ui

Ui::PSBTOperationsDialog* PSBTOperationsDialog::m_ui
private

Definition at line 36 of file psbtoperationsdialog.h.

◆ m_wallet_model

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: