Fabcoin Core  0.16.2
P2P Digital Currency
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
NavToolButton Class Reference
Inheritance diagram for NavToolButton:
[legend]
Collaboration diagram for NavToolButton:
[legend]

Public Member Functions

 NavToolButton (QWidget *parent, bool subBar)
 

Protected Member Functions

void paintEvent (QPaintEvent *) Q_DECL_OVERRIDE
 
void drawLabel (const QStyleOption *opt, QPainter *p)
 
void updateIcon (QStyleOptionToolButton &toolbutton)
 

Private Attributes

bool m_subBar
 
bool m_iconCached
 
QIcon m_hoverIcon
 

Detailed Description

Definition at line 24 of file navigationbar.cpp.

Constructor & Destructor Documentation

NavToolButton::NavToolButton ( QWidget *  parent,
bool  subBar 
)
inlineexplicit

Definition at line 27 of file navigationbar.cpp.

Member Function Documentation

void NavToolButton::drawLabel ( const QStyleOption *  opt,
QPainter *  p 
)
inlineprotected

Definition at line 63 of file navigationbar.cpp.

void NavToolButton::paintEvent ( QPaintEvent *  )
inlineprotected

Definition at line 34 of file navigationbar.cpp.

void NavToolButton::updateIcon ( QStyleOptionToolButton &  toolbutton)
inlineprotected

Definition at line 110 of file navigationbar.cpp.

Member Data Documentation

QIcon NavToolButton::m_hoverIcon
private

Definition at line 131 of file navigationbar.cpp.

bool NavToolButton::m_iconCached
private

Definition at line 130 of file navigationbar.cpp.

bool NavToolButton::m_subBar
private

Definition at line 129 of file navigationbar.cpp.


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