C
QSafeEventSetColor Class
class SafeRenderer::QSafeEventSetColorThe QSafeEventSetColor class changes the color of the text or picture element. More...
Header: | #include <QSafeEventSetColor> |
Since: | QtSafeRenderer 1.2 |
Inherits: | SafeRenderer::QSafeEvent |
This class was introduced in QtSafeRenderer 1.2.
Public Functions
void | getColor(SafeRenderer::quint32 &redArg, SafeRenderer::quint32 &greenArg, SafeRenderer::quint32 &blueArg) const |
SafeRenderer::quint32 | id() const |
void | setColor(const SafeRenderer::quint32 redArg, const SafeRenderer::quint32 greenArg, const SafeRenderer::quint32 blueArg) |
void | setId(const SafeRenderer::quint32 valueArg) |
Member Function Documentation
void QSafeEventSetColor::getColor(SafeRenderer::quint32 &redArg, SafeRenderer::quint32 &greenArg, SafeRenderer::quint32 &blueArg) const
Gets the red (redArg), green (greenArg), and blue (blueArg) components of the RGB color value.
SafeRenderer::quint32 QSafeEventSetColor::id() const
Returns this event's item id.
See also setId().
void QSafeEventSetColor::setColor(const SafeRenderer::quint32 redArg, const SafeRenderer::quint32 greenArg, const SafeRenderer::quint32 blueArg)
Sets the color value:
- redArg is the red component of the color
- greenArg is the green component of the color
- blueArg is the blue component of the color
void QSafeEventSetColor::setId(const SafeRenderer::quint32 valueArg)
Sets the item id.
valueArg is the hash of the Safe Item's objectName in QML.
See also id().
Available under certain Qt licenses.
Find out more.