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

Split Window.parent into 2 separate properties?

    XMLWordPrintable

Details

    Description

      The current implementation is convenient in that the parent can be either a Window or an Item (mutually exclusively):

      However, Using var seems to go against the progression towards strong typing in QML.

      Suggestion: Split into something like Window.parentWindow + Window.parentItem which are strongly-typed

      Attachments

        Issue Links

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

          Activity

            People

              qt.team.quick.subscriptions Qt Quick and Widgets Team
              skoh-qt Sze Howe Koh
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes