Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.6.0
-
None
-
Qt 5.6
Qt Creator 3.5.0 (enterprise)
Based on Qt 5.5.0 (GCC 4.9.1 20140922 (Red Hat 4.9.1-10), 64 bit)
Built on Aug 18 2015 13:16:19
From revision f1b9f56c69
-
87d9baa677edd7aee5c3c6544b4fc1770f7e5ac8 aa048e7a6c4c1b72839cea95c386c6ccc12be420
Description
Start finishing off the code below in Creator and you'll get a suggestion for implicitHeightChanged2, a signal in QQuickText's base class: QQuickImplicitSizeItem.
import QtQuick 2.3 import QtQuick.Window 2.2 Window { visible: true MouseArea { anchors.fill: parent onClicked: { Qt.quit(); } } Text { text: qsTr("Hello World") anchors.centerIn: parent Component.onCompleted: implicitHeightc } }
This is listed in the plugins.qmltypes file for qtdeclarative:
Component { name: "QQuickImplicitSizeItem" defaultProperty: "data" prototype: "QQuickItem" Property { name: "implicitWidth"; type: "double"; isReadonly: true } Property { name: "implicitHeight"; type: "double"; isReadonly: true } Signal { name: "implicitWidthChanged2"; revision: 1 } Signal { name: "implicitHeightChanged2"; revision: 1 } }
These shouldn't shouldn't be visible in Creator's auto completion menu, so they should be removed if possible.
Attachments
For Gerrit Dashboard: QTBUG-61569 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
196214,5 | QQuickImplicitSizeItem: don't redefine implicit size change signals | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
196274,3 | Update plugins.qmltypes | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |