35 #include <QtCore/QString> 36 #include <QtCore/QMutex> 55 virtual void paintEvent(QPaintEvent *evt);
64 void setText(
const QString &
text);
70 Qt::Alignment getAlignment()
const;
73 void setAlignment(Qt::Alignment a);
undocument this line if you encounter any issues!
Definition: Any.h:37
ICLQt_API void text(ImgQ &image, int x, int y, const string &text)
renders a text into an image (only available with Qt-Support)
Utility class to avoid Qt warning when accesing QLabels from differnt Threads.
Definition: CompabilityLabel.h:49
QMutex m_oMutex
Thread-safety mutex.
Definition: CompabilityLabel.h:83
Qt::Alignment m_alignment
text alignment
Definition: CompabilityLabel.h:80
#define ICLQt_API
Definition: CompatMacros.h:178
QString m_sText
current text (protected by the mutex)
Definition: CompabilityLabel.h:77