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

Investigate ways to remove Component.onCompleted from native styles

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • P2: Important
    • 6.0
    • 6.0
    • Quick: Controls 2
    • None

    Description

      The goal has been to avoid imperative code in controls' QML files, so find a way to do the following without JavaScript:

      https://codereview.qt-project.org/c/qt/qtquickcontrols2/+/311894/1/src/imports/controls/macos/SpinBox.qml#49

      I thought that https://code.qt.io/cgit/qt/qtquickcontrols2.git/tree/tests/auto/sanity/tst_sanity.cpp#n210 would have caught this, but I guess it only checks for the function keyword.

      Attachments

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

        Activity

          People

            richard Richard Moe Gustavsen
            mitch_curtis Mitch Curtis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes