forked from qt-creator/qt-creator
StudioWelcome: Slight adjustements to Splash Screen
Anchoring the text to the checkbox and use configure instead of enable/disable, because there already is the checkbox. Change-Id: Ied6f231cec54d1fbf924b34bf0a8850cefc8bffb Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io> Reviewed-by: Jarko Vihriala <jarko.vihriala@qt.io> Reviewed-by: Kimmo Leppälä <kimmo.leppala@qt.io>
This commit is contained in:
@@ -60,12 +60,10 @@ Rectangle {
|
|||||||
var settingPath = Qt.platform.os === "osx"
|
var settingPath = Qt.platform.os === "osx"
|
||||||
? qsTr("Qt Creator > Preferences > Environment > System")
|
? qsTr("Qt Creator > Preferences > Environment > System")
|
||||||
: qsTr("Tools > Options > Environment > System")
|
: qsTr("Tools > Options > Environment > System")
|
||||||
var strOn = qsTr("Qt Design Studio collects crash reports for the sole purpose of fixing bugs. "
|
var strConfigure = qsTr("Qt Design Studio collects usage statistics and crash reports for the sole purpose of fixing bugs and improving the tool. "
|
||||||
+ "You can disable this feature under %1. %2").arg(settingPath).arg(configureButton)
|
+ "You can configure the crash reporter under %1. %2").arg(settingPath).arg(configureButton)
|
||||||
var strOff = qsTr("Qt Design Studio can collect crash reports for the sole purpose of fixing bugs. "
|
|
||||||
+ "You can enable this feature under %1. %2").arg(settingPath).arg(configureButton)
|
|
||||||
|
|
||||||
crash_reporting_text.text = crashReportingOn ? strOn : strOff;
|
crash_reporting_text.text = strConfigure
|
||||||
crashReportCheckBox.visible = true
|
crashReportCheckBox.visible = true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -173,11 +171,13 @@ Rectangle {
|
|||||||
Text {
|
Text {
|
||||||
id: crash_reporting_text
|
id: crash_reporting_text
|
||||||
color: "#ffffff"
|
color: "#ffffff"
|
||||||
|
anchors.bottom: columnLayout.top
|
||||||
textFormat: Text.RichText
|
textFormat: Text.RichText
|
||||||
x: 15
|
x: 15
|
||||||
y: 280
|
y: 280
|
||||||
width: 311
|
width: 311
|
||||||
wrapMode: Text.WordWrap
|
wrapMode: Text.WordWrap
|
||||||
|
anchors.bottomMargin: 8
|
||||||
font.family: StudioFonts.titilliumWeb_light
|
font.family: StudioFonts.titilliumWeb_light
|
||||||
font.pixelSize: 12
|
font.pixelSize: 12
|
||||||
font.wordSpacing: 0
|
font.wordSpacing: 0
|
||||||
@@ -230,6 +230,7 @@ Rectangle {
|
|||||||
}
|
}
|
||||||
|
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
|
id: columnLayout
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.bottom: parent.bottom
|
anchors.bottom: parent.bottom
|
||||||
anchors.leftMargin: 16
|
anchors.leftMargin: 16
|
||||||
|
Reference in New Issue
Block a user