NavigationToolButton Class
NavigationToolButton class provides a tool button usually used inside a NavigationBar. More...
Header: | #include <NavigationToolButton> |
Inherits: | NavigationItem |
Inherited By: |
Public Functions
NavigationToolButton(NavigationBar *navigationBar = Q_NULL) |
Protected Functions
QSize | calcSizeHint(Qtitan::ExpandingMode mode, Qt::Orientation orientation, bool splitButtonEnabled) const |
Reimplemented Protected Functions
virtual void | acceptClick() override |
virtual bool | event(QEvent *event) override |
virtual bool | hitButton(const QPoint &pos) const override |
virtual void | mouseDoubleClickEvent(QMouseEvent *event) override |
virtual void | mouseMoveEvent(QMouseEvent *event) override |
virtual void | paintEvent(QPaintEvent *event) override |
virtual void | resizeEvent(QResizeEvent *event) override |
Detailed Description
Member Function Documentation
[explicit]
NavigationToolButton::NavigationToolButton(NavigationBar *navigationBar = Q_NULL)
Constructor of the class NavigationToolButton. The parameter navigationBar is a widget which will be parent and owner for the button.
[override virtual protected]
void NavigationToolButton::acceptClick()
[protected]
QSize NavigationToolButton::calcSizeHint(Qtitan::ExpandingMode mode, Qt::Orientation orientation, bool splitButtonEnabled) const
[override virtual protected]
bool NavigationToolButton::event(QEvent *event)
Reimplements: QAbstractButton::event(QEvent *e).
[override virtual protected]
bool NavigationToolButton::hitButton(const QPoint &pos) const
Reimplements: QAbstractButton::hitButton(const QPoint &pos) const.
[override virtual protected]
void NavigationToolButton::mouseDoubleClickEvent(QMouseEvent *event)
Reimplements: QWidget::mouseDoubleClickEvent(QMouseEvent *event).
[override virtual protected]
void NavigationToolButton::mouseMoveEvent(QMouseEvent *event)
Reimplements: QAbstractButton::mouseMoveEvent(QMouseEvent *e).
[override virtual protected]
void NavigationToolButton::paintEvent(QPaintEvent *event)
Reimplements: QAbstractButton::paintEvent(QPaintEvent *e).
[override virtual protected]
void NavigationToolButton::resizeEvent(QResizeEvent *event)
Reimplements: QWidget::resizeEvent(QResizeEvent *event).