mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-06-23 02:00:20 +07:00
added HorizontalRadioButton and VerticalRadioButton components
This commit is contained in:
@@ -30,7 +30,7 @@ PageBase {
|
||||
|
||||
spacing: 16
|
||||
|
||||
HeaderTextType {
|
||||
HeaderType {
|
||||
Layout.fillWidth: true
|
||||
Layout.topMargin: 20
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@ PageBase {
|
||||
|
||||
spacing: 16
|
||||
|
||||
HeaderTextType {
|
||||
HeaderType {
|
||||
Layout.fillWidth: true
|
||||
Layout.topMargin: 20
|
||||
|
||||
|
||||
@@ -49,7 +49,7 @@ PageBase {
|
||||
|
||||
spacing: 16
|
||||
|
||||
HeaderTextType {
|
||||
HeaderType {
|
||||
width: parent.width
|
||||
buttonImage: "qrc:/images/controls/arrow-left.svg"
|
||||
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user