36 #include <QtCore/QMutex> 55 virtual void paintEvent(QPaintEvent *evt);
82 bool hasAlpha()
const;
core::Color4D & m_color
shallowly wrapped color
Definition: ColorLabel.h:87
undocument this line if you encounter any issues!
Definition: Any.h:37
bool m_hasAlpha
indicator wheter alpha is used
Definition: ColorLabel.h:90
QMutex m_oMutex
Thread-safety mutex.
Definition: ColorLabel.h:93
#define ICLQt_API
Definition: CompatMacros.h:178
ICLQt_API void color(float r, float g=-1, float b=-1, float alpha=255)
sets the current color to given r,g,b,alpha value
Utility class to avoid Qt warning when accesing QLabels from differnt Threads.
Definition: ColorLabel.h:49