QwwNavigationBar Class Reference
[wwWidgets module]
The QwwNavigationBar class provides a widget similar to MS Outlook navigation bar. Some details will follow... More...
#include <QwwNavigationBar>
Properties
Public Functions
- 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
Public Slots
Signals
Detailed Description
The QwwNavigationBar class provides a widget similar to MS Outlook navigation bar. Some details will follow...
Or even more....

Property Documentation
currentIndex : int
This property holds this property holds the index position of the current bar.
Access functions:
- int currentIndex () const
- void setCurrentIndex ( int index )
topWidgetVisible : bool
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 )
Member Function Documentation
QwwNavigationBar::QwwNavigationBar ( QWidget * parent = 0 )
Constructs a navigation bar widget with a given parent
void QwwNavigationBar::addWidget ( QWidget * child, const QIcon & icon, const QString & label = QString::null )
Adds child with icon and label to the navigation bar at the last position.
void QwwNavigationBar::addWidget ( QWidget * child, const QString & label = QString::null )
This is an overloaded member function, provided for convenience.
const QPushButton * QwwNavigationBar::button ( int index ) const
Returns pointer to a button associated with a child under index
void QwwNavigationBar::currentIndexChanged ( int index ) [signal]
This signal is emitted whenever the current index of the widget changes to index
int QwwNavigationBar::indexOf ( QWidget * widget ) const
Returns an index of widget in the navigation bar
void QwwNavigationBar::insertWidget ( int index, QWidget * child, const QIcon & icon, const QString & label = QString::null )
Inserts widget specified by child with icon and label to the navigation bar under position index
void QwwNavigationBar::insertWidget ( int index, QWidget * child, const QString & label = QString::null )
This is an overloaded member function, provided for convenience.
void QwwNavigationBar::removeWidget ( int index )
Removes widget specified by index from the navigation bar
void QwwNavigationBar::setCurrentWidget ( QWidget * widget )
Sets widget as the currently visible widget.
void QwwNavigationBar::setWidgetIcon ( int index, const QIcon & icon )
Associates icon with a widget under index
See also widgetIcon().
void QwwNavigationBar::setWidgetLabel ( int index, const QString & label )
Sets label as the title for the widget under index
See also widgetLabel().
void QwwNavigationBar::topWidgetVisibleChanged ( bool vis ) [signal]
This signal is emitted whenever visibility of the top widget changes to vis
QWidget * QwwNavigationBar::widget ( int index ) const
Returns a pointer to the widget at position index
int QwwNavigationBar::widgetCount () const
Returns the number of widgets in the navigation bar.
QIcon QwwNavigationBar::widgetIcon ( int index ) const
Returns icon of the widget under index
See also setWidgetIcon().
void QwwNavigationBar::widgetIconChanged ( const QIcon & icon ) [signal]
This signal is emitted when the icon of the current widget changes to icon.
QString QwwNavigationBar::widgetLabel ( int index ) const
Returns label of the widget under index
See also setWidgetLabel().
void QwwNavigationBar::widgetLabelChanged ( const QString & label ) [signal]
This signal is emitted when the label of the current widget changes to label.
Copyright © 2007-2009 Witold Wysota
| Trademarks |
wwWidgets 0.9.6 |