forked from qt-creator/qt-creator
QmlDesigner: Add Workspace label to workspace combobox
Change-Id: I00b5aead6e0f747229a360e6573b8bcb0c8e8260 Reviewed-by: Brook Cronin <brook.cronin@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
@@ -241,6 +241,16 @@ Rectangle {
|
|||||||
visible: !root.flyoutEnabled
|
visible: !root.flyoutEnabled
|
||||||
|
|
||||||
onActivated: backend.setCurrentWorkspace(workspaces.currentText)
|
onActivated: backend.setCurrentWorkspace(workspaces.currentText)
|
||||||
|
Text {
|
||||||
|
z: 20
|
||||||
|
x: workspaces.contentItem.implicitWidth
|
||||||
|
|
||||||
|
text: qsTr("Workspace")
|
||||||
|
font: workspaces.font
|
||||||
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
|
|
||||||
|
color: workspaces.contentItem.color
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ToolbarButton {
|
ToolbarButton {
|
||||||
@@ -254,6 +264,7 @@ Rectangle {
|
|||||||
//visible: !root.flyoutEnabled
|
//visible: !root.flyoutEnabled
|
||||||
|
|
||||||
onClicked: backend.editGlobalAnnoation()
|
onClicked: backend.editGlobalAnnoation()
|
||||||
|
width: 0
|
||||||
}
|
}
|
||||||
|
|
||||||
ToolbarButton {
|
ToolbarButton {
|
||||||
|
Reference in New Issue
Block a user