A wrapper for side viewer widgets.
More...
#include <DynamicSideWidgetWrapper.h>
List of all members.
Public Member Functions |
QString | currentText () const |
| Function which returns the current text in the combo box.
|
QWidget * | currentWidget () const |
| Returns the current widget displayed in this wrapper.
|
| DynamicSideWidgetWrapper (QMap< QString, ISideViewerWidget * > text_iface_map, const QString ¤t_text, const bool is_exclusive, QWidget *parent=0) |
| Constructs a dynamic side widget wrapper widget.
|
Static Public Member Functions |
static QLatin1String | comboBoxStyle () |
| Static function to access the style this widget uses for its combo boxes.
|
Detailed Description
A wrapper for side viewer widgets.
Constructor & Destructor Documentation
Qtilities::CoreGui::DynamicSideWidgetWrapper::DynamicSideWidgetWrapper |
( |
QMap< QString, ISideViewerWidget * > |
text_iface_map, |
|
|
const QString & |
current_text, |
|
|
const bool |
is_exclusive, |
|
|
QWidget * |
parent = 0 |
|
) |
| |
Constructs a dynamic side widget wrapper widget.
- Parameters:
-
text_iface_map | The string-interface map which must be shown in this widget. |
current_text | The current widget that is shown. |
is_exclusive | Indicates if this wrapper is part of an exclusive side widget viewer. |
parent | The parent of this widget. |
Member Function Documentation
QLatin1String Qtilities::CoreGui::DynamicSideWidgetWrapper::comboBoxStyle |
( |
| ) |
|
|
static |
Static function to access the style this widget uses for its combo boxes.
This function was added in Qtilities v1.2.
QWidget * Qtilities::CoreGui::DynamicSideWidgetWrapper::currentWidget |
( |
| ) |
const |
Returns the current widget displayed in this wrapper.
- Returns:
- The current widget displayed in this wrapper.
This function was added in Qtilities v1.2.
void Qtilities::CoreGui::DynamicSideWidgetWrapper::updateAvailableWidgets |
( |
QMap< QString, ISideViewerWidget * > |
text_iface_map | ) |
|
|
slot |
This function expects a map of widgets which can still be produced.
- Note:
- The current widget should not be in map list.