Class OrientablePushButton#
ClassList > OrientablePushButton
Inherits the following classes: CaptureButton
Public Types#
| Type | Name |
|---|---|
| enum | Orientation |
Public Functions#
| Type | Name |
|---|---|
| OrientablePushButton (QWidget * parent=nullptr) |
|
| OrientablePushButton (const QString & text, QWidget * parent=nullptr) |
|
| OrientablePushButton (const QIcon & icon, const QString & text, QWidget * parent=nullptr) |
|
| OrientablePushButton::Orientation | orientation () const |
| void | setOrientation (OrientablePushButton::Orientation orientation) |
| QSize | sizeHint () const |
Public Functions inherited from CaptureButton#
See CaptureButton
| Type | Name |
|---|---|
| CaptureButton () = delete |
|
| CaptureButton (QWidget * parent=nullptr) |
|
| CaptureButton (const QString & text, QWidget * parent=nullptr) |
|
| CaptureButton (const QIcon & icon, const QString & text, QWidget * parent=nullptr) |
|
| void | setColor (const QColor & c) |
| QString | styleSheet () const |
Public Static Functions inherited from CaptureButton#
See CaptureButton
| Type | Name |
|---|---|
| QString | globalStyleSheet () |
Protected Functions#
| Type | Name |
|---|---|
| void | paintEvent (QPaintEvent * event) |
Public Types Documentation#
enum Orientation#
enum OrientablePushButton::Orientation {
Horizontal,
VerticalTopToBottom,
VerticalBottomToTop
};
Public Functions Documentation#
function OrientablePushButton [1/3]#
OrientablePushButton::OrientablePushButton (
QWidget * parent=nullptr
)
function OrientablePushButton [2/3]#
OrientablePushButton::OrientablePushButton (
const QString & text,
QWidget * parent=nullptr
)
function OrientablePushButton [3/3]#
OrientablePushButton::OrientablePushButton (
const QIcon & icon,
const QString & text,
QWidget * parent=nullptr
)
function orientation#
OrientablePushButton::Orientation OrientablePushButton::orientation () const
function setOrientation#
void OrientablePushButton::setOrientation (
OrientablePushButton::Orientation orientation
)
function sizeHint#
QSize OrientablePushButton::sizeHint () const
Protected Functions Documentation#
function paintEvent#
void OrientablePushButton::paintEvent (
QPaintEvent * event
)