35 #include <QtCore/QString> 56 void operator=(
const std::string &
text);
65 std::string getValue()
const;
68 std::string getCurrentText()
const;
void operator=(const QString &text)
makes the associated textfield show the given text
Definition: StringHandle.h:59
undocument this line if you encounter any issues!
Definition: Any.h:37
Class for handling "string" textfield components.
Definition: StringHandle.h:46
StringHandle(QLineEdit *le, std::string *str, GUIWidget *w)
Create a new Int handle.
Definition: StringHandle.h:52
ICLQt_API void text(ImgQ &image, int x, int y, const string &text)
renders a text into an image (only available with Qt-Support)
std::string * m_str
Definition: StringHandle.h:71
Abstract base class for Handle classes.
Definition: GUIHandle.h:40
StringHandle()
Creates an empty string handle.
Definition: StringHandle.h:49
std::string str(const T &t)
convert a data type into a string using an std::ostringstream instance
Definition: StringUtils.h:136
#define ICLQt_API
Definition: CompatMacros.h:178
void operator=(const char *text)
makes the associated textfield show the given text
Definition: StringHandle.h:62