forked from Public/monero-gui
Fixing the start-up wizards
This commit is contained in:
committed by
moneromooo-monero
parent
a128581ae5
commit
53b5b7a5c7
@@ -124,6 +124,7 @@ ColumnLayout {
|
||||
CheckBox {
|
||||
id: localNode
|
||||
text: qsTr("Start a node automatically in background (recommended)") + translationManager.emptyString
|
||||
checkedIcon: "../images/checkedVioletIcon.png"
|
||||
background: "#FFFFFF"
|
||||
fontColor: "#4A4646"
|
||||
fontSize: 16 * scaleRatio
|
||||
@@ -152,6 +153,11 @@ ColumnLayout {
|
||||
text: persistentSettings.blockchainDataDir
|
||||
placeholderText: qsTr("(optional)") + translationManager.emptyString
|
||||
|
||||
borderColor: Qt.rgba(0, 0, 0, 0.15)
|
||||
backgroundColor: "white"
|
||||
fontColor: "black"
|
||||
fontBold: false
|
||||
|
||||
MouseArea {
|
||||
anchors.fill: parent
|
||||
onClicked: {
|
||||
@@ -193,7 +199,6 @@ ColumnLayout {
|
||||
localNode.checked = false
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
RowLayout {
|
||||
@@ -204,6 +209,10 @@ ColumnLayout {
|
||||
property var rna: persistentSettings.remoteNodeAddress
|
||||
daemonAddrText: rna.search(":") != -1 ? rna.split(":")[0].trim() : ""
|
||||
daemonPortText: rna.search(":") != -1 ? (rna.split(":")[1].trim() == "") ? "18081" : persistentSettings.remoteNodeAddress.split(":")[1] : ""
|
||||
lineEditBorderColor: Qt.rgba(0, 0, 0, 0.15)
|
||||
lineEditBackgroundColor: "white"
|
||||
lineEditFontColor: "black"
|
||||
lineEditFontBold: false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -154,6 +154,8 @@ ColumnLayout {
|
||||
|
||||
Label {
|
||||
Layout.topMargin: 20 * scaleRatio
|
||||
fontFamily: "Ariel"
|
||||
fontColor: "#555555"
|
||||
fontSize: 14 * scaleRatio
|
||||
text: qsTr("Wallet name")
|
||||
+ translationManager.emptyString
|
||||
@@ -166,6 +168,10 @@ ColumnLayout {
|
||||
Layout.minimumWidth: 200 * scaleRatio
|
||||
text: defaultAccountName
|
||||
onTextUpdated: checkNextButton()
|
||||
borderColor: Qt.rgba(0, 0, 0, 0.15)
|
||||
backgroundColor: "white"
|
||||
fontColor: "black"
|
||||
fontBold: false
|
||||
}
|
||||
}
|
||||
|
||||
@@ -232,6 +238,10 @@ ColumnLayout {
|
||||
Layout.minimumWidth: 200 * scaleRatio
|
||||
placeholderText: qsTr("Account address (public)") + translationManager.emptyString
|
||||
onTextUpdated: checkNextButton()
|
||||
borderColor: Qt.rgba(0, 0, 0, 0.15)
|
||||
backgroundColor: "white"
|
||||
fontColor: "black"
|
||||
fontBold: false
|
||||
}
|
||||
LineEdit {
|
||||
Layout.fillWidth: true
|
||||
@@ -240,6 +250,10 @@ ColumnLayout {
|
||||
Layout.minimumWidth: 200 * scaleRatio
|
||||
placeholderText: qsTr("View key (private)") + translationManager.emptyString
|
||||
onTextUpdated: checkNextButton()
|
||||
borderColor: Qt.rgba(0, 0, 0, 0.15)
|
||||
backgroundColor: "white"
|
||||
fontColor: "black"
|
||||
fontBold: false
|
||||
|
||||
}
|
||||
LineEdit {
|
||||
@@ -249,6 +263,10 @@ ColumnLayout {
|
||||
id: spendKeyLine
|
||||
placeholderText: qsTr("Spend key (private)") + translationManager.emptyString
|
||||
onTextUpdated: checkNextButton()
|
||||
borderColor: Qt.rgba(0, 0, 0, 0.15)
|
||||
backgroundColor: "white"
|
||||
fontColor: "black"
|
||||
fontBold: false
|
||||
}
|
||||
}
|
||||
|
||||
@@ -263,6 +281,10 @@ ColumnLayout {
|
||||
validator: IntValidator {
|
||||
bottom:0
|
||||
}
|
||||
borderColor: Qt.rgba(0, 0, 0, 0.15)
|
||||
backgroundColor: "white"
|
||||
fontColor: "black"
|
||||
fontBold: false
|
||||
}
|
||||
}
|
||||
|
||||
@@ -272,6 +294,8 @@ ColumnLayout {
|
||||
Layout.fillWidth: true
|
||||
Layout.topMargin: 20 * scaleRatio
|
||||
fontSize: 14
|
||||
fontFamily: "Ariel"
|
||||
fontColor: "#555555"
|
||||
text: qsTr("Your wallet is stored in") + ": " + fileUrlInput.text;
|
||||
}
|
||||
|
||||
@@ -292,6 +316,10 @@ ColumnLayout {
|
||||
fileUrlInput.focus = true
|
||||
}
|
||||
}
|
||||
borderColor: Qt.rgba(0, 0, 0, 0.15)
|
||||
backgroundColor: "white"
|
||||
fontColor: "black"
|
||||
fontBold: false
|
||||
}
|
||||
|
||||
FileDialog {
|
||||
|
||||
@@ -245,6 +245,7 @@ ColumnLayout {
|
||||
CheckBox {
|
||||
id: testNet
|
||||
text: qsTr("Testnet") + translationManager.emptyString
|
||||
checkedIcon: "../images/checkedVioletIcon.png"
|
||||
background: "#FFFFFF"
|
||||
fontColor: "#4A4646"
|
||||
fontSize: 16 * scaleRatio
|
||||
|
||||
Reference in New Issue
Block a user