remove various titles from profile sections
This commit is contained in:
parent
4e15002beb
commit
3d2eaa3369
|
@ -15,24 +15,12 @@ Item {
|
||||||
Layout.fillHeight: true
|
Layout.fillHeight: true
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
|
||||||
StyledText {
|
|
||||||
id: sectionTitle
|
|
||||||
//% "Devices"
|
|
||||||
text: qsTrId("devices")
|
|
||||||
anchors.left: parent.left
|
|
||||||
anchors.leftMargin: 24
|
|
||||||
anchors.top: parent.top
|
|
||||||
anchors.topMargin: 24
|
|
||||||
font.weight: Font.Bold
|
|
||||||
font.pixelSize: 20
|
|
||||||
}
|
|
||||||
|
|
||||||
Item {
|
Item {
|
||||||
id: firstTimeSetup
|
id: firstTimeSetup
|
||||||
anchors.left: syncContainer.left
|
anchors.left: syncContainer.left
|
||||||
anchors.leftMargin: Style.current.padding
|
anchors.leftMargin: Style.current.padding
|
||||||
anchors.top: sectionTitle.bottom
|
anchors.top: parent.top
|
||||||
anchors.topMargin: Style.current.padding
|
anchors.topMargin: 24
|
||||||
anchors.right: syncContainer.right
|
anchors.right: syncContainer.right
|
||||||
anchors.rightMargin: Style.current.padding
|
anchors.rightMargin: Style.current.padding
|
||||||
visible: !profileModel.devices.isSetup
|
visible: !profileModel.devices.isSetup
|
||||||
|
@ -67,7 +55,7 @@ Item {
|
||||||
id: advertiseDeviceItem
|
id: advertiseDeviceItem
|
||||||
anchors.left: syncContainer.left
|
anchors.left: syncContainer.left
|
||||||
anchors.leftMargin: Style.current.padding
|
anchors.leftMargin: Style.current.padding
|
||||||
anchors.top: sectionTitle.bottom
|
anchors.top: parent.bottom
|
||||||
anchors.topMargin: Style.current.padding
|
anchors.topMargin: Style.current.padding
|
||||||
anchors.right: syncContainer.right
|
anchors.right: syncContainer.right
|
||||||
anchors.rightMargin: Style.current.padding
|
anchors.rightMargin: Style.current.padding
|
||||||
|
|
|
@ -8,24 +8,13 @@ import "../../../../../shared/status"
|
||||||
Item {
|
Item {
|
||||||
signal startBtnClicked()
|
signal startBtnClicked()
|
||||||
|
|
||||||
StyledText {
|
|
||||||
id: sectionTitle
|
|
||||||
text: ""
|
|
||||||
anchors.left: parent.left
|
|
||||||
anchors.leftMargin: 24
|
|
||||||
anchors.top: parent.top
|
|
||||||
anchors.topMargin: 24
|
|
||||||
font.weight: Font.Bold
|
|
||||||
font.pixelSize: 20
|
|
||||||
}
|
|
||||||
|
|
||||||
ScrollView {
|
ScrollView {
|
||||||
id: sview
|
id: sview
|
||||||
clip: true
|
clip: true
|
||||||
ScrollBar.horizontal.policy: ScrollBar.AlwaysOff
|
ScrollBar.horizontal.policy: ScrollBar.AlwaysOff
|
||||||
contentHeight: contentItem.childrenRect.height
|
contentHeight: contentItem.childrenRect.height
|
||||||
anchors.top: sectionTitle.bottom
|
anchors.top: parent.top
|
||||||
anchors.topMargin: Style.current.padding
|
anchors.topMargin: 24
|
||||||
anchors.bottom: startBtn.top
|
anchors.bottom: startBtn.top
|
||||||
anchors.bottomMargin: Style.current.padding
|
anchors.bottomMargin: Style.current.padding
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
|
|
|
@ -13,23 +13,12 @@ Item {
|
||||||
Item {
|
Item {
|
||||||
width: contentMaxWidth
|
width: contentMaxWidth
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
StyledText {
|
|
||||||
id: title
|
|
||||||
//% "Language settings"
|
|
||||||
text: qsTrId("language-settings")
|
|
||||||
anchors.left: parent.left
|
|
||||||
anchors.leftMargin: 24
|
|
||||||
anchors.top: parent.top
|
|
||||||
anchors.topMargin: 24
|
|
||||||
font.weight: Font.Bold
|
|
||||||
font.pixelSize: 20
|
|
||||||
}
|
|
||||||
|
|
||||||
RowLayout {
|
RowLayout {
|
||||||
property string currentLocale: appSettings.locale
|
property string currentLocale: appSettings.locale
|
||||||
id: languageSetting
|
id: languageSetting
|
||||||
anchors.top: title.bottom
|
anchors.top: parent.top
|
||||||
anchors.topMargin: 20
|
anchors.topMargin: 24
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.leftMargin: 24
|
anchors.leftMargin: 24
|
||||||
StyledText {
|
StyledText {
|
||||||
|
|
|
@ -13,21 +13,10 @@ Item {
|
||||||
Item {
|
Item {
|
||||||
width: contentMaxWidth
|
width: contentMaxWidth
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
StyledText {
|
|
||||||
id: element5
|
|
||||||
//% "Sounds settings"
|
|
||||||
text: qsTrId("sounds-settings")
|
|
||||||
anchors.left: parent.left
|
|
||||||
anchors.leftMargin: 24
|
|
||||||
anchors.top: parent.top
|
|
||||||
anchors.topMargin: 24
|
|
||||||
font.weight: Font.Bold
|
|
||||||
font.pixelSize: 20
|
|
||||||
}
|
|
||||||
|
|
||||||
StyledText {
|
StyledText {
|
||||||
id: labelVolume
|
id: labelVolume
|
||||||
anchors.top: element5.bottom
|
anchors.top: parent.top
|
||||||
anchors.topMargin: Style.current.bigPadding
|
anchors.topMargin: Style.current.bigPadding
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.leftMargin: 24
|
anchors.leftMargin: 24
|
||||||
|
|
|
@ -13,17 +13,6 @@ Item {
|
||||||
Item {
|
Item {
|
||||||
width: contentMaxWidth
|
width: contentMaxWidth
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
StyledText {
|
|
||||||
id: element4
|
|
||||||
//% "Sync settings"
|
|
||||||
text: qsTrId("sync-settings")
|
|
||||||
anchors.left: parent.left
|
|
||||||
anchors.leftMargin: 24
|
|
||||||
anchors.top: parent.top
|
|
||||||
anchors.topMargin: 24
|
|
||||||
font.weight: Font.Bold
|
|
||||||
font.pixelSize: 20
|
|
||||||
}
|
|
||||||
|
|
||||||
Component {
|
Component {
|
||||||
id: mailserversList
|
id: mailserversList
|
||||||
|
@ -43,8 +32,8 @@ Item {
|
||||||
id: addMailserver
|
id: addMailserver
|
||||||
width: parent.width
|
width: parent.width
|
||||||
height: addButton.height
|
height: addButton.height
|
||||||
anchors.top: element4.bottom
|
anchors.top: parent.top
|
||||||
anchors.topMargin: Style.current.padding
|
anchors.topMargin: 24
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.leftMargin: 24
|
anchors.leftMargin: 24
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue