All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
Public Slots | Public Member Functions | Static Public Member Functions
Qtilities::CoreGui::DynamicSideWidgetWrapper Class Reference

A wrapper for side viewer widgets. More...

#include <DynamicSideWidgetWrapper.h>

List of all members.

Public Slots

void updateAvailableWidgets (QMap< QString, ISideViewerWidget * > text_iface_map)
 This function expects a map of widgets which can still be produced.

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 &current_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_mapThe string-interface map which must be shown in this widget.
current_textThe current widget that is shown.
is_exclusiveIndicates if this wrapper is part of an exclusive side widget viewer.
parentThe 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.


Qtilities : Reference Documentation Back to top Copyright © 2009-2013, Jaco Naudé