58 void append(
const std::string &
text);
71 void setMaxLen(
int maxLen);
74 int getMaxLen()
const;
84 void removeOldLines();
Class for GUI-Label handling a so called state component.
Definition: StateHandle.h:46
Definition: ThreadedUpdatableTextView.h:41
undocument this line if you encounter any issues!
Definition: Any.h:37
StateHandle & operator<<(const T &t)
appends anything in std::ostream manner
Definition: StateHandle.h:62
ICLQt_API void text(ImgQ &image, int x, int y, const string &text)
renders a text into an image (only available with Qt-Support)
const ThreadedUpdatableTextView * text() const
utitlity function
Definition: StateHandle.h:81
StateHandle()
Create an empty handle.
Definition: StateHandle.h:51
Abstract base class for Handle classes.
Definition: GUIHandle.h:40
StateHandle(ThreadedUpdatableTextView *l, GUIWidget *w, int maxLen)
Create a new LabelHandle.
Definition: StateHandle.h:54
std::string str(const T &t)
convert a data type into a string using an std::ostringstream instance
Definition: StringUtils.h:136
ThreadedUpdatableTextView * text()
utitlity function
Definition: StateHandle.h:78
#define ICLQt_API
Definition: CompatMacros.h:178
int maxLen
Definition: StateHandle.h:47