Bitcoin Core 28.99.0
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 class  StatusLevel { INFO , WARN , ERR }
 

Private Member Functions

size_t couldSignInputs (const PartiallySignedTransaction &psbtx)
 
void updateTransactionDisplay ()
 
QString 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 20 of file psbtoperationsdialog.h.

Member Enumeration Documentation

◆ StatusLevel

enum class PSBTOperationsDialog::StatusLevel
strongprivate
Enumerator
INFO 
WARN 
ERR 

Definition at line 42 of file psbtoperationsdialog.h.

Constructor & Destructor Documentation

◆ PSBTOperationsDialog()

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

Definition at line 31 of file psbtoperationsdialog.cpp.

Here is the call graph for this function:

◆ ~PSBTOperationsDialog()

PSBTOperationsDialog::~PSBTOperationsDialog ( )

Definition at line 50 of file psbtoperationsdialog.cpp.

Member Function Documentation

◆ broadcastTransaction

void PSBTOperationsDialog::broadcastTransaction ( )
slot

Definition at line 110 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 134 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 247 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 55 of file psbtoperationsdialog.cpp.

Here is the call graph for this function:

◆ renderTransaction()

QString PSBTOperationsDialog::renderTransaction ( const PartiallySignedTransaction psbtx)
private

Definition at line 178 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 141 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 228 of file psbtoperationsdialog.cpp.

Here is the caller graph for this function:

◆ showTransactionStatus()

void PSBTOperationsDialog::showTransactionStatus ( const PartiallySignedTransaction psbtx)
private

Definition at line 262 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 79 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 173 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 40 of file psbtoperationsdialog.h.

◆ m_transaction_data

PartiallySignedTransaction PSBTOperationsDialog::m_transaction_data
private

Definition at line 38 of file psbtoperationsdialog.h.

◆ m_ui

Ui::PSBTOperationsDialog* PSBTOperationsDialog::m_ui
private

Definition at line 37 of file psbtoperationsdialog.h.

◆ m_wallet_model

WalletModel* PSBTOperationsDialog::m_wallet_model
private

Definition at line 39 of file psbtoperationsdialog.h.


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