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()
QtUtilities::IconButton::IconButton |
( |
QWidget * |
parent = nullptr | ) |
|
|
explicit |
◆ ~IconButton()
QtUtilities::IconButton::~IconButton |
( |
| ) |
|
|
override |
◆ keyPressEvent()
void QtUtilities::IconButton::keyPressEvent |
( |
QKeyEvent * |
event | ) |
|
|
overrideprotected |
◆ keyReleaseEvent()
void QtUtilities::IconButton::keyReleaseEvent |
( |
QKeyEvent * |
event | ) |
|
|
overrideprotected |
◆ paintEvent()
void QtUtilities::IconButton::paintEvent |
( |
QPaintEvent * |
event | ) |
|
|
overrideprotected |
◆ pixmap()
const QPixmap & QtUtilities::IconButton::pixmap |
( |
| ) |
const |
|
inline |
◆ setPixmap()
void QtUtilities::IconButton::setPixmap |
( |
const QPixmap & |
pixmap | ) |
|
|
inline |
◆ sizeHint()
QSize QtUtilities::IconButton::sizeHint |
( |
| ) |
const |
|
override |
◆ pixmap
QPixmap QtUtilities::IconButton::pixmap |
|
readwrite |
The documentation for this class was generated from the following files: