#include <Libs/Widgets/ctkMenuButton.h>
|
QScopedPointer< ctkMenuButtonPrivate > | d_ptr |
|
Description ctkMenuButton is a QPushButton that separates the clickable area for poping up the optional QMenu from the traditional area of the QPushButton. The menu indicator in the button has its own button and clicking it pops up the menu. ctkMenuButton makes sense only if a QMenu is set.
Definition at line 41 of file ctkMenuButton.h.
◆ ctkMenuButton() [1/2]
ctkMenuButton::ctkMenuButton |
( |
QWidget * |
parent = 0 | ) |
|
◆ ctkMenuButton() [2/2]
ctkMenuButton::ctkMenuButton |
( |
const QString & |
text, |
|
|
QWidget * |
parent = 0 |
|
) |
| |
◆ ~ctkMenuButton()
virtual ctkMenuButton::~ctkMenuButton |
( |
| ) |
|
|
virtual |
◆ hitButton()
virtual bool ctkMenuButton::hitButton |
( |
const QPoint & |
pos | ) |
const |
|
protectedvirtual |
Reimplemented for internal reasons.
◆ initStyleOption()
virtual void ctkMenuButton::initStyleOption |
( |
QStyleOptionButton * |
option | ) |
const |
|
protectedvirtual |
Reimplemented for internal reasons.
◆ minimumSizeHint()
virtual QSize ctkMenuButton::minimumSizeHint |
( |
| ) |
const |
|
virtual |
Reimplemented for internal reasons.
◆ mousePressEvent()
virtual void ctkMenuButton::mousePressEvent |
( |
QMouseEvent * |
event | ) |
|
|
protectedvirtual |
Reimplemented for internal reasons.
◆ paintEvent()
virtual void ctkMenuButton::paintEvent |
( |
QPaintEvent * |
| ) |
|
|
protectedvirtual |
Reimplemented for internal reasons.
◆ sizeHint()
virtual QSize ctkMenuButton::sizeHint |
( |
| ) |
const |
|
virtual |
Reimplemented for internal reasons.
◆ d_ptr
QScopedPointer<ctkMenuButtonPrivate> ctkMenuButton::d_ptr |
|
protected |
The documentation for this class was generated from the following file: