Make QColor Q_PROPERTY show in designer identical to QQuickText (color, linkColor, styleColor) QColor.
Unsolved
QML and Qt Quick
-
Hi. I have a QML module that exports a QML type that exposes a property using Q_PROPERTY macro. That property is of type color, but the designer shows it like just a textBox with hexadecimal value.
Text component has many QColor properties, but they are shown like a textBox plus some other buttons, one of them is a color picker. Is there something I need to do to allow this behaviour?
Thanks in advance,
David.