wwWidgets Home · All Namespaces · All Classes · Main Classes · Grouped Classes · Modules · Functions

QwwConfigWidget Class Reference

A multipage container widget organizing configuration pages More...

 #include <QwwConfigWidget>

Properties

Public Functions

Public Slots

Signals


Detailed Description

A multipage container widget organizing configuration pages


Property Documentation

count : const int

This property holds this property holds the number of pages in the widget.

Access functions:

currentIndex : int

This property holds index of the currently selected group.

Access functions:

iconSize : QSize

This property holds this property holds the icon size used for this button.

The default size is defined by the GUI style. This is a maximum size for the icons. Smaller icons will not be scaled up.

Access functions:


Member Function Documentation

QwwConfigWidget::QwwConfigWidget ( QWidget * parent = 0 )

Constructs a config widget with a given parent.

void QwwConfigWidget::addGroup ( QWidget * group, const QIcon & icon = QIcon(), const QString & name = QString() )

Appends a new group with icon icon and label name into the widget

See also insertGroup().

QWidget * QwwConfigWidget::currentGroup () const

Returns a configuration group widget that is currently selected.

See also setCurrentGroup() and group().

void QwwConfigWidget::currentIndexChanged ( int index )   [signal]

This signal is emitted when current page of the widget is changed to index.

QWidget * QwwConfigWidget::group ( int index ) const

Returns a configuration group widget with a specified index.

See also currentGroup().

void QwwConfigWidget::insertGroup ( int index, QWidget * group, const QIcon & icon = QIcon(), const QString & label = QString() )

Inserts a new group with an icon and a label to the widget at arbitrary index.

See also addGroup().

void QwwConfigWidget::setCurrentGroup ( QWidget * widget )   [slot]

Sets the currently selected group to the specified widget.

See also currentGroup().

void QwwConfigWidget::setGroupIcon ( int index, const QIcon & icon )   [slot]

Sets icon as the icon of group specified by index.

void QwwConfigWidget::setGroupLabel ( int index, const QString & title )   [slot]

Sets title as the label of a group specified by index.


Copyright © 2007-2009 Witold Wysota Trademarks
wwWidgets 0.9.6