added HorizontalRadioButton and VerticalRadioButton components
This commit is contained in:
parent
a9ebf534c6
commit
904e173037
12 changed files with 330 additions and 8 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue