From 62a8414db074174e900fa4a504e6addfc23d1721 Mon Sep 17 00:00:00 2001 From: adityapk00 Date: Mon, 29 Oct 2018 18:34:54 -0700 Subject: [PATCH] fix previous commit --- src/ui_privkey.h | 77 -------------- src/ui_turnstile.h | 205 ------------------------------------- src/ui_turnstileprogress.h | 142 ------------------------- 3 files changed, 424 deletions(-) delete mode 100644 src/ui_privkey.h delete mode 100644 src/ui_turnstile.h delete mode 100644 src/ui_turnstileprogress.h diff --git a/src/ui_privkey.h b/src/ui_privkey.h deleted file mode 100644 index 825c5e0..0000000 --- a/src/ui_privkey.h +++ /dev/null @@ -1,77 +0,0 @@ -/******************************************************************************** -** Form generated from reading UI file 'privkey.ui' -** -** Created by: Qt User Interface Compiler version 5.11.2 -** -** WARNING! All changes made in this file will be lost when recompiling UI file! -********************************************************************************/ - -#ifndef UI_PRIVKEY_H -#define UI_PRIVKEY_H - -#include -#include -#include -#include -#include -#include -#include - -QT_BEGIN_NAMESPACE - -class Ui_PrivKey -{ -public: - QGridLayout *gridLayout; - QPlainTextEdit *privKeyTxt; - QDialogButtonBox *buttonBox; - QLabel *helpLbl; - - void setupUi(QDialog *PrivKey) - { - if (PrivKey->objectName().isEmpty()) - PrivKey->setObjectName(QStringLiteral("PrivKey")); - PrivKey->resize(461, 389); - gridLayout = new QGridLayout(PrivKey); - gridLayout->setObjectName(QStringLiteral("gridLayout")); - privKeyTxt = new QPlainTextEdit(PrivKey); - privKeyTxt->setObjectName(QStringLiteral("privKeyTxt")); - - gridLayout->addWidget(privKeyTxt, 1, 0, 1, 1); - - buttonBox = new QDialogButtonBox(PrivKey); - buttonBox->setObjectName(QStringLiteral("buttonBox")); - buttonBox->setOrientation(Qt::Horizontal); - buttonBox->setStandardButtons(QDialogButtonBox::Close|QDialogButtonBox::Ok); - - gridLayout->addWidget(buttonBox, 2, 0, 1, 1); - - helpLbl = new QLabel(PrivKey); - helpLbl->setObjectName(QStringLiteral("helpLbl")); - - gridLayout->addWidget(helpLbl, 0, 0, 1, 1); - - - retranslateUi(PrivKey); - QObject::connect(buttonBox, SIGNAL(accepted()), PrivKey, SLOT(accept())); - QObject::connect(buttonBox, SIGNAL(rejected()), PrivKey, SLOT(reject())); - - QMetaObject::connectSlotsByName(PrivKey); - } // setupUi - - void retranslateUi(QDialog *PrivKey) - { - PrivKey->setWindowTitle(QApplication::translate("PrivKey", "Private Key", nullptr)); - privKeyTxt->setPlainText(QString()); - helpLbl->setText(QApplication::translate("PrivKey", "TextLabel", nullptr)); - } // retranslateUi - -}; - -namespace Ui { - class PrivKey: public Ui_PrivKey {}; -} // namespace Ui - -QT_END_NAMESPACE - -#endif // UI_PRIVKEY_H diff --git a/src/ui_turnstile.h b/src/ui_turnstile.h deleted file mode 100644 index fe1d77c..0000000 --- a/src/ui_turnstile.h +++ /dev/null @@ -1,205 +0,0 @@ -/******************************************************************************** -** Form generated from reading UI file 'turnstile.ui' -** -** Created by: Qt User Interface Compiler version 5.11.2 -** -** WARNING! All changes made in this file will be lost when recompiling UI file! -********************************************************************************/ - -#ifndef UI_TURNSTILE_H -#define UI_TURNSTILE_H - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QT_BEGIN_NAMESPACE - -class Ui_Turnstile -{ -public: - QVBoxLayout *verticalLayout; - QGroupBox *groupBox; - QVBoxLayout *verticalLayout_2; - QGridLayout *gridLayout; - QLabel *msgIcon; - QLabel *label_2; - QLabel *label; - QComboBox *migrateZaddList; - QComboBox *privLevel; - QLabel *label_8; - QLabel *label_9; - QComboBox *migrateTo; - QFrame *line; - QLabel *fromBalance; - QSpacerItem *verticalSpacer; - QLabel *label_5; - QLabel *minerFee; - QLabel *label_3; - QDialogButtonBox *buttonBox; - - void setupUi(QDialog *Turnstile) - { - if (Turnstile->objectName().isEmpty()) - Turnstile->setObjectName(QStringLiteral("Turnstile")); - Turnstile->resize(565, 416); - verticalLayout = new QVBoxLayout(Turnstile); - verticalLayout->setObjectName(QStringLiteral("verticalLayout")); - groupBox = new QGroupBox(Turnstile); - groupBox->setObjectName(QStringLiteral("groupBox")); - verticalLayout_2 = new QVBoxLayout(groupBox); - verticalLayout_2->setObjectName(QStringLiteral("verticalLayout_2")); - gridLayout = new QGridLayout(); - gridLayout->setObjectName(QStringLiteral("gridLayout")); - msgIcon = new QLabel(groupBox); - msgIcon->setObjectName(QStringLiteral("msgIcon")); - msgIcon->setAlignment(Qt::AlignCenter); - - gridLayout->addWidget(msgIcon, 0, 0, 1, 1); - - label_2 = new QLabel(groupBox); - label_2->setObjectName(QStringLiteral("label_2")); - QSizePolicy sizePolicy(QSizePolicy::Minimum, QSizePolicy::Preferred); - sizePolicy.setHorizontalStretch(0); - sizePolicy.setVerticalStretch(0); - sizePolicy.setHeightForWidth(label_2->sizePolicy().hasHeightForWidth()); - label_2->setSizePolicy(sizePolicy); - - gridLayout->addWidget(label_2, 5, 0, 1, 1); - - label = new QLabel(groupBox); - label->setObjectName(QStringLiteral("label")); - sizePolicy.setHeightForWidth(label->sizePolicy().hasHeightForWidth()); - label->setSizePolicy(sizePolicy); - - gridLayout->addWidget(label, 2, 0, 1, 1); - - migrateZaddList = new QComboBox(groupBox); - migrateZaddList->setObjectName(QStringLiteral("migrateZaddList")); - QSizePolicy sizePolicy1(QSizePolicy::Expanding, QSizePolicy::Fixed); - sizePolicy1.setHorizontalStretch(0); - sizePolicy1.setVerticalStretch(0); - sizePolicy1.setHeightForWidth(migrateZaddList->sizePolicy().hasHeightForWidth()); - migrateZaddList->setSizePolicy(sizePolicy1); - migrateZaddList->setEditable(false); - - gridLayout->addWidget(migrateZaddList, 2, 1, 1, 2); - - privLevel = new QComboBox(groupBox); - privLevel->setObjectName(QStringLiteral("privLevel")); - sizePolicy1.setHeightForWidth(privLevel->sizePolicy().hasHeightForWidth()); - privLevel->setSizePolicy(sizePolicy1); - - gridLayout->addWidget(privLevel, 5, 1, 1, 2); - - label_8 = new QLabel(groupBox); - label_8->setObjectName(QStringLiteral("label_8")); - label_8->setWordWrap(true); - - gridLayout->addWidget(label_8, 0, 1, 1, 2); - - label_9 = new QLabel(groupBox); - label_9->setObjectName(QStringLiteral("label_9")); - sizePolicy.setHeightForWidth(label_9->sizePolicy().hasHeightForWidth()); - label_9->setSizePolicy(sizePolicy); - - gridLayout->addWidget(label_9, 4, 0, 1, 1); - - migrateTo = new QComboBox(groupBox); - migrateTo->setObjectName(QStringLiteral("migrateTo")); - - gridLayout->addWidget(migrateTo, 4, 1, 1, 2); - - line = new QFrame(groupBox); - line->setObjectName(QStringLiteral("line")); - line->setFrameShape(QFrame::HLine); - line->setFrameShadow(QFrame::Sunken); - - gridLayout->addWidget(line, 1, 0, 1, 3); - - fromBalance = new QLabel(groupBox); - fromBalance->setObjectName(QStringLiteral("fromBalance")); - - gridLayout->addWidget(fromBalance, 3, 1, 1, 1); - - verticalSpacer = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding); - - gridLayout->addItem(verticalSpacer, 7, 0, 2, 3); - - label_5 = new QLabel(groupBox); - label_5->setObjectName(QStringLiteral("label_5")); - sizePolicy.setHeightForWidth(label_5->sizePolicy().hasHeightForWidth()); - label_5->setSizePolicy(sizePolicy); - - gridLayout->addWidget(label_5, 6, 0, 1, 1); - - minerFee = new QLabel(groupBox); - minerFee->setObjectName(QStringLiteral("minerFee")); - QSizePolicy sizePolicy2(QSizePolicy::Expanding, QSizePolicy::Preferred); - sizePolicy2.setHorizontalStretch(0); - sizePolicy2.setVerticalStretch(0); - sizePolicy2.setHeightForWidth(minerFee->sizePolicy().hasHeightForWidth()); - minerFee->setSizePolicy(sizePolicy2); - minerFee->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter); - - gridLayout->addWidget(minerFee, 6, 1, 1, 2); - - label_3 = new QLabel(groupBox); - label_3->setObjectName(QStringLiteral("label_3")); - - gridLayout->addWidget(label_3, 3, 0, 1, 1); - - - verticalLayout_2->addLayout(gridLayout); - - - verticalLayout->addWidget(groupBox); - - buttonBox = new QDialogButtonBox(Turnstile); - buttonBox->setObjectName(QStringLiteral("buttonBox")); - buttonBox->setOrientation(Qt::Horizontal); - buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok); - - verticalLayout->addWidget(buttonBox); - - - retranslateUi(Turnstile); - QObject::connect(buttonBox, SIGNAL(accepted()), Turnstile, SLOT(accept())); - QObject::connect(buttonBox, SIGNAL(rejected()), Turnstile, SLOT(reject())); - - QMetaObject::connectSlotsByName(Turnstile); - } // setupUi - - void retranslateUi(QDialog *Turnstile) - { - Turnstile->setWindowTitle(QApplication::translate("Turnstile", "Turnstile Migration", nullptr)); - groupBox->setTitle(QApplication::translate("Turnstile", "Turnstile Migration", nullptr)); - msgIcon->setText(QString()); - label_2->setText(QApplication::translate("Turnstile", "Privacy Level", nullptr)); - label->setText(QApplication::translate("Turnstile", "From", nullptr)); - migrateZaddList->setCurrentText(QString()); - label_8->setText(QApplication::translate("Turnstile", "

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.

This migration can be done automatically for you.

", nullptr)); - label_9->setText(QApplication::translate("Turnstile", "To", nullptr)); - fromBalance->setText(QApplication::translate("Turnstile", "Balance", nullptr)); - label_5->setText(QApplication::translate("Turnstile", "Miner Fees", nullptr)); - minerFee->setText(QApplication::translate("Turnstile", "0.0004 ZEC $0.04", nullptr)); - label_3->setText(QApplication::translate("Turnstile", "Total Balance", nullptr)); - } // retranslateUi - -}; - -namespace Ui { - class Turnstile: public Ui_Turnstile {}; -} // namespace Ui - -QT_END_NAMESPACE - -#endif // UI_TURNSTILE_H diff --git a/src/ui_turnstileprogress.h b/src/ui_turnstileprogress.h deleted file mode 100644 index 046abc3..0000000 --- a/src/ui_turnstileprogress.h +++ /dev/null @@ -1,142 +0,0 @@ -/******************************************************************************** -** Form generated from reading UI file 'turnstileprogress.ui' -** -** Created by: Qt User Interface Compiler version 5.11.2 -** -** WARNING! All changes made in this file will be lost when recompiling UI file! -********************************************************************************/ - -#ifndef UI_TURNSTILEPROGRESS_H -#define UI_TURNSTILEPROGRESS_H - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QT_BEGIN_NAMESPACE - -class Ui_TurnstileProgress -{ -public: - QGridLayout *gridLayout; - QProgressBar *progressBar; - QLabel *label_4; - QFrame *line; - QLabel *nextTx; - QLabel *progressTxt; - QLabel *label_2; - QLabel *msgIcon; - QDialogButtonBox *buttonBox; - QSpacerItem *verticalSpacer; - QFrame *line_2; - - void setupUi(QDialog *TurnstileProgress) - { - if (TurnstileProgress->objectName().isEmpty()) - TurnstileProgress->setObjectName(QStringLiteral("TurnstileProgress")); - TurnstileProgress->resize(400, 300); - gridLayout = new QGridLayout(TurnstileProgress); - gridLayout->setObjectName(QStringLiteral("gridLayout")); - progressBar = new QProgressBar(TurnstileProgress); - progressBar->setObjectName(QStringLiteral("progressBar")); - progressBar->setValue(33); - - gridLayout->addWidget(progressBar, 3, 0, 1, 3); - - label_4 = new QLabel(TurnstileProgress); - label_4->setObjectName(QStringLiteral("label_4")); - QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::Preferred); - sizePolicy.setHorizontalStretch(0); - sizePolicy.setVerticalStretch(0); - sizePolicy.setHeightForWidth(label_4->sizePolicy().hasHeightForWidth()); - label_4->setSizePolicy(sizePolicy); - label_4->setWordWrap(true); - - gridLayout->addWidget(label_4, 7, 1, 1, 2); - - line = new QFrame(TurnstileProgress); - line->setObjectName(QStringLiteral("line")); - line->setFrameShape(QFrame::HLine); - line->setFrameShadow(QFrame::Sunken); - - gridLayout->addWidget(line, 4, 0, 1, 3); - - nextTx = new QLabel(TurnstileProgress); - nextTx->setObjectName(QStringLiteral("nextTx")); - - gridLayout->addWidget(nextTx, 5, 0, 1, 3); - - progressTxt = new QLabel(TurnstileProgress); - progressTxt->setObjectName(QStringLiteral("progressTxt")); - progressTxt->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter); - - gridLayout->addWidget(progressTxt, 2, 2, 1, 1); - - label_2 = new QLabel(TurnstileProgress); - label_2->setObjectName(QStringLiteral("label_2")); - - gridLayout->addWidget(label_2, 2, 0, 1, 2); - - msgIcon = new QLabel(TurnstileProgress); - msgIcon->setObjectName(QStringLiteral("msgIcon")); - QSizePolicy sizePolicy1(QSizePolicy::Minimum, QSizePolicy::Preferred); - sizePolicy1.setHorizontalStretch(0); - sizePolicy1.setVerticalStretch(0); - sizePolicy1.setHeightForWidth(msgIcon->sizePolicy().hasHeightForWidth()); - msgIcon->setSizePolicy(sizePolicy1); - msgIcon->setAlignment(Qt::AlignCenter); - - gridLayout->addWidget(msgIcon, 7, 0, 1, 1); - - buttonBox = new QDialogButtonBox(TurnstileProgress); - buttonBox->setObjectName(QStringLiteral("buttonBox")); - buttonBox->setOrientation(Qt::Horizontal); - buttonBox->setStandardButtons(QDialogButtonBox::Close|QDialogButtonBox::Discard); - buttonBox->setCenterButtons(false); - - gridLayout->addWidget(buttonBox, 9, 0, 1, 3); - - verticalSpacer = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding); - - gridLayout->addItem(verticalSpacer, 6, 0, 1, 3); - - line_2 = new QFrame(TurnstileProgress); - line_2->setObjectName(QStringLiteral("line_2")); - line_2->setFrameShape(QFrame::HLine); - line_2->setFrameShadow(QFrame::Sunken); - - gridLayout->addWidget(line_2, 8, 0, 1, 3); - - - retranslateUi(TurnstileProgress); - QObject::connect(buttonBox, SIGNAL(accepted()), TurnstileProgress, SLOT(accept())); - QObject::connect(buttonBox, SIGNAL(rejected()), TurnstileProgress, SLOT(reject())); - - QMetaObject::connectSlotsByName(TurnstileProgress); - } // setupUi - - void retranslateUi(QDialog *TurnstileProgress) - { - TurnstileProgress->setWindowTitle(QApplication::translate("TurnstileProgress", "Turnstile Migration Progress", nullptr)); - label_4->setText(QApplication::translate("TurnstileProgress", "Please ensure you have your wallet.dat backed up!", nullptr)); - nextTx->setText(QApplication::translate("TurnstileProgress", "Next Transaction in 4 hours", nullptr)); - progressTxt->setText(QApplication::translate("TurnstileProgress", "4 / 12", nullptr)); - label_2->setText(QApplication::translate("TurnstileProgress", "Migration Progress", nullptr)); - msgIcon->setText(QApplication::translate("TurnstileProgress", "TextLabel", nullptr)); - } // retranslateUi - -}; - -namespace Ui { - class TurnstileProgress: public Ui_TurnstileProgress {}; -} // namespace Ui - -QT_END_NAMESPACE - -#endif // UI_TURNSTILEPROGRESS_H