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

QQuickImplicitSizeItem redefines implicitWidth/Height from QQuickItem

    XMLWordPrintable

Details

    • f7ada9b9325c7adc10da6a3a4e7f887452682260

    Description

      TestCase:

      import QtQuick 2.1
      import QtQuick.Controls 1.0
      import QtQuick.Layouts 1.0
      
      RowLayout {
          width: 200
          height: 200
          TextInput {text: "hello" }
      }
      

      RowLayout uses the implicit width/height and create connections using implicitWidthChanged from its items. If an Item (like TextInput) is based on QQuickImplicitSizeItem it causes a warning:

      Warning:
      "QMetaObject::indexOfSignal: signal implicitWidthChanged() from QQuickItem redefined in QQuickImplicitSizeItem"

      Attachments

        Issue Links

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

          Activity

            People

              carochao Caroline Chao (Inactive)
              carochao Caroline Chao (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes