Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions dcc-network/qml/PageDSLSettings.qml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ DccObject {
parentName: root.parentUrl + "/body"
weight: 10
displayName: qsTr("%1 Network Properties").arg(sectionGeneric.settingsID)
onParentItemChanged: {
if (parentItem) {
parentItem.leftPadding = 2
}
}
}
SectionGeneric {
id: sectionGeneric
Expand Down
5 changes: 5 additions & 0 deletions dcc-network/qml/PageSettings.qml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ DccObject {
parentName: root.parentUrl + "/body"
weight: 10
displayName: qsTr("%1 Network Properties").arg(sectionGeneric.settingsID)
onParentItemChanged: {
if (parentItem) {
parentItem.leftPadding = 2
}
}
}
SectionGeneric {
id: sectionGeneric
Expand Down
5 changes: 5 additions & 0 deletions dcc-network/qml/PageVPNSettings.qml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,11 @@ DccObject {
parentName: root.parentUrl + "/body"
weight: 10
displayName: qsTr("%1 Network Properties").arg(sectionGeneric.settingsID)
onParentItemChanged: {
if (parentItem) {
parentItem.leftPadding = 2
}
}
}
DccObject {
name: "vpnType"
Expand Down
18 changes: 14 additions & 4 deletions dcc-network/qml/SectionDNS.qml
Original file line number Diff line number Diff line change
Expand Up @@ -112,11 +112,16 @@ DccObject {
canSearch: false
pageType: DccObject.Item
page: RowLayout {
Label {
text: dccObj.displayName
font: DccUtils.copyFont(D.DTK.fontManager.t4, {
"bold": true
DccLabel {
property D.Palette textColor: D.Palette {
normal: Qt.rgba(0, 0, 0, 0.9)
normalDark: Qt.rgba(1, 1, 1, 0.9)
}
font: DccUtils.copyFont(D.DTK.fontManager.t5, {
"weight": 500
})
text: dccObj.displayName
color: D.ColorSelector.textColor
}
Item {
Layout.fillWidth: true
Expand All @@ -134,6 +139,11 @@ DccObject {
}
}
}
onParentItemChanged: {
if (parentItem) {
parentItem.leftPadding = 12
}
}
DccObject {
name: "dnsGroup"
parentName: root.parentName
Expand Down
18 changes: 14 additions & 4 deletions dcc-network/qml/SectionIPv4.qml
Original file line number Diff line number Diff line change
Expand Up @@ -137,11 +137,16 @@ DccObject {
canSearch: false
pageType: DccObject.Item
page: RowLayout {
Label {
text: dccObj.displayName
font: DccUtils.copyFont(D.DTK.fontManager.t4, {
"bold": true
DccLabel {
property D.Palette textColor: D.Palette {
normal: Qt.rgba(0, 0, 0, 0.9)
normalDark: Qt.rgba(1, 1, 1, 0.9)
}
font: DccUtils.copyFont(D.DTK.fontManager.t5, {
"weight": 500
})
text: dccObj.displayName
color: D.ColorSelector.textColor
}
Item {
Layout.fillWidth: true
Expand All @@ -159,6 +164,11 @@ DccObject {
}
}
}
onParentItemChanged: {
if (parentItem) {
parentItem.leftPadding = 12
}
}
ListModel {
id: allModel
ListElement {
Expand Down
18 changes: 14 additions & 4 deletions dcc-network/qml/SectionIPv6.qml
Original file line number Diff line number Diff line change
Expand Up @@ -163,11 +163,16 @@ DccObject {
pageType: DccObject.Item
visible: root.visible
page: RowLayout {
Label {
text: dccObj.displayName
font: DccUtils.copyFont(D.DTK.fontManager.t4, {
"bold": true
DccLabel {
property D.Palette textColor: D.Palette {
normal: Qt.rgba(0, 0, 0, 0.9)
normalDark: Qt.rgba(1, 1, 1, 0.9)
}
font: DccUtils.copyFont(D.DTK.fontManager.t5, {
"weight": 500
})
text: dccObj.displayName
color: D.ColorSelector.textColor
}
Item {
Layout.fillWidth: true
Expand All @@ -185,6 +190,11 @@ DccObject {
}
}
}
onParentItemChanged: {
if (parentItem) {
parentItem.leftPadding = 12
}
}
DccObject {
name: "ipv6Type"
parentName: root.parentName
Expand Down