Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-110359

Add pre-defined color constants just like QColorConstants

    XMLWordPrintable

Details

    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

          For Gerrit Dashboard: QTBUG-110359
          # Subject Branch Project Status CR V

          Activity

            People

              qt.team.quick.subscriptions Qt Quick and Widgets Team
              wangwenx190 赵 宇航
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There is 1 open Gerrit change