Image Component Library (ICL)
|
Class for GUI-Label handling. More...
#include <LabelHandle.h>
Public Member Functions | |
LabelHandle () | |
Create an empty handle. | |
LabelHandle (CompabilityLabel *l, GUIWidget *w) | |
Create a new LabelHandle. | |
void | operator= (const std::string &text) |
assign a std::string (makes the underlying label show that string) | |
void | operator= (const QString &text) |
assign a QString (makes the underlying label show that string) | |
void | operator= (const char *text) |
assign a const char* (makes the underlying label show that string) | |
void | operator= (int num) |
assign an int (makes the underlying label show that integer) | |
void | operator= (double num) |
assign a double (makes the underlying label show that double) | |
void | operator+= (const std::string &text) |
appends text to the current text | |
Private Member Functions | |
CompabilityLabel * | lab () |
utitlity function | |
const CompabilityLabel * | lab () const |
utitlity function |
Class for GUI-Label handling.
The gui label is created inside the GUI class, it can be used to make GUI-"label" components show anther text
icl::qt::LabelHandle::LabelHandle | ( | ) | [inline] |
Create an empty handle.
icl::qt::LabelHandle::LabelHandle | ( | CompabilityLabel * | l, |
GUIWidget * | w | ||
) | [inline] |
Create a new LabelHandle.
CompabilityLabel* icl::qt::LabelHandle::lab | ( | ) | [inline, private] |
utitlity function
const CompabilityLabel* icl::qt::LabelHandle::lab | ( | ) | const [inline, private] |
utitlity function
void icl::qt::LabelHandle::operator+= | ( | const std::string & | text | ) |
appends text to the current text
void icl::qt::LabelHandle::operator= | ( | const std::string & | text | ) |
assign a std::string (makes the underlying label show that string)
void icl::qt::LabelHandle::operator= | ( | const QString & | text | ) |
assign a QString (makes the underlying label show that string)
void icl::qt::LabelHandle::operator= | ( | const char * | text | ) |
assign a const char* (makes the underlying label show that string)
void icl::qt::LabelHandle::operator= | ( | int | num | ) |
assign an int (makes the underlying label show that integer)
void icl::qt::LabelHandle::operator= | ( | double | num | ) |
assign a double (makes the underlying label show that double)