forked from qt-creator/qt-creator
* Add QML Window based popover to StudioControls * Add color editor to StudioControls * Move color editor modules to StudioControls * Move IconIndicator to StudioControls * Move ToolTipArea to StudioControls * Add color backend to qmldesignerbase to allow control value binding * Use popover in connections editor * Add window manager to send focus changes to QML Windows * Update ColorEditor UX * Remove HelperWindow workaround for GradientPresetList (Qt 5 vs 6) * Fix eye dropper for QWindow Task-number: QDS-10926 Change-Id: Ia87b30543affde88faaef2ebdf120cb5d348c935 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io> Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
40 lines
1.1 KiB
QML
40 lines
1.1 KiB
QML
// Copyright (C) 2023 The Qt Company Ltd.
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
|
|
|
import QtQuick
|
|
import StudioTheme as StudioTheme
|
|
import HelperWidgets as HelperWidgets
|
|
import StudioControls as StudioControls
|
|
|
|
StudioControls.PopupDialog {
|
|
property alias backend: form.backend
|
|
|
|
titleBar: Row {
|
|
spacing: 30 // TODO
|
|
anchors.fill: parent
|
|
|
|
Text {
|
|
color: StudioTheme.Values.themeTextColor
|
|
text: qsTr("Owner")
|
|
font.pixelSize: StudioTheme.Values.myFontSize
|
|
anchors.verticalCenter: parent.verticalCenter
|
|
|
|
HelperWidgets.ToolTipArea {
|
|
anchors.fill: parent
|
|
tooltip: qsTr("The owner of the property")
|
|
}
|
|
}
|
|
|
|
Text {
|
|
color: StudioTheme.Values.themeTextColor
|
|
font.pixelSize: StudioTheme.Values.myFontSize
|
|
anchors.verticalCenter: parent.verticalCenter
|
|
text: form.backend.targetNode
|
|
}
|
|
}
|
|
|
|
PropertiesDialogForm {
|
|
id: form
|
|
}
|
|
}
|