Image Component Library (ICL)
|
#include <GUIComponents.h>
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 |
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.
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)
static std::string icl::qt::Button::form_args | ( | const std::string & | text, |
const std::string & | toggledText, | ||
bool | initiallyToggled | ||
) | [inline, static, private] |
utility method