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

Add public API for setting and getting the style from C++

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • P2: Important
    • 5.7.0 Beta
    • None
    • Quick: Controls 2
    • None
    • 7c73d40b8215e8947b123dd006e7c62e93d396fa

    Description

      Currently supported methods are:
      1) command line argument
      2) environment variable
      3) configuration file

      We should add one more to be able to do it from C++. Setting the style works only before loading any QML that uses controls. It should throw a warning if attempted afterwards ie. when QML type registration has been done, so it's too late to change the style.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            jpnurmi J-P Nurmi
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes