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!49Features 2608
...@@ -81,6 +81,7 @@ ...@@ -81,6 +81,7 @@
<file>screen/LastAction/DapUiQmlWidgetRightPanelForm.ui.qml</file> <file>screen/LastAction/DapUiQmlWidgetRightPanelForm.ui.qml</file>
<file>screen/LastAction/DapUiQmlWidgetScreenDialogAddWallet.ui.qml</file> <file>screen/LastAction/DapUiQmlWidgetScreenDialogAddWallet.ui.qml</file>
<file>screen/LastAction/DapUiQmlWidgetSignatureTypeComboBox.qml</file> <file>screen/LastAction/DapUiQmlWidgetSignatureTypeComboBox.qml</file>
<file>screen/LastAction/DapUiQmlWidgetSignatureTypeComboBox.qml</file>
<file>screen/Log/DapUiQmlWidgetChainNodeLogs.qml</file> <file>screen/Log/DapUiQmlWidgetChainNodeLogs.qml</file>
<file>screen/Log/DapUiQmlWidgetChainNodeLogsForm.ui.qml</file> <file>screen/Log/DapUiQmlWidgetChainNodeLogsForm.ui.qml</file>
<file>screen/Settings/DapUiQmlScreenSettings.qml</file> <file>screen/Settings/DapUiQmlScreenSettings.qml</file>
...@@ -97,6 +98,6 @@ ...@@ -97,6 +98,6 @@
<file>screen/VPN/DapUiQmlWidgetSettingsVpn.qml</file> <file>screen/VPN/DapUiQmlWidgetSettingsVpn.qml</file>
<file>screen/VPN/DapUiQmlWidgetSettingsVpnComboBox.qml</file> <file>screen/VPN/DapUiQmlWidgetSettingsVpnComboBox.qml</file>
<file>screen/VPN/DapUiQmlWidgetSettingsVpnComboBoxForm.ui.qml</file> <file>screen/VPN/DapUiQmlWidgetSettingsVpnComboBoxForm.ui.qml</file>
<file>screen/VPN/DapUiQmlWidgetSettingsVpnForm.ui.qml</file> <file>screen/VPN/DapRadioButton.qml</file>
</qresource> </qresource>
</RCC> </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 { ...@@ -136,61 +136,33 @@ DapUiQmlScreen {
ColumnLayout { ColumnLayout {
id: chooseRecoveryMethod id: chooseRecoveryMethod
height: 272 height: 272
anchors.leftMargin: 1
spacing: 32 spacing: 32
anchors.top: recoveryMethodTextArea.bottom anchors.top: recoveryMethodTextArea.bottom
anchors.topMargin: 32
anchors.left: parent.left anchors.left: parent.left
anchors.leftMargin: 16
anchors.right: parent.right anchors.right: parent.right
Layout.alignment: Qt.AlignLeft | Qt.AlignTop
RadioButton { DapRadioButton {
id: selectionWords id: selectionWords
text: qsTr("24 words") textButton: qsTr("24 words")
Layout.alignment: Qt.AlignLeft | Qt.AlignTop
Layout.topMargin: 32
checked: true 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 id: selectionQRcode
y: 120 textButton: qsTr("QR code")
text: qsTr("QR code")
Layout.alignment: Qt.AlignLeft | Qt.AlignTop
Layout.topMargin: 0
Layout.leftMargin: 16
spacing: 16
font.pointSize: 14
font.family: "Roboto"
} }
RadioButton { DapRadioButton {
id: selectionExportToFile id: selectionExportToFile
text: qsTr("Export to file") textButton: qsTr("Export to file")
spacing: 16
font.pointSize: 14
font.family: "Roboto"
Layout.alignment: Qt.AlignLeft | Qt.AlignTop
Layout.topMargin: 0
Layout.leftMargin: 16
} }
RadioButton { DapRadioButton {
id: selectionNothing id: selectionNothing
y: 235 textButton: qsTr("Nothing")
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
} }
} }
......
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