RibbonButton Class
RibbonButton class implements tool button that used in ribbon ui. Button appearance and behavior adapted for display inside the RibbonBar. More...
| Header: | #include <RibbonButton> |
| Inherits: | QToolButton |
Public Functions
| bool | isLargeIcon() const |
| void | setLargeIcon(bool large) |
| void | setSimplifiedMode(bool enabled) |
| void | setWordWrap(bool on) |
| bool | simplifiedMode() const |
| bool | wordWrap() const |
Reimplemented Public Functions
| virtual QSize | sizeHint() const override |
Reimplemented Protected Functions
| virtual void | actionEvent(QActionEvent *event) override |
| virtual void | changeEvent(QEvent *event) override |
| virtual bool | event(QEvent *event) override |
| virtual void | paintEvent(QPaintEvent *event) override |
Detailed Description
Member Function Documentation
[override virtual protected] void RibbonButton::actionEvent(QActionEvent *event)
Reimplements: QToolButton::actionEvent(QActionEvent *event).
[override virtual protected] void RibbonButton::changeEvent(QEvent *event)
Reimplements: QToolButton::changeEvent(QEvent *e).
[override virtual protected] bool RibbonButton::event(QEvent *event)
Reimplements: QToolButton::event(QEvent *event).
[override virtual protected] void RibbonButton::paintEvent(QPaintEvent *event)
Reimplements: QToolButton::paintEvent(QPaintEvent *event).
[override virtual] QSize RibbonButton::sizeHint() const
Reimplements: QToolButton::sizeHint() const.