Bitcoin Core 31.0.0
P2P Digital Currency
Loading...
Searching...
No Matches
TxViewDelegate Class Reference
Inheritance diagram for TxViewDelegate:
[legend]
Collaboration diagram for TxViewDelegate:
[legend]

Signals

void width_changed (const QModelIndex &index) const
 An intermediate signal for emitting from the paint() const member function.

Public Member Functions

 TxViewDelegate (const PlatformStyle *_platformStyle, QObject *parent=nullptr)
void paint (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const override
QSize sizeHint (const QStyleOptionViewItem &option, const QModelIndex &index) const override

Public Attributes

BitcoinUnit unit {BitcoinUnit::BTC}

Private Attributes

const PlatformStyleplatformStyle
std::map< int, int > m_minimum_width

Detailed Description

Definition at line 33 of file overviewpage.cpp.

Constructor & Destructor Documentation

◆ TxViewDelegate()

TxViewDelegate::TxViewDelegate ( const PlatformStyle * _platformStyle,
QObject * parent = nullptr )
inlineexplicit

Definition at line 37 of file overviewpage.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ paint()

void TxViewDelegate::paint ( QPainter * painter,
const QStyleOptionViewItem & option,
const QModelIndex & index ) const
inlineoverride

Definition at line 43 of file overviewpage.cpp.

Here is the call graph for this function:

◆ sizeHint()

QSize TxViewDelegate::sizeHint ( const QStyleOptionViewItem & option,
const QModelIndex & index ) const
inlineoverride

Definition at line 112 of file overviewpage.cpp.

◆ width_changed

void TxViewDelegate::width_changed ( const QModelIndex & index) const
signal

An intermediate signal for emitting from the paint() const member function.

Here is the caller graph for this function:

Member Data Documentation

◆ m_minimum_width

std::map<int, int> TxViewDelegate::m_minimum_width
mutableprivate

Definition at line 127 of file overviewpage.cpp.

◆ platformStyle

const PlatformStyle* TxViewDelegate::platformStyle
private

Definition at line 126 of file overviewpage.cpp.

◆ unit

BitcoinUnit TxViewDelegate::unit {BitcoinUnit::BTC}

Definition at line 119 of file overviewpage.cpp.


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