Details
-
Suggestion
-
Resolution: Unresolved
-
P2: Important
-
None
-
None
Description
For non-Qt Quick applications we have the QColorConstants namespace which provides many frequently used colors and what's better, they are all constexpr constants. But Qt Quick lacks such convenient thing and constructing a QColor from string is also somewhat expensive. Can we add similar facility to Qt Quick as well?
Attachments
Issue Links
- relates to
-
QTBUG-92588 color in QML should be constructible from Qt::color enumerations
- Open
- resulted in
-
QTBUG-111386 Move QtQuick.Controls.Impl's Color functions to QColor and expose them to QML
- Reported