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

Split Window.parent into 2 separate properties?

XMLWordPrintable

      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

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

            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

              Created:
              Updated:

                There are no open Gerrit changes