The NavigationBar class Custom control for navigation bar.
More...
#include <navigationbar.h>
|
void | resized (const QSize &) |
| resized Signal that the size is changed More...
|
|
|
| NavigationBar (QWidget *parent=0) |
| NavigationBar Constructor. More...
|
|
void | addAction (QAction *action) |
| addAction Add action to the navigation bar More...
|
|
QAction * | addGroup (QList< QAction * > list, const QIcon &icon, const QString &text) |
| addGroup Add group of actions More...
|
|
QAction * | addGroup (QList< QAction * > list, const QString &text) |
| addGroup Add group of actions More...
|
|
void | mapGroup (QAction *action, QList< QAction * > list) |
| mapGroup Map the action with group More...
|
|
void | buildUi () |
| buildUi Construct the layout of the composite GUI control More...
|
|
|
void | setSubBar (bool subBar) |
| setSubBar Set the component be sub-navigation bar More...
|
|
The NavigationBar class Custom control for navigation bar.
Definition at line 13 of file navigationbar.h.
NavigationBar::NavigationBar |
( |
QWidget * |
parent = 0 | ) |
|
|
explicit |
void NavigationBar::addAction |
( |
QAction * |
action | ) |
|
addAction Add action to the navigation bar
- Parameters
-
Definition at line 142 of file navigationbar.cpp.
QAction * NavigationBar::addGroup |
( |
QList< QAction * > |
list, |
|
|
const QIcon & |
icon, |
|
|
const QString & |
text |
|
) |
| |
addGroup Add group of actions
- Parameters
-
list | List of actions |
icon | Icon for the group of actions |
text | Text for the group of actions |
- Returns
- New action associated with the group
Definition at line 148 of file navigationbar.cpp.
QAction * NavigationBar::addGroup |
( |
QList< QAction * > |
list, |
|
|
const QString & |
text |
|
) |
| |
addGroup Add group of actions
- Parameters
-
list | List of actions |
text | Text for the group of actions |
- Returns
- New action associated with the group
Definition at line 156 of file navigationbar.cpp.
void NavigationBar::buildUi |
( |
| ) |
|
buildUi Construct the layout of the composite GUI control
Definition at line 164 of file navigationbar.cpp.
void NavigationBar::mapGroup |
( |
QAction * |
action, |
|
|
QList< QAction * > |
list |
|
) |
| |
mapGroup Map the action with group
- Parameters
-
action | Action result of group creation |
list | List of group actions |
Definition at line 290 of file navigationbar.cpp.
void NavigationBar::onSubBarClick |
( |
bool |
clicked | ) |
|
|
slot |
void NavigationBar::resized |
( |
const QSize & |
_t1 | ) |
|
|
signal |
void NavigationBar::resizeEvent |
( |
QResizeEvent * |
evt | ) |
|
|
protected |
void NavigationBar::setSubBar |
( |
bool |
subBar | ) |
|
|
private |
setSubBar Set the component be sub-navigation bar
- Parameters
-
subBar | Is the component sub-navigation bar |
Definition at line 297 of file navigationbar.cpp.
void NavigationBar::setToolButtonStyle |
( |
Qt::ToolButtonStyle |
toolButtonStyle | ) |
|
|
slot |
setToolButtonStyle Set the style for the tool buttons
- Parameters
-
toolButtonStyle | Tool button style |
Definition at line 278 of file navigationbar.cpp.
QList<QAction*> NavigationBar::m_actions |
|
private |
bool NavigationBar::m_built |
|
private |
QMap<QAction*, QList<QAction*> > NavigationBar::m_groups |
|
private |
bool NavigationBar::m_subBar |
|
private |
Qt::ToolButtonStyle NavigationBar::m_toolStyle |
|
private |
The documentation for this class was generated from the following files: