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

Button Component. More...

#include <GUIComponents.h>

Inheritance diagram for icl::qt::Button:
icl::qt::GUIComponentWithOutput icl::qt::GUIComponent

List of all members.

Public Member Functions

 Button (const std::string &text, const std::string &toggledText="", bool initiallyToggled=false)
 creates button component (if toggledText is empty, a push-button is created)

Static Private Member Functions

static std::string form_args (const std::string &text, const std::string &toggledText, bool initiallyToggled)
 utility method

Detailed Description

Button Component.

Buttons can either be push- or toggle buttons. Buttons create a ButtonHandle. If a toggle button is created, also an output of type bool is created, which is true as long as the button is toggled.


Constructor & Destructor Documentation

icl::qt::Button::Button ( const std::string &  text,
const std::string &  toggledText = "",
bool  initiallyToggled = false 
) [inline]

creates button component (if toggledText is empty, a push-button is created)


Member Function Documentation

static std::string icl::qt::Button::form_args ( const std::string &  text,
const std::string &  toggledText,
bool  initiallyToggled 
) [inline, static, private]

utility method


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