QmlDesigner: Add checks for lite designer to brand bar

Change-Id: I61df5f21c88bfe898d0f3befa37a6a60c9ec48ed
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
Thomas Hartmann
2024-09-27 13:37:15 +02:00
parent 684e5d0528
commit d0099404ec

View File

@@ -32,6 +32,7 @@ Item {
}
Text {
visible: !Constants.projectModel.liteDesignerEnabled
id: brandLabel
color: Constants.currentBrand
text: qsTr("Qt Design Studio")
@@ -44,6 +45,20 @@ Item {
}
Text {
visible: Constants.projectModel.liteDesignerEnabled
id: brandLabelLite
color: Constants.currentBrand
text: qsTr("Lite QML Designer")
anchors.verticalCenter: parent.verticalCenter
anchors.left: welcomeTo.right
anchors.leftMargin: 8
verticalAlignment: Text.AlignVCenter
font.pixelSize: 36
font.family: "titillium web"
}
Text {
visible: !Constants.projectModel.liteDesignerEnabled
width: 291
height: 55
color: Constants.currentGlobalText