wwWidgets Home · All Classes · Main Classes · Grouped Classes · Functions |
The QwwNavigationBar class provides a widget similar to MS Outlook navigation bar. More...
#include <QwwNavigationBar>
This class is not part of the Qt GUI Framework Edition.
Inherits QWidget.
QwwNavigationBar ( QWidget * parent = 0 ) | |
void | addWidget ( QWidget * child, const QIcon & icon, const QString & label = QString::null ) |
void | addWidget ( QWidget * child, const QString & label = QString::null ) |
const QPushButton * | button ( int index ) const |
int | currentIndex () const |
int | indexOf ( QWidget * widget ) const |
void | insertWidget ( int index, QWidget * child, const QIcon & icon, const QString & label = QString::null ) |
void | insertWidget ( int index, QWidget * child, const QString & label = QString::null ) |
void | removeWidget ( int index ) |
void | setCurrentWidget ( QWidget * widget ) |
void | setWidgetIcon ( int index, const QIcon & icon ) |
void | setWidgetLabel ( int index, const QString & label ) |
bool | topWidgetIsVisible () const |
QWidget * | widget ( int index ) const |
int | widgetCount () const |
QIcon | widgetIcon ( int index ) const |
QString | widgetLabel ( int index ) const |
void | setCurrentIndex ( int index ) |
void | setTopWidgetVisible ( bool v ) |
void | currentIndexChanged ( int index ) |
void | topWidgetVisibleChanged ( bool vis ) |
void | widgetIconChanged ( const QIcon & icon ) |
void | widgetIconChanged ( int index, const QIcon & ) |
void | widgetLabelChanged ( const QString & label ) |
void | widgetLabelChanged ( int index, const QString & ) |
virtual bool | eventFilter ( QObject *, QEvent * ) |
The QwwNavigationBar class provides a widget similar to MS Outlook navigation bar.
Actions can be added to a navigation bar which causes buttons representing them to appear in the bottom of the widget.
This property holds this property holds the index position of the current bar.
Access functions:
int | currentIndex () const |
void | setCurrentIndex ( int index ) |
This property holds this property holds whether the top widget is visible.
If this property is true then a widget containing the current group is shown at the top of the widget. This property is true by default.
Access functions:
bool | topWidgetIsVisible () const |
void | setTopWidgetVisible ( bool v ) |
Constructs a navigation bar widget with a given parent
Adds child with icon and label to the navigation bar at the last position.
This is an overloaded function.
Returns pointer to a button associated with a child under index
This signal is emitted whenever the current index of the widget changes to index
Returns an index of widget in the navigation bar
Inserts widget specified by child with icon and label to the navigation bar under position index
This is an overloaded function.
Removes widget specified by index from the navigation bar
Sets widget as the currently visible widget.
Associates icon with a widget under index
See also widgetIcon().
Sets label as the title for the widget under index
See also widgetLabel().
This signal is emitted whenever visibility of the top widget changes to vis
Returns a pointer to the widget at position index
Returns the number of widgets in the navigation bar.
Returns icon of the widget under index
See also setWidgetIcon().
This signal is emitted when the icon of the current widget changes to icon.
Returns label of the widget under index
See also setWidgetLabel().
This signal is emitted when the label of the current widget changes to label.
Copyright © 2007-2010 Witold Wysota | Trademarks | wwWidgets 1.0.0 |