A simple QAbstractButton implementation displaying a QPixmap.
More...
#include <iconbutton.h>
A simple QAbstractButton implementation displaying a QPixmap.
Definition at line 11 of file iconbutton.h.
◆ IconButton()
Widgets::IconButton::IconButton |
( |
QWidget * |
parent = nullptr | ) |
|
|
explicit |
◆ ~IconButton()
Widgets::IconButton::~IconButton |
( |
| ) |
|
|
override |
◆ keyPressEvent()
void Widgets::IconButton::keyPressEvent |
( |
QKeyEvent * |
event | ) |
|
|
overrideprotected |
◆ keyReleaseEvent()
void Widgets::IconButton::keyReleaseEvent |
( |
QKeyEvent * |
event | ) |
|
|
overrideprotected |
◆ paintEvent()
void Widgets::IconButton::paintEvent |
( |
QPaintEvent * |
event | ) |
|
|
overrideprotected |
◆ pixmap()
const QPixmap& Widgets::IconButton::pixmap |
( |
| ) |
const |
◆ setPixmap()
void Widgets::IconButton::setPixmap |
( |
const QPixmap & |
pixmap | ) |
|
|
inline |
◆ sizeHint()
QSize Widgets::IconButton::sizeHint |
( |
| ) |
const |
|
override |
◆ pixmap
const QPixmap & Widgets::IconButton::pixmap |
|
inlinereadwrite |
The documentation for this class was generated from the following files: