|
| Button (const std::string &text, const std::string &toggledText="", bool initiallyToggled=false) |
| creates button component (if toggledText is empty, a push-button is created) More...
|
|
| GUIComponentWithOutput (const std::string &type, const std::string ¶ms) |
|
const GUIComponentWithOutput & | handle (const std::string &handle) const |
| sets the component handle More...
|
|
const GUIComponentWithOutput & | label (const std::string &label) const |
| sets the component label More...
|
|
const GUIComponentWithOutput & | tooltip (const std::string &tooltip) const |
| sets the component tooltip More...
|
|
const GUIComponentWithOutput & | size (const utils::Size &size) const |
| sets the component initial size More...
|
|
const GUIComponentWithOutput & | size (int w, int h) const |
| sets the component initial size More...
|
|
const GUIComponentWithOutput & | minSize (const utils::Size &minSize) const |
| sets the component minimum size constraint More...
|
|
const GUIComponentWithOutput & | minSize (int w, int h) const |
| sets the component minimum size constraint More...
|
|
const GUIComponentWithOutput & | maxSize (const utils::Size &maxSize) const |
| sets the component maximum size constraint More...
|
|
const GUIComponentWithOutput & | maxSize (int w, int h) const |
| sets the component maximum size constraint More...
|
|
const GUIComponentWithOutput & | hideIf (bool flag) const |
| hides the component if the given flag is true More...
|
|
const GUIComponentWithOutput & | out (const std::string &name) const |
| sets the component output id More...
|
|
GUIComponentWithOutput & | handle (std::string &handle) |
| sets the component handle More...
|
|
GUIComponentWithOutput & | label (std::string &label) |
| sets the component label More...
|
|
GUIComponentWithOutput & | tooltip (std::string &tooltip) |
| sets the component tooltip More...
|
|
GUIComponentWithOutput & | size (utils::Size &size) |
| sets the component initial size More...
|
|
GUIComponentWithOutput & | size (int w, int h) |
| sets the component initial size More...
|
|
GUIComponentWithOutput & | minSize (utils::Size &minSize) |
| sets the component minimum size constraint More...
|
|
GUIComponentWithOutput & | minSize (int w, int h) |
| sets the component minimum size constraint More...
|
|
GUIComponentWithOutput & | maxSize (utils::Size &maxSize) |
| sets the component maximum size constraint More...
|
|
GUIComponentWithOutput & | maxSize (int w, int h) |
| sets the component maximum size constraint More...
|
|
GUIComponentWithOutput & | hideIf (bool flag) |
| hides the component if the given flag is true More...
|
|
GUIComponentWithOutput & | out (const std::string &name) |
| sets the component output id More...
|
|
const GUIComponent & | handle (const std::string &handle) const |
| sets the component handle More...
|
|
const GUIComponent & | label (const std::string &label) const |
| sets the component label More...
|
|
const GUIComponent & | tooltip (const std::string &tooltip) const |
| sets the component tooltip More...
|
|
const GUIComponent & | size (const utils::Size &size) const |
| sets the component initial size More...
|
|
const GUIComponent & | size (int w, int h) const |
| sets the component initial size More...
|
|
const GUIComponent & | minSize (const utils::Size &minSize) const |
| sets the component minimum size constraint More...
|
|
const GUIComponent & | minSize (int w, int h) const |
| sets the component minimum size constraint More...
|
|
const GUIComponent & | maxSize (const utils::Size &maxSize) const |
| sets the component maximum size constraint More...
|
|
const GUIComponent & | maxSize (int w, int h) const |
| sets the component maximum size constraint More...
|
|
const GUIComponent & | hideIf (bool flag) const |
| hides the component if the given flag is true More...
|
|
GUIComponent & | handle (std::string &handle) |
| sets the component handle More...
|
|
GUIComponent & | label (std::string &label) |
| sets the component label More...
|
|
GUIComponent & | tooltip (std::string &tooltip) |
| sets the component tooltip More...
|
|
GUIComponent & | size (utils::Size &size) |
| sets the component initial size More...
|
|
GUIComponent & | size (int w, int h) |
| sets the component initial size More...
|
|
GUIComponent & | minSize (utils::Size &minSize) |
| sets the component minimum size constraint More...
|
|
GUIComponent & | minSize (int w, int h) |
| sets the component minimum size constraint More...
|
|
GUIComponent & | maxSize (utils::Size &maxSize) |
| sets the component maximum size constraint More...
|
|
GUIComponent & | maxSize (int w, int h) |
| sets the component maximum size constraint More...
|
|
GUIComponent & | hideIf (bool flag) |
| hides the component if the given flag is true More...
|
|
std::string | toString () const |
| creates a string representation of the component More...
|
|
|
| GUIComponent (const std::string &type, const std::string ¶ms="") |
| creates a component with given type and optionally given parameters More...
|
|
template<class A , class B , class C > |
static std::string | form_args_3 (const A &a, const B &b, const C &c) |
| utility method to concatenate 3 values More...
|
|
template<class A , class B , class C , class D > |
static std::string | form_args_4 (const A &a, const B &b, const C &c, const D &d) |
| utility method to concatenate 4 values More...
|
|
template<class A , class B , class C , class D , class E > |
static std::string | form_args_5 (const A &a, const B &b, const C &c, const D &d, const E &e) |
| utility method to concatenate 5 values More...
|
|
template<class A , class B , class C , class D , class E , class F > |
static std::string | form_args_6 (const A &a, const B &b, const C &c, const D &d, const E &e, const F &f) |
| utility method to concatenate 5 values More...
|
|
Options | m_options |
| all component options (mutable for C++-reasons) More...
|
|
std::string | m_type |
| component type More...
|
|
std::string | m_params |
| component parameters More...
|
|
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.