NavigationBar Class
Class is used to add Microsoft like CRM navigation bar to the form. More...
| Header: | #include <NavigationBar> |
| Inherits: | QWidget |
Public Types
| enum | NavigationIcon { Shelf, Home, MRU, New, Delete, …, Help } |
Public Functions
| NavigationBar(QWidget *parent = Q_NULL) | |
| NavigationToolButton * | buttonByAction(QAction *action) const |
| NavigationBar::OverflowMode | overflowMode() const |
| void | setOverflowMode(NavigationBar::OverflowMode mode) |
Reimplemented Protected Functions
| virtual void | actionEvent(QActionEvent *event) override |
| virtual void | changeEvent(QEvent *event) override |
| virtual bool | eventFilter(QObject *object, QEvent *event) override |
| virtual void | moveEvent(QMoveEvent *event) override |
| virtual void | paintEvent(QPaintEvent *event) override |
| virtual void | resizeEvent(QResizeEvent *event) override |
| virtual void | showEvent(QShowEvent *event) override |
Detailed Description
Member Type Documentation
enum NavigationBar::NavigationIcon
Enumerator NavigationIcon describes the set of standard icons that can be used to create navigation tool buttons.
| Constant | Value | Description |
|---|---|---|
NavigationBar::Shelf | 0 | Shelf icon |
NavigationBar::Home | 1 | Home icon |
NavigationBar::MRU | 2 | Most recently used icon |
NavigationBar::New | 3 | New item icon |
NavigationBar::Delete | 4 | Delete item icon |
NavigationBar::Settings | 5 | Application settings icon |
NavigationBar::Question | 6 | Question icon |
NavigationBar::Help | 7 | Help icon |
Member Function Documentation
[explicit] NavigationBar::NavigationBar(QWidget *parent = Q_NULL)
Constructor of the class NavigationBar. The parameter parent is a widget which will be parent and owner for the navigation bar.
[override virtual protected] void NavigationBar::actionEvent(QActionEvent *event)
Reimplements: QWidget::actionEvent(QActionEvent *event).
NavigationToolButton *NavigationBar::buttonByAction(QAction *action) const
Returns the navigation button by action.
See also buttonCount, buttonByIndex, and buttonByWidget.
[override virtual protected] void NavigationBar::changeEvent(QEvent *event)
Reimplements: QWidget::changeEvent(QEvent *event).
[override virtual protected] bool NavigationBar::eventFilter(QObject *object, QEvent *event)
Reimplements: QObject::eventFilter(QObject *watched, QEvent *event).
[override virtual protected] void NavigationBar::moveEvent(QMoveEvent *event)
Reimplements: QWidget::moveEvent(QMoveEvent *event).
[override virtual protected] void NavigationBar::paintEvent(QPaintEvent *event)
Reimplements: QWidget::paintEvent(QPaintEvent *event).
[override virtual protected] void NavigationBar::resizeEvent(QResizeEvent *event)
Reimplements: QWidget::resizeEvent(QResizeEvent *event).
[override virtual protected] void NavigationBar::showEvent(QShowEvent *event)
Reimplements: QWidget::showEvent(QShowEvent *event).