Image Component Library (ICL)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Protected Member Functions | Protected Attributes
icl::qt::ContainerGUIComponent Struct Reference

Special GUI extension, that mimics the GUIComponent interface. More...

#include <ContainerGUIComponent.h>

Inheritance diagram for icl::qt::ContainerGUIComponent:
icl::qt::GUI icl::qt::Border icl::qt::HBox icl::qt::HScroll icl::qt::HSplit icl::qt::Tab icl::qt::VBox icl::qt::VScroll icl::qt::VSplit

List of all members.

Public Member Functions

GUIoperator<< (const GUIComponent &component) const
 hierarchical stream operator to create complex GUIs
GUIoperator<< (const GUI &g) const
 hierarchical stream operator to create complex GUIs
const ContainerGUIComponenthandle (const std::string &handle) const
 sets the component's handle
const ContainerGUIComponentlabel (const std::string &label) const
 sets the component's label
const ContainerGUIComponentsize (const utils::Size &size) const
 sets the component's initial size
const ContainerGUIComponentsize (int w, int h) const
 sets the component's initial size
const ContainerGUIComponentminSize (const utils::Size &minSize) const
 sets the component's minimum size constraint
const ContainerGUIComponentminSize (int w, int h) const
 sets the component's minimum size constraint
const ContainerGUIComponentmaxSize (const utils::Size &maxSize) const
 sets the component's maximum size constraint
const ContainerGUIComponentmaxSize (int w, int h) const
 sets the component's maximum size constraint
const ContainerGUIComponentmargin (int margin) const
 sets the component's layout margin
const ContainerGUIComponentspacing (int spacing) const
 sets the component's layout spacing
ContainerGUIComponenthandle (const std::string &handle)
 sets the component's handle
ContainerGUIComponentlabel (const std::string &label)
 sets the component's label
ContainerGUIComponentsize (const utils::Size &size)
 sets the component's initial size
ContainerGUIComponentsize (int w, int h)
 sets the component's initial size
ContainerGUIComponentminSize (const utils::Size &minSize)
 sets the component's minimum size constraint
ContainerGUIComponentminSize (int w, int h)
 sets the component's minimum size constraint
ContainerGUIComponentmaxSize (const utils::Size &maxSize)
 sets the component's maximum size constraint
ContainerGUIComponentmaxSize (int w, int h)
 sets the component's maximum size constraint
ContainerGUIComponentmargin (int margin)
 sets the component's layout margin
ContainerGUIComponentspacing (int spacing)
 sets the component's layout spacing

Protected Member Functions

 ContainerGUIComponent (const std::string &type, const std::string &params, QWidget *parent)
 protected constructor
virtual std::string createDefinition () const
 special reimplementation of the GUI::createDefinition method

Protected Attributes

GUIComponent component
 we use these options to create the

Detailed Description

Special GUI extension, that mimics the GUIComponent interface.

The Container GUIComponent mimics the GUIComponent interface in order to provide a unified look and feel within a hierarchical GUI definition section. Internally a mutable GUIComponent is used for parameter accumulation


Constructor & Destructor Documentation

icl::qt::ContainerGUIComponent::ContainerGUIComponent ( const std::string &  type,
const std::string &  params,
QWidget *  parent 
) [inline, protected]

protected constructor


Member Function Documentation

virtual std::string icl::qt::ContainerGUIComponent::createDefinition ( ) const [inline, protected, virtual]

special reimplementation of the GUI::createDefinition method

Reimplemented from icl::qt::GUI.

const ContainerGUIComponent& icl::qt::ContainerGUIComponent::handle ( const std::string &  handle) const [inline]

sets the component's handle

ContainerGUIComponent& icl::qt::ContainerGUIComponent::handle ( const std::string &  handle) [inline]

sets the component's handle

const ContainerGUIComponent& icl::qt::ContainerGUIComponent::label ( const std::string &  label) const [inline]

sets the component's label

ContainerGUIComponent& icl::qt::ContainerGUIComponent::label ( const std::string &  label) [inline]

sets the component's label

const ContainerGUIComponent& icl::qt::ContainerGUIComponent::margin ( int  margin) const [inline]

sets the component's layout margin

sets the component's layout margin

sets the component's maximum size constraint

const ContainerGUIComponent& icl::qt::ContainerGUIComponent::maxSize ( int  w,
int  h 
) const [inline]

sets the component's maximum size constraint

sets the component's maximum size constraint

sets the component's maximum size constraint

sets the component's minimum size constraint

const ContainerGUIComponent& icl::qt::ContainerGUIComponent::minSize ( int  w,
int  h 
) const [inline]

sets the component's minimum size constraint

sets the component's minimum size constraint

sets the component's minimum size constraint

GUI& icl::qt::ContainerGUIComponent::operator<< ( const GUIComponent component) const [inline]

hierarchical stream operator to create complex GUIs

GUI& icl::qt::ContainerGUIComponent::operator<< ( const GUI g) const [inline]

hierarchical stream operator to create complex GUIs

sets the component's initial size

const ContainerGUIComponent& icl::qt::ContainerGUIComponent::size ( int  w,
int  h 
) const [inline]

sets the component's initial size

sets the component's initial size

sets the component's initial size

const ContainerGUIComponent& icl::qt::ContainerGUIComponent::spacing ( int  spacing) const [inline]

sets the component's layout spacing

sets the component's layout spacing


Member Data Documentation

we use these options to create the

Please note that inheritance is not possible because it leads to an abiguous overload for the GUI<<-operator


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines