forked from qt-creator/qt-creator
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:
@@ -32,6 +32,7 @@ Item {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Text {
|
Text {
|
||||||
|
visible: !Constants.projectModel.liteDesignerEnabled
|
||||||
id: brandLabel
|
id: brandLabel
|
||||||
color: Constants.currentBrand
|
color: Constants.currentBrand
|
||||||
text: qsTr("Qt Design Studio")
|
text: qsTr("Qt Design Studio")
|
||||||
@@ -44,6 +45,20 @@ Item {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Text {
|
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
|
width: 291
|
||||||
height: 55
|
height: 55
|
||||||
color: Constants.currentGlobalText
|
color: Constants.currentGlobalText
|
||||||
|
Reference in New Issue
Block a user