added HorizontalRadioButton and VerticalRadioButton components

This commit is contained in:
vladimir.kuznetsov 2023-04-26 08:30:02 +03:00
parent a9ebf534c6
commit 904e173037
12 changed files with 330 additions and 8 deletions

View file

@ -30,7 +30,7 @@ PageBase {
spacing: 16
HeaderTextType {
HeaderType {
Layout.fillWidth: true
Layout.topMargin: 20

View file

@ -30,7 +30,7 @@ PageBase {
spacing: 16
HeaderTextType {
HeaderType {
Layout.fillWidth: true
Layout.topMargin: 20

View file

@ -49,7 +49,7 @@ PageBase {
spacing: 16
HeaderTextType {
HeaderType {
width: parent.width
buttonImage: "qrc:/images/controls/arrow-left.svg"

View file

@ -8,6 +8,7 @@ import "./"
import "../Pages"
import "../Controls2"
import "../Config"
import "../Controls2/TextTypes"
PageBase {
id: root
@ -99,6 +100,44 @@ PageBase {
qsTr("SHA1")
]
}
CheckBoxType {
// text: qsTr("Auto-negotiate encryption")
}
CheckBoxType {
text: qsTr("Auto-negotiate encryption")
descriptionText: "dssaa"
}
Rectangle {
implicitWidth: buttonGroup.implicitWidth
implicitHeight: buttonGroup.implicitHeight
Layout.leftMargin: 16
Layout.rightMargin: 16
color: "#1C1D21"
radius: 16
RowLayout {
id: buttonGroup
spacing: 0
HorizontalRadioButton {
implicitWidth: (root.width - 32) / 2
text: "ddsasdasd"
}
HorizontalRadioButton {
implicitWidth: (root.width - 32) / 2
text: "ddsasdasd"
}
}
}
VerticalRadioButton {
text: "dsasd"
}
VerticalRadioButton {
text: "dsasd"
}
}
Drawer {