Skip to content
Snippets Groups Projects
Commit b46bd4e7 authored by Alexander's avatar Alexander
Browse files

[+] impliment default radiobutton to add wallet form

parent f7d620ad
No related branches found
No related tags found
1 merge request!11Cellframe clone
......@@ -81,6 +81,7 @@
<file>screen/LastAction/DapUiQmlWidgetRightPanelForm.ui.qml</file>
<file>screen/LastAction/DapUiQmlWidgetScreenDialogAddWallet.ui.qml</file>
<file>screen/LastAction/DapUiQmlWidgetSignatureTypeComboBox.qml</file>
<file>screen/LastAction/DapUiQmlWidgetSignatureTypeComboBox.qml</file>
<file>screen/Log/DapUiQmlWidgetChainNodeLogs.qml</file>
<file>screen/Log/DapUiQmlWidgetChainNodeLogsForm.ui.qml</file>
<file>screen/Settings/DapUiQmlScreenSettings.qml</file>
......@@ -97,6 +98,6 @@
<file>screen/VPN/DapUiQmlWidgetSettingsVpn.qml</file>
<file>screen/VPN/DapUiQmlWidgetSettingsVpnComboBox.qml</file>
<file>screen/VPN/DapUiQmlWidgetSettingsVpnComboBoxForm.ui.qml</file>
<file>screen/VPN/DapUiQmlWidgetSettingsVpnForm.ui.qml</file>
<file>screen/VPN/DapRadioButton.qml</file>
</qresource>
</RCC>
import QtQuick 2.12
import QtQuick.Controls 2.12
RadioButton {
property alias textButton: nameButton.text
property string colorName: nameButton.color
id: button
text: qsTr("template")
contentItem: Text {
id: nameButton
anchors.left: parent.left
anchors.leftMargin: button.indicator.width + button.spacing
verticalAlignment: Text.AlignVCenter
anchors.verticalCenter: parent.verticalCenter
color: "#3E3853"
font.pointSize: 14
font.wordSpacing: 0
font.family: "Roboto"
horizontalAlignment: Text.AlignLeft
}
spacing: 16
checked: false
display: AbstractButton.TextBesideIcon
autoExclusive: true
}
/*##^##
Designer {
D{i:0;autoSize:true;height:480;width:640}
}
##^##*/
......@@ -136,61 +136,33 @@ DapUiQmlScreen {
ColumnLayout {
id: chooseRecoveryMethod
height: 272
anchors.leftMargin: 1
spacing: 32
anchors.top: recoveryMethodTextArea.bottom
anchors.topMargin: 32
anchors.left: parent.left
anchors.leftMargin: 16
anchors.right: parent.right
Layout.alignment: Qt.AlignLeft | Qt.AlignTop
RadioButton {
DapRadioButton {
id: selectionWords
text: qsTr("24 words")
Layout.alignment: Qt.AlignLeft | Qt.AlignTop
Layout.topMargin: 32
textButton: qsTr("24 words")
checked: true
spacing: 16
autoExclusive: true
display: AbstractButton.TextBesideIcon
font.pointSize: 14
font.wordSpacing: 0
font.family: "Roboto"
Layout.leftMargin: 16
}
RadioButton {
DapRadioButton {
id: selectionQRcode
y: 120
text: qsTr("QR code")
Layout.alignment: Qt.AlignLeft | Qt.AlignTop
Layout.topMargin: 0
Layout.leftMargin: 16
spacing: 16
font.pointSize: 14
font.family: "Roboto"
textButton: qsTr("QR code")
}
RadioButton {
DapRadioButton {
id: selectionExportToFile
text: qsTr("Export to file")
spacing: 16
font.pointSize: 14
font.family: "Roboto"
Layout.alignment: Qt.AlignLeft | Qt.AlignTop
Layout.topMargin: 0
Layout.leftMargin: 16
textButton: qsTr("Export to file")
}
RadioButton {
DapRadioButton {
id: selectionNothing
y: 235
text: qsTr("Nothing")
spacing: 16
checked: false
font.family: "Roboto"
font.pointSize: 14
Layout.alignment: Qt.AlignLeft | Qt.AlignTop
Layout.topMargin: 0
Layout.leftMargin: 16
textButton: qsTr("Nothing")
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment