update tab stops

This commit is contained in:
adityapk00
2018-11-21 19:20:05 -08:00
parent 852df8e7b1
commit 0a7f315c1a
2 changed files with 16 additions and 4 deletions

View File

@@ -169,6 +169,7 @@ void MainWindow::turnstileProgress() {
else else
progress.buttonBox->button(QDialogButtonBox::Discard)->setVisible(false); progress.buttonBox->button(QDialogButtonBox::Discard)->setVisible(false);
// Abort button clicked
QObject::connect(progress.buttonBox->button(QDialogButtonBox::Discard), &QPushButton::clicked, [&] () { QObject::connect(progress.buttonBox->button(QDialogButtonBox::Discard), &QPushButton::clicked, [&] () {
if (curProgress.step != curProgress.totalSteps) { if (curProgress.step != curProgress.totalSteps) {
auto abort = QMessageBox::warning(this, "Are you sure you want to Abort?", auto abort = QMessageBox::warning(this, "Are you sure you want to Abort?",

View File

@@ -22,7 +22,7 @@
<item row="0" column="0"> <item row="0" column="0">
<widget class="QTabWidget" name="tabWidget"> <widget class="QTabWidget" name="tabWidget">
<property name="currentIndex"> <property name="currentIndex">
<number>1</number> <number>2</number>
</property> </property>
<widget class="QWidget" name="tab"> <widget class="QWidget" name="tab">
<attribute name="title"> <attribute name="title">
@@ -711,6 +711,9 @@
<property name="text"> <property name="text">
<string>Address</string> <string>Address</string>
</property> </property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
</property>
</widget> </widget>
</item> </item>
</layout> </layout>
@@ -1048,19 +1051,27 @@
<tabstops> <tabstops>
<tabstop>tabWidget</tabstop> <tabstop>tabWidget</tabstop>
<tabstop>inputsCombo</tabstop> <tabstop>inputsCombo</tabstop>
<tabstop>sendAddressBalance</tabstop>
<tabstop>sendToScrollArea</tabstop>
<tabstop>Address1</tabstop> <tabstop>Address1</tabstop>
<tabstop>Amount1</tabstop> <tabstop>Amount1</tabstop>
<tabstop>Max1</tabstop> <tabstop>Max1</tabstop>
<tabstop>AddressBook1</tabstop>
<tabstop>MemoBtn1</tabstop>
<tabstop>addAddressButton</tabstop> <tabstop>addAddressButton</tabstop>
<tabstop>sendTransactionButton</tabstop> <tabstop>sendTransactionButton</tabstop>
<tabstop>cancelSendButton</tabstop> <tabstop>cancelSendButton</tabstop>
<tabstop>balancesTable</tabstop> <tabstop>rdioZSAddr</tabstop>
<tabstop>rdioTAddr</tabstop> <tabstop>rdioTAddr</tabstop>
<tabstop>rdioZAddr</tabstop>
<tabstop>listRecieveAddresses</tabstop> <tabstop>listRecieveAddresses</tabstop>
<tabstop>btnRecieveNewAddr</tabstop> <tabstop>btnRecieveNewAddr</tabstop>
<tabstop>txtRecieve</tabstop>
<tabstop>rcvLabel</tabstop>
<tabstop>rcvUpdateLabel</tabstop>
<tabstop>transactionsTable</tabstop> <tabstop>transactionsTable</tabstop>
<tabstop>balancesTable</tabstop>
<tabstop>minerFeeAmt</tabstop>
<tabstop>sendAddressBalance</tabstop>
<tabstop>sendToScrollArea</tabstop>
</tabstops> </tabstops>
<resources> <resources>
<include location="../application.qrc"/> <include location="../application.qrc"/>