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
Gerrit Reviews
For Gerrit Dashboard: QTBUG-110359 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
457417,6 | WIP: Add Color singleton to QtQuick | dev | qt/qtdeclarative | Status: NEW | -2 | 0 |