forked from Public/monero-gui
Wizard redesign
This commit is contained in:
@@ -182,6 +182,7 @@ Rectangle {
|
||||
ColumnLayout {
|
||||
// NODE
|
||||
id: navNode
|
||||
visible: appWindow.walletMode >= 2
|
||||
Layout.preferredWidth: navNodeText.width + grid.textMargin
|
||||
Layout.preferredHeight: 32
|
||||
Layout.minimumWidth: 72 * scaleRatio
|
||||
@@ -225,6 +226,7 @@ Rectangle {
|
||||
}
|
||||
}
|
||||
Rectangle{
|
||||
visible: appWindow.walletMode >= 2
|
||||
Layout.preferredWidth: 1
|
||||
Layout.preferredHeight: 32
|
||||
color: grid.borderColor
|
||||
@@ -232,6 +234,7 @@ Rectangle {
|
||||
ColumnLayout {
|
||||
// LOG
|
||||
id: navLog
|
||||
visible: appWindow.walletMode >= 2
|
||||
Layout.preferredWidth: navLogText.width + grid.textMargin
|
||||
Layout.preferredHeight: 32
|
||||
Layout.minimumWidth: 72 * scaleRatio
|
||||
@@ -275,6 +278,7 @@ Rectangle {
|
||||
}
|
||||
}
|
||||
Rectangle{
|
||||
visible: appWindow.walletMode >= 2
|
||||
Layout.preferredWidth: 1
|
||||
Layout.preferredHeight: 32
|
||||
color: grid.borderColor
|
||||
|
||||
@@ -39,6 +39,15 @@ Rectangle {
|
||||
color: "transparent"
|
||||
height: 1400 * scaleRatio
|
||||
Layout.fillWidth: true
|
||||
property string walletModeString: {
|
||||
if(appWindow.walletMode === 0){
|
||||
return qsTr("Simple mode") + translationManager.emptyString;
|
||||
} else if(appWindow.walletMode === 1){
|
||||
return qsTr("Simple mode") + " (bootstrap)" + translationManager.emptyString;
|
||||
} else if(appWindow.walletMode === 2){
|
||||
return qsTr("Advanced mode") + translationManager.emptyString;
|
||||
}
|
||||
}
|
||||
|
||||
ColumnLayout {
|
||||
id: infoLayout
|
||||
@@ -239,6 +248,36 @@ Rectangle {
|
||||
font.pixelSize: 14 * scaleRatio
|
||||
text: walletLogPath
|
||||
}
|
||||
|
||||
Rectangle {
|
||||
height: 1
|
||||
Layout.topMargin: 2 * scaleRatio
|
||||
Layout.bottomMargin: 2 * scaleRatio
|
||||
Layout.fillWidth: true
|
||||
color: MoneroComponents.Style.dividerColor
|
||||
opacity: MoneroComponents.Style.dividerOpacity
|
||||
}
|
||||
|
||||
Rectangle {
|
||||
height: 1
|
||||
Layout.topMargin: 2 * scaleRatio
|
||||
Layout.bottomMargin: 2 * scaleRatio
|
||||
Layout.fillWidth: true
|
||||
color: MoneroComponents.Style.dividerColor
|
||||
opacity: MoneroComponents.Style.dividerOpacity
|
||||
}
|
||||
|
||||
MoneroComponents.TextBlock {
|
||||
Layout.fillWidth: true
|
||||
font.pixelSize: 14 * scaleRatio
|
||||
text: qsTr("Wallet mode: ") + translationManager.emptyString
|
||||
}
|
||||
|
||||
MoneroComponents.TextBlock {
|
||||
Layout.fillWidth: true
|
||||
font.pixelSize: 14 * scaleRatio
|
||||
text: walletModeString
|
||||
}
|
||||
}
|
||||
|
||||
// Copy info to clipboard
|
||||
@@ -261,6 +300,7 @@ Rectangle {
|
||||
data += currentWallet.walletCreationHeight;
|
||||
|
||||
data += "\nWallet log path: " + walletLogPath;
|
||||
data += "\nWallet mode: " + walletModeString;
|
||||
|
||||
console.log("Copied to clipboard");
|
||||
clipboard.setText(data);
|
||||
|
||||
@@ -164,6 +164,17 @@ Rectangle {
|
||||
}
|
||||
}
|
||||
|
||||
MoneroComponents.StandardButton {
|
||||
visible: !persistentSettings.customDecorations
|
||||
Layout.topMargin: 10 * scaleRatio
|
||||
small: true
|
||||
text: "Change language"
|
||||
|
||||
onClicked: {
|
||||
languageSidebar.isOpened ? languageSidebar.close() : languageSidebar.open();
|
||||
}
|
||||
}
|
||||
|
||||
MoneroComponents.TextBlock {
|
||||
visible: isMobile
|
||||
font.pixelSize: 14
|
||||
|
||||
@@ -258,6 +258,7 @@ Rectangle {
|
||||
}
|
||||
|
||||
GridLayout {
|
||||
visible: appWindow.walletMode >= 2
|
||||
Layout.fillWidth: true
|
||||
Layout.preferredHeight: settingsWallet.itemHeight
|
||||
columnSpacing: 0
|
||||
@@ -326,6 +327,7 @@ Rectangle {
|
||||
}
|
||||
Rectangle {
|
||||
// divider
|
||||
visible: appWindow.walletMode >= 2
|
||||
Layout.preferredHeight: 1 * scaleRatio
|
||||
Layout.fillWidth: true
|
||||
Layout.topMargin: 8 * scaleRatio
|
||||
|
||||
Reference in New Issue
Block a user