forked from qt-creator/qt-creator
QmlDesigner: Remove QML debug output
Change-Id: Icdd705a43ddcca10ca1ec5e6dc1ec72f8f208a94 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io> Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
This commit is contained in:
committed by
Henning Gründl
parent
fb20ecff57
commit
b55d44080a
@@ -93,10 +93,6 @@ Rectangle {
|
|||||||
buttonIcon: StudioTheme.Constants.add_medium
|
buttonIcon: StudioTheme.Constants.add_medium
|
||||||
tooltip: qsTr("Add something.")
|
tooltip: qsTr("Add something.")
|
||||||
onClicked: {
|
onClicked: {
|
||||||
print(ConnectionsEditorEditorBackend.dynamicPropertiesModel.delegate)
|
|
||||||
print(ConnectionsEditorEditorBackend.dynamicPropertiesModel.delegate.type)
|
|
||||||
print(ConnectionsEditorEditorBackend.dynamicPropertiesModel.delegate.type.model)
|
|
||||||
|
|
||||||
if (connections.checked)
|
if (connections.checked)
|
||||||
ConnectionsEditorEditorBackend.connectionModel.add()
|
ConnectionsEditorEditorBackend.connectionModel.add()
|
||||||
else if (bindings.checked)
|
else if (bindings.checked)
|
||||||
|
@@ -20,8 +20,7 @@ Window {
|
|||||||
flags: Qt.FramelessWindowHint | Qt.Dialog
|
flags: Qt.FramelessWindowHint | Qt.Dialog
|
||||||
color: StudioTheme.Values.themePopoutBackground
|
color: StudioTheme.Values.themePopoutBackground
|
||||||
|
|
||||||
function ensureVerticalPosition()
|
function ensureVerticalPosition() {
|
||||||
{
|
|
||||||
if ((window.y + window.height) > (Screen.height - window.style.dialogScreenMargin)) {
|
if ((window.y + window.height) > (Screen.height - window.style.dialogScreenMargin)) {
|
||||||
window.y = (Screen.height - window.height - window.style.dialogScreenMargin)
|
window.y = (Screen.height - window.height - window.style.dialogScreenMargin)
|
||||||
}
|
}
|
||||||
@@ -29,9 +28,7 @@ Window {
|
|||||||
|
|
||||||
onHeightChanged: window.ensureVerticalPosition()
|
onHeightChanged: window.ensureVerticalPosition()
|
||||||
|
|
||||||
|
|
||||||
function popup(item) {
|
function popup(item) {
|
||||||
print("popup " + item)
|
|
||||||
var padding = 12
|
var padding = 12
|
||||||
var p = item.mapToGlobal(0, 0)
|
var p = item.mapToGlobal(0, 0)
|
||||||
window.x = p.x - window.width - padding
|
window.x = p.x - window.width - padding
|
||||||
|
Reference in New Issue
Block a user