ui updates
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -8,7 +8,7 @@ src/precompiled.h.cpp
|
|||||||
.qmake.stash
|
.qmake.stash
|
||||||
zec-qt-wallet
|
zec-qt-wallet
|
||||||
zec-qt-wallet.vcxproj*
|
zec-qt-wallet.vcxproj*
|
||||||
zec-qt-wallet.pro.*
|
zec-qt-wallet.pro.user
|
||||||
Makefile
|
Makefile
|
||||||
Makefile.*
|
Makefile.*
|
||||||
qrc_application.cpp
|
qrc_application.cpp
|
||||||
|
|||||||
@@ -26,38 +26,6 @@ MainWindow::MainWindow(QWidget *parent) :
|
|||||||
// Settings editor
|
// Settings editor
|
||||||
setupSettingsModal();
|
setupSettingsModal();
|
||||||
|
|
||||||
// Turnstile migration
|
|
||||||
QObject::connect(ui->actionTurnstile_Migration, &QAction::triggered, [=] () {
|
|
||||||
Ui_Turnstile turnstile;
|
|
||||||
QDialog d(this);
|
|
||||||
turnstile.setupUi(&d);
|
|
||||||
|
|
||||||
QIcon icon = QApplication::style()->standardIcon(QStyle::SP_MessageBoxInformation);
|
|
||||||
turnstile.msgIcon->setPixmap(icon.pixmap(64, 64));
|
|
||||||
|
|
||||||
turnstile.migrateZaddList->addItem("All Sprout z-Addrs");
|
|
||||||
turnstile.migrateTo->addItem("zs1gv64eu0v2wx7raxqxlmj354y9ycznwaau9kduljzczxztvs4qcl00kn2sjxtejvrxnkucw5xx9u");
|
|
||||||
turnstile.privLevel->addItem("Good - 3 tx over 3 days");
|
|
||||||
turnstile.privLevel->addItem("Excellent - 5 tx over 5 days");
|
|
||||||
turnstile.privLevel->addItem("Paranoid - 10 tx over 7 days");
|
|
||||||
|
|
||||||
turnstile.buttonBox->button(QDialogButtonBox::Ok)->setText("Start");
|
|
||||||
|
|
||||||
d.exec();
|
|
||||||
});
|
|
||||||
|
|
||||||
QObject::connect(ui->actionProgress, &QAction::triggered, [=] () {
|
|
||||||
Ui_TurnstileProgress progress;
|
|
||||||
QDialog d(this);
|
|
||||||
progress.setupUi(&d);
|
|
||||||
|
|
||||||
QIcon icon = QApplication::style()->standardIcon(QStyle::SP_MessageBoxWarning);
|
|
||||||
progress.msgIcon->setPixmap(icon.pixmap(64, 64));
|
|
||||||
|
|
||||||
progress.buttonBox->button(QDialogButtonBox::Cancel)->setText("Abort");
|
|
||||||
d.exec();
|
|
||||||
});
|
|
||||||
|
|
||||||
// Set up exit action
|
// Set up exit action
|
||||||
QObject::connect(ui->actionExit, &QAction::triggered, this, &MainWindow::close);
|
QObject::connect(ui->actionExit, &QAction::triggered, this, &MainWindow::close);
|
||||||
|
|
||||||
@@ -90,6 +58,7 @@ MainWindow::MainWindow(QWidget *parent) :
|
|||||||
setupTransactionsTab();
|
setupTransactionsTab();
|
||||||
setupRecieveTab();
|
setupRecieveTab();
|
||||||
setupBalancesTab();
|
setupBalancesTab();
|
||||||
|
setupTurnstileDialog();
|
||||||
|
|
||||||
rpc = new RPC(new QNetworkAccessManager(this), this);
|
rpc = new RPC(new QNetworkAccessManager(this), this);
|
||||||
rpc->refreshZECPrice();
|
rpc->refreshZECPrice();
|
||||||
@@ -97,6 +66,79 @@ MainWindow::MainWindow(QWidget *parent) :
|
|||||||
rpc->refresh();
|
rpc->refresh();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void MainWindow::setupTurnstileDialog() {
|
||||||
|
//Turnstile t(this);
|
||||||
|
// t.planMigration(
|
||||||
|
// "ztsKtGwc7JTEHxQq1xiRWyU9o1sheA3tYjcaFTBfVtp4RKJ782U6pH9STEYUoWQiGn1epfRMmFhkWCUyCSCqByNj9HKnzKU",
|
||||||
|
// "ztbGDqgkmXQjheivgeirwEvJLD4SUNqsWCGwxwVg4YpGz1ARR8P2rXaptkT14z3NDKamcxNmQuvmvktyokMs7HkutRNSx1D"
|
||||||
|
// );
|
||||||
|
//t.executeMigrationStep();
|
||||||
|
|
||||||
|
// Turnstile migration
|
||||||
|
QObject::connect(ui->actionTurnstile_Migration, &QAction::triggered, [=] () {
|
||||||
|
Ui_Turnstile turnstile;
|
||||||
|
QDialog d(this);
|
||||||
|
turnstile.setupUi(&d);
|
||||||
|
|
||||||
|
QIcon icon = QApplication::style()->standardIcon(QStyle::SP_MessageBoxInformation);
|
||||||
|
turnstile.msgIcon->setPixmap(icon.pixmap(64, 64));
|
||||||
|
|
||||||
|
auto getAllSproutBalance = [=] () {
|
||||||
|
double bal = 0;
|
||||||
|
for (auto addr : *rpc->getAllZAddresses()) {
|
||||||
|
if (Settings::getInstance()->isSproutAddress(addr)) {
|
||||||
|
bal += rpc->getAllBalances()->value(addr);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return bal;
|
||||||
|
};
|
||||||
|
|
||||||
|
turnstile.migrateZaddList->addItem("All Sprout z-Addrs");
|
||||||
|
turnstile.fromBalance->setText(Settings::getInstance()->getZECUSDDisplayFormat(getAllSproutBalance()));
|
||||||
|
for (auto addr : *rpc->getAllZAddresses()) {
|
||||||
|
if (Settings::getInstance()->isSaplingAddress(addr)) {
|
||||||
|
turnstile.migrateTo->addItem(addr);
|
||||||
|
} else {
|
||||||
|
turnstile.migrateZaddList->addItem(addr);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
QObject::connect(turnstile.migrateZaddList, &QComboBox::currentTextChanged, [=] (auto addr) {
|
||||||
|
double bal = 0;
|
||||||
|
if (addr.startsWith("All")) {
|
||||||
|
bal = getAllSproutBalance();
|
||||||
|
} else {
|
||||||
|
bal = rpc->getAllBalances()->value(addr);
|
||||||
|
}
|
||||||
|
|
||||||
|
turnstile.fromBalance->setText(Settings::getInstance()->getZECUSDDisplayFormat(bal));
|
||||||
|
});
|
||||||
|
|
||||||
|
turnstile.privLevel->addItem("Good - 3 tx over 3 days");
|
||||||
|
turnstile.privLevel->addItem("Excellent - 5 tx over 5 days");
|
||||||
|
turnstile.privLevel->addItem("Paranoid - 10 tx over 7 days");
|
||||||
|
|
||||||
|
turnstile.buttonBox->button(QDialogButtonBox::Ok)->setText("Start");
|
||||||
|
|
||||||
|
d.exec();
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
QObject::connect(ui->actionProgress, &QAction::triggered, [=] () {
|
||||||
|
Ui_TurnstileProgress progress;
|
||||||
|
QDialog d(this);
|
||||||
|
progress.setupUi(&d);
|
||||||
|
|
||||||
|
QIcon icon = QApplication::style()->standardIcon(QStyle::SP_MessageBoxWarning);
|
||||||
|
progress.msgIcon->setPixmap(icon.pixmap(64, 64));
|
||||||
|
|
||||||
|
progress.buttonBox->button(QDialogButtonBox::Cancel)->setText("Abort");
|
||||||
|
d.exec();
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
void MainWindow::setupStatusBar() {
|
void MainWindow::setupStatusBar() {
|
||||||
// Status Bar
|
// Status Bar
|
||||||
loadingLabel = new QLabel();
|
loadingLabel = new QLabel();
|
||||||
|
|||||||
@@ -48,6 +48,7 @@ private:
|
|||||||
void setupRecieveTab();
|
void setupRecieveTab();
|
||||||
void setupBalancesTab();
|
void setupBalancesTab();
|
||||||
|
|
||||||
|
void setupTurnstileDialog();
|
||||||
void setupSettingsModal();
|
void setupSettingsModal();
|
||||||
void setupStatusBar();
|
void setupStatusBar();
|
||||||
|
|
||||||
|
|||||||
@@ -487,15 +487,6 @@ void RPC::refreshAddresses() {
|
|||||||
|
|
||||||
// Function to create the data model and update the views, used below.
|
// Function to create the data model and update the views, used below.
|
||||||
void RPC::updateUI(bool anyUnconfirmed) {
|
void RPC::updateUI(bool anyUnconfirmed) {
|
||||||
|
|
||||||
// Temp
|
|
||||||
Turnstile t(this);
|
|
||||||
// t.planMigration(
|
|
||||||
// "ztsKtGwc7JTEHxQq1xiRWyU9o1sheA3tYjcaFTBfVtp4RKJ782U6pH9STEYUoWQiGn1epfRMmFhkWCUyCSCqByNj9HKnzKU",
|
|
||||||
// "ztbGDqgkmXQjheivgeirwEvJLD4SUNqsWCGwxwVg4YpGz1ARR8P2rXaptkT14z3NDKamcxNmQuvmvktyokMs7HkutRNSx1D"
|
|
||||||
// );
|
|
||||||
t.executeMigrationStep();
|
|
||||||
|
|
||||||
ui->unconfirmedWarning->setVisible(anyUnconfirmed);
|
ui->unconfirmedWarning->setVisible(anyUnconfirmed);
|
||||||
|
|
||||||
// Update balances model data, which will update the table too
|
// Update balances model data, which will update the table too
|
||||||
|
|||||||
@@ -166,6 +166,14 @@ bool Settings::isSaplingAddress(QString addr) {
|
|||||||
(!isTestnet() && addr.startsWith("zs"));
|
(!isTestnet() && addr.startsWith("zs"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool Settings::isSproutAddress(QString addr) {
|
||||||
|
return isZAddress(addr) && !isSaplingAddress(addr);
|
||||||
|
}
|
||||||
|
|
||||||
|
bool Settings::isZAddress(QString addr) {
|
||||||
|
return addr.startsWith("z");
|
||||||
|
}
|
||||||
|
|
||||||
bool Settings::isSyncing() {
|
bool Settings::isSyncing() {
|
||||||
return _isSyncing;
|
return _isSyncing;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -29,6 +29,8 @@ public:
|
|||||||
void setTestnet(bool isTestnet);
|
void setTestnet(bool isTestnet);
|
||||||
|
|
||||||
bool isSaplingAddress(QString addr);
|
bool isSaplingAddress(QString addr);
|
||||||
|
bool isSproutAddress(QString addr);
|
||||||
|
bool isZAddress(QString addr);
|
||||||
|
|
||||||
bool isSyncing();
|
bool isSyncing();
|
||||||
void setSyncing(bool syncing);
|
void setSyncing(bool syncing);
|
||||||
|
|||||||
@@ -32,7 +32,7 @@
|
|||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="5" column="0" rowspan="2">
|
<item row="6" column="0" rowspan="2">
|
||||||
<widget class="QLabel" name="label_3">
|
<widget class="QLabel" name="label_3">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Total Fees</string>
|
<string>Total Fees</string>
|
||||||
@@ -42,14 +42,14 @@
|
|||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="4" column="0">
|
<item row="5" column="0">
|
||||||
<widget class="QLabel" name="label_2">
|
<widget class="QLabel" name="label_2">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Privacy Level</string>
|
<string>Privacy Level</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="5" column="1">
|
<item row="6" column="1">
|
||||||
<widget class="QLabel" name="label_4">
|
<widget class="QLabel" name="label_4">
|
||||||
<property name="sizePolicy">
|
<property name="sizePolicy">
|
||||||
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
|
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
|
||||||
@@ -75,7 +75,7 @@
|
|||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="6" column="1">
|
<item row="7" column="1">
|
||||||
<widget class="QLabel" name="label_5">
|
<widget class="QLabel" name="label_5">
|
||||||
<property name="sizePolicy">
|
<property name="sizePolicy">
|
||||||
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
|
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
|
||||||
@@ -88,7 +88,7 @@
|
|||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="7" column="0" colspan="2">
|
<item row="8" column="0" colspan="2">
|
||||||
<spacer name="verticalSpacer">
|
<spacer name="verticalSpacer">
|
||||||
<property name="orientation">
|
<property name="orientation">
|
||||||
<enum>Qt::Vertical</enum>
|
<enum>Qt::Vertical</enum>
|
||||||
@@ -101,14 +101,14 @@
|
|||||||
</property>
|
</property>
|
||||||
</spacer>
|
</spacer>
|
||||||
</item>
|
</item>
|
||||||
<item row="5" column="2">
|
<item row="6" column="2">
|
||||||
<widget class="QLabel" name="label_6">
|
<widget class="QLabel" name="label_6">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>0.0004 ZEC $0.04</string>
|
<string>0.0004 ZEC $0.04</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="6" column="2">
|
<item row="7" column="2">
|
||||||
<widget class="QLabel" name="label_7">
|
<widget class="QLabel" name="label_7">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>0.0004 ZEC $0.04</string>
|
<string>0.0004 ZEC $0.04</string>
|
||||||
@@ -131,7 +131,7 @@
|
|||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="4" column="1" colspan="2">
|
<item row="5" column="1" colspan="2">
|
||||||
<widget class="QComboBox" name="privLevel">
|
<widget class="QComboBox" name="privLevel">
|
||||||
<property name="sizePolicy">
|
<property name="sizePolicy">
|
||||||
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
||||||
@@ -151,7 +151,7 @@
|
|||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="3" column="0">
|
<item row="4" column="0">
|
||||||
<widget class="QLabel" name="label_9">
|
<widget class="QLabel" name="label_9">
|
||||||
<property name="sizePolicy">
|
<property name="sizePolicy">
|
||||||
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
|
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
|
||||||
@@ -164,7 +164,7 @@
|
|||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="3" column="1" colspan="2">
|
<item row="4" column="1" colspan="2">
|
||||||
<widget class="QComboBox" name="migrateTo"/>
|
<widget class="QComboBox" name="migrateTo"/>
|
||||||
</item>
|
</item>
|
||||||
<item row="1" column="0" colspan="3">
|
<item row="1" column="0" colspan="3">
|
||||||
@@ -174,6 +174,13 @@
|
|||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
<item row="3" column="1">
|
||||||
|
<widget class="QLabel" name="fromBalance">
|
||||||
|
<property name="text">
|
||||||
|
<string>Balance</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
|
|||||||
@@ -45,6 +45,7 @@ public:
|
|||||||
QLabel *label_9;
|
QLabel *label_9;
|
||||||
QComboBox *migrateTo;
|
QComboBox *migrateTo;
|
||||||
QFrame *line;
|
QFrame *line;
|
||||||
|
QLabel *fromBalance;
|
||||||
QDialogButtonBox *buttonBox;
|
QDialogButtonBox *buttonBox;
|
||||||
|
|
||||||
void setupUi(QDialog *Turnstile)
|
void setupUi(QDialog *Turnstile)
|
||||||
@@ -70,12 +71,12 @@ public:
|
|||||||
label_3->setObjectName(QStringLiteral("label_3"));
|
label_3->setObjectName(QStringLiteral("label_3"));
|
||||||
label_3->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop);
|
label_3->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop);
|
||||||
|
|
||||||
gridLayout->addWidget(label_3, 5, 0, 2, 1);
|
gridLayout->addWidget(label_3, 6, 0, 2, 1);
|
||||||
|
|
||||||
label_2 = new QLabel(groupBox);
|
label_2 = new QLabel(groupBox);
|
||||||
label_2->setObjectName(QStringLiteral("label_2"));
|
label_2->setObjectName(QStringLiteral("label_2"));
|
||||||
|
|
||||||
gridLayout->addWidget(label_2, 4, 0, 1, 1);
|
gridLayout->addWidget(label_2, 5, 0, 1, 1);
|
||||||
|
|
||||||
label_4 = new QLabel(groupBox);
|
label_4 = new QLabel(groupBox);
|
||||||
label_4->setObjectName(QStringLiteral("label_4"));
|
label_4->setObjectName(QStringLiteral("label_4"));
|
||||||
@@ -85,7 +86,7 @@ public:
|
|||||||
sizePolicy.setHeightForWidth(label_4->sizePolicy().hasHeightForWidth());
|
sizePolicy.setHeightForWidth(label_4->sizePolicy().hasHeightForWidth());
|
||||||
label_4->setSizePolicy(sizePolicy);
|
label_4->setSizePolicy(sizePolicy);
|
||||||
|
|
||||||
gridLayout->addWidget(label_4, 5, 1, 1, 1);
|
gridLayout->addWidget(label_4, 6, 1, 1, 1);
|
||||||
|
|
||||||
label = new QLabel(groupBox);
|
label = new QLabel(groupBox);
|
||||||
label->setObjectName(QStringLiteral("label"));
|
label->setObjectName(QStringLiteral("label"));
|
||||||
@@ -102,21 +103,21 @@ public:
|
|||||||
sizePolicy.setHeightForWidth(label_5->sizePolicy().hasHeightForWidth());
|
sizePolicy.setHeightForWidth(label_5->sizePolicy().hasHeightForWidth());
|
||||||
label_5->setSizePolicy(sizePolicy);
|
label_5->setSizePolicy(sizePolicy);
|
||||||
|
|
||||||
gridLayout->addWidget(label_5, 6, 1, 1, 1);
|
gridLayout->addWidget(label_5, 7, 1, 1, 1);
|
||||||
|
|
||||||
verticalSpacer = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
|
verticalSpacer = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
|
||||||
|
|
||||||
gridLayout->addItem(verticalSpacer, 7, 0, 1, 2);
|
gridLayout->addItem(verticalSpacer, 8, 0, 1, 2);
|
||||||
|
|
||||||
label_6 = new QLabel(groupBox);
|
label_6 = new QLabel(groupBox);
|
||||||
label_6->setObjectName(QStringLiteral("label_6"));
|
label_6->setObjectName(QStringLiteral("label_6"));
|
||||||
|
|
||||||
gridLayout->addWidget(label_6, 5, 2, 1, 1);
|
gridLayout->addWidget(label_6, 6, 2, 1, 1);
|
||||||
|
|
||||||
label_7 = new QLabel(groupBox);
|
label_7 = new QLabel(groupBox);
|
||||||
label_7->setObjectName(QStringLiteral("label_7"));
|
label_7->setObjectName(QStringLiteral("label_7"));
|
||||||
|
|
||||||
gridLayout->addWidget(label_7, 6, 2, 1, 1);
|
gridLayout->addWidget(label_7, 7, 2, 1, 1);
|
||||||
|
|
||||||
migrateZaddList = new QComboBox(groupBox);
|
migrateZaddList = new QComboBox(groupBox);
|
||||||
migrateZaddList->setObjectName(QStringLiteral("migrateZaddList"));
|
migrateZaddList->setObjectName(QStringLiteral("migrateZaddList"));
|
||||||
@@ -134,7 +135,7 @@ public:
|
|||||||
sizePolicy2.setHeightForWidth(privLevel->sizePolicy().hasHeightForWidth());
|
sizePolicy2.setHeightForWidth(privLevel->sizePolicy().hasHeightForWidth());
|
||||||
privLevel->setSizePolicy(sizePolicy2);
|
privLevel->setSizePolicy(sizePolicy2);
|
||||||
|
|
||||||
gridLayout->addWidget(privLevel, 4, 1, 1, 2);
|
gridLayout->addWidget(privLevel, 5, 1, 1, 2);
|
||||||
|
|
||||||
label_8 = new QLabel(groupBox);
|
label_8 = new QLabel(groupBox);
|
||||||
label_8->setObjectName(QStringLiteral("label_8"));
|
label_8->setObjectName(QStringLiteral("label_8"));
|
||||||
@@ -147,12 +148,12 @@ public:
|
|||||||
sizePolicy1.setHeightForWidth(label_9->sizePolicy().hasHeightForWidth());
|
sizePolicy1.setHeightForWidth(label_9->sizePolicy().hasHeightForWidth());
|
||||||
label_9->setSizePolicy(sizePolicy1);
|
label_9->setSizePolicy(sizePolicy1);
|
||||||
|
|
||||||
gridLayout->addWidget(label_9, 3, 0, 1, 1);
|
gridLayout->addWidget(label_9, 4, 0, 1, 1);
|
||||||
|
|
||||||
migrateTo = new QComboBox(groupBox);
|
migrateTo = new QComboBox(groupBox);
|
||||||
migrateTo->setObjectName(QStringLiteral("migrateTo"));
|
migrateTo->setObjectName(QStringLiteral("migrateTo"));
|
||||||
|
|
||||||
gridLayout->addWidget(migrateTo, 3, 1, 1, 2);
|
gridLayout->addWidget(migrateTo, 4, 1, 1, 2);
|
||||||
|
|
||||||
line = new QFrame(groupBox);
|
line = new QFrame(groupBox);
|
||||||
line->setObjectName(QStringLiteral("line"));
|
line->setObjectName(QStringLiteral("line"));
|
||||||
@@ -161,6 +162,11 @@ public:
|
|||||||
|
|
||||||
gridLayout->addWidget(line, 1, 0, 1, 3);
|
gridLayout->addWidget(line, 1, 0, 1, 3);
|
||||||
|
|
||||||
|
fromBalance = new QLabel(groupBox);
|
||||||
|
fromBalance->setObjectName(QStringLiteral("fromBalance"));
|
||||||
|
|
||||||
|
gridLayout->addWidget(fromBalance, 3, 1, 1, 1);
|
||||||
|
|
||||||
|
|
||||||
verticalLayout_2->addLayout(gridLayout);
|
verticalLayout_2->addLayout(gridLayout);
|
||||||
|
|
||||||
@@ -197,6 +203,7 @@ public:
|
|||||||
migrateZaddList->setCurrentText(QString());
|
migrateZaddList->setCurrentText(QString());
|
||||||
label_8->setText(QApplication::translate("Turnstile", "<html><head/><body><p>Funds from Sprout z-Addresses (which start with "zc") need to be moved to the upgraded Sapling z-Addresses (which start with "zs"). The funds cannot be moved directly, but need to be sent through intermediate "transparent" addresses in privacy-preserving way.</p><p>This migration can be done automatically for you.</p></body></html>", nullptr));
|
label_8->setText(QApplication::translate("Turnstile", "<html><head/><body><p>Funds from Sprout z-Addresses (which start with "zc") need to be moved to the upgraded Sapling z-Addresses (which start with "zs"). The funds cannot be moved directly, but need to be sent through intermediate "transparent" addresses in privacy-preserving way.</p><p>This migration can be done automatically for you.</p></body></html>", nullptr));
|
||||||
label_9->setText(QApplication::translate("Turnstile", "To", nullptr));
|
label_9->setText(QApplication::translate("Turnstile", "To", nullptr));
|
||||||
|
fromBalance->setText(QApplication::translate("Turnstile", "Balance", nullptr));
|
||||||
} // retranslateUi
|
} // retranslateUi
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user