NavigationPane Class
NavigationPane is a base class for the panels in the application that contais navigation bar. It is used as an ancestor for classes NavigationMainMenu, NavigationBackstageMenu, NavigationSidePane. More...
| Header: | #include <NavigationPane> |
| Inherits: | NavigationMaterialWidget |
| Inherited By: |
Public Functions
| NavigationPane(NavigationBar *navigationBar) | |
| const QColor & | backgroundColor() const |
| void | hidePanel() |
| void | showPanel() |
Reimplemented Protected Functions
| virtual void | hideEvent(QHideEvent *event) override |
| virtual void | showEvent(QShowEvent *event) override |
Detailed Description
Member Function Documentation
[explicit] NavigationPane::NavigationPane(NavigationBar *navigationBar)
Constructor of the class NavigationPane. Parameter the navigationBar it is navigation bar that will be owner of the pane.
const QColor &NavigationPane::backgroundColor() const
Returns background color of the panel. It equals palette().color(backgroundRole()).
[override virtual protected] void NavigationPane::hideEvent(QHideEvent *event)
Reimplements: MaterialWidget::hideEvent(QHideEvent *event).
void NavigationPane::hidePanel()
Hides the panel.
[override virtual protected] void NavigationPane::showEvent(QShowEvent *event)
Reimplements: MaterialWidget::showEvent(QShowEvent *event).
void NavigationPane::showPanel()
Shows the panel.