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

#include <GUIComponentWithOutput.h>

Inheritance diagram for icl::qt::GUIComponentWithOutput:
icl::qt::GUIComponent icl::qt::Button icl::qt::ButtonGroup icl::qt::CheckBox icl::qt::ColorSelect icl::qt::Float icl::qt::FSlider icl::qt::Int icl::qt::Slider icl::qt::Spinner

List of all members.

Public Member Functions

 GUIComponentWithOutput (const std::string &type, const std::string &params)
const GUIComponentWithOutputhandle (const std::string &handle) const
 sets the component handle
const GUIComponentWithOutputlabel (const std::string &label) const
 sets the component label
const GUIComponentWithOutputtooltip (const std::string &tooltip) const
 sets the component tooltip
const GUIComponentWithOutputsize (const utils::Size &size) const
 sets the component initial size
const GUIComponentWithOutputsize (int w, int h) const
 sets the component initial size
const GUIComponentWithOutputminSize (const utils::Size &minSize) const
 sets the component minimum size constraint
const GUIComponentWithOutputminSize (int w, int h) const
 sets the component minimum size constraint
const GUIComponentWithOutputmaxSize (const utils::Size &maxSize) const
 sets the component maximum size constraint
const GUIComponentWithOutputmaxSize (int w, int h) const
 sets the component maximum size constraint
const GUIComponentWithOutputhideIf (bool flag) const
 hides the component if the given flag is true
const GUIComponentWithOutputout (const std::string &name) const
 sets the component output id
GUIComponentWithOutputhandle (std::string &handle)
 sets the component handle
GUIComponentWithOutputlabel (std::string &label)
 sets the component label
GUIComponentWithOutputtooltip (std::string &tooltip)
 sets the component tooltip
GUIComponentWithOutputsize (utils::Size &size)
 sets the component initial size
GUIComponentWithOutputsize (int w, int h)
 sets the component initial size
GUIComponentWithOutputminSize (utils::Size &minSize)
 sets the component minimum size constraint
GUIComponentWithOutputminSize (int w, int h)
 sets the component minimum size constraint
GUIComponentWithOutputmaxSize (utils::Size &maxSize)
 sets the component maximum size constraint
GUIComponentWithOutputmaxSize (int w, int h)
 sets the component maximum size constraint
GUIComponentWithOutputhideIf (bool flag)
 hides the component if the given flag is true
GUIComponentWithOutputout (const std::string &name)
 sets the component output id

Constructor & Destructor Documentation

icl::qt::GUIComponentWithOutput::GUIComponentWithOutput ( const std::string &  type,
const std::string &  params 
) [inline]

Member Function Documentation

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

sets the component handle

Reimplemented from icl::qt::GUIComponent.

sets the component handle

Reimplemented from icl::qt::GUIComponent.

hides the component if the given flag is true

hides the component if the given flag is true

this can be used to circumvent C++-language issues when creating GUI components optionally, e.g.

          bool flag = ....;
          GUI gui;
          gui << (flag ? Image() : Dummy()).handle("image"); // does not work
          
          gui << Image().hideIf(!flag).handle("image");    // works

Reimplemented from icl::qt::GUIComponent.

hides the component if the given flag is true

hides the component if the given flag is true

this can be used to circumvent C++-language issues when creating GUI components optionally, e.g.

          bool flag = ....;
          GUI gui;
          gui << (flag ? Image() : Dummy()).handle("image"); // does not work
          
          gui << Image().hideIf(!flag).handle("image");    // works

Reimplemented from icl::qt::GUIComponent.

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

sets the component label

Reimplemented from icl::qt::GUIComponent.

sets the component label

Reimplemented from icl::qt::GUIComponent.

sets the component maximum size constraint

Reimplemented from icl::qt::GUIComponent.

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

sets the component maximum size constraint

Reimplemented from icl::qt::GUIComponent.

sets the component maximum size constraint

Reimplemented from icl::qt::GUIComponent.

sets the component maximum size constraint

Reimplemented from icl::qt::GUIComponent.

sets the component minimum size constraint

Reimplemented from icl::qt::GUIComponent.

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

sets the component minimum size constraint

Reimplemented from icl::qt::GUIComponent.

sets the component minimum size constraint

Reimplemented from icl::qt::GUIComponent.

sets the component minimum size constraint

Reimplemented from icl::qt::GUIComponent.

const GUIComponentWithOutput& icl::qt::GUIComponentWithOutput::out ( const std::string &  name) const [inline]

sets the component output id

GUIComponentWithOutput& icl::qt::GUIComponentWithOutput::out ( const std::string &  name) [inline]

sets the component output id

sets the component initial size

Reimplemented from icl::qt::GUIComponent.

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

sets the component initial size

Reimplemented from icl::qt::GUIComponent.

sets the component initial size

Reimplemented from icl::qt::GUIComponent.

sets the component initial size

Reimplemented from icl::qt::GUIComponent.

const GUIComponentWithOutput& icl::qt::GUIComponentWithOutput::tooltip ( const std::string &  tooltip) const [inline]

sets the component tooltip

Reimplemented from icl::qt::GUIComponent.

sets the component tooltip

Reimplemented from icl::qt::GUIComponent.


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