mirror of
https://github.com/dashpay/dash.git
synced 2024-12-27 04:52:59 +01:00
qt: Fix tab order in send and receive tab
This commit is contained in:
parent
79fb0557cf
commit
69d03bc6e2
@ -116,7 +116,8 @@ bool BitcoinAmountField::eventFilter(QObject *object, QEvent *event)
|
|||||||
QWidget *BitcoinAmountField::setupTabChain(QWidget *prev)
|
QWidget *BitcoinAmountField::setupTabChain(QWidget *prev)
|
||||||
{
|
{
|
||||||
QWidget::setTabOrder(prev, amount);
|
QWidget::setTabOrder(prev, amount);
|
||||||
return amount;
|
QWidget::setTabOrder(amount, unit);
|
||||||
|
return unit;
|
||||||
}
|
}
|
||||||
|
|
||||||
qint64 BitcoinAmountField::value(bool *valid_out) const
|
qint64 BitcoinAmountField::value(bool *valid_out) const
|
||||||
|
@ -245,6 +245,9 @@
|
|||||||
<property name="contextMenuPolicy">
|
<property name="contextMenuPolicy">
|
||||||
<enum>Qt::CustomContextMenu</enum>
|
<enum>Qt::CustomContextMenu</enum>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="tabKeyNavigation">
|
||||||
|
<bool>false</bool>
|
||||||
|
</property>
|
||||||
<property name="sortingEnabled">
|
<property name="sortingEnabled">
|
||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
</property>
|
</property>
|
||||||
@ -312,8 +315,8 @@
|
|||||||
<tabstop>reqAmount</tabstop>
|
<tabstop>reqAmount</tabstop>
|
||||||
<tabstop>reqMessage</tabstop>
|
<tabstop>reqMessage</tabstop>
|
||||||
<tabstop>reuseAddress</tabstop>
|
<tabstop>reuseAddress</tabstop>
|
||||||
<tabstop>clearButton</tabstop>
|
|
||||||
<tabstop>receiveButton</tabstop>
|
<tabstop>receiveButton</tabstop>
|
||||||
|
<tabstop>clearButton</tabstop>
|
||||||
<tabstop>recentRequestsView</tabstop>
|
<tabstop>recentRequestsView</tabstop>
|
||||||
<tabstop>showRequestButton</tabstop>
|
<tabstop>showRequestButton</tabstop>
|
||||||
<tabstop>removeRequestButton</tabstop>
|
<tabstop>removeRequestButton</tabstop>
|
||||||
|
@ -325,9 +325,10 @@ QWidget *SendCoinsDialog::setupTabChain(QWidget *prev)
|
|||||||
prev = entry->setupTabChain(prev);
|
prev = entry->setupTabChain(prev);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
QWidget::setTabOrder(prev, ui->addButton);
|
QWidget::setTabOrder(prev, ui->sendButton);
|
||||||
QWidget::setTabOrder(ui->addButton, ui->sendButton);
|
QWidget::setTabOrder(ui->sendButton, ui->clearButton);
|
||||||
return ui->sendButton;
|
QWidget::setTabOrder(ui->clearButton, ui->addButton);
|
||||||
|
return ui->addButton;
|
||||||
}
|
}
|
||||||
|
|
||||||
void SendCoinsDialog::setAddress(const QString &address)
|
void SendCoinsDialog::setAddress(const QString &address)
|
||||||
|
Loading…
Reference in New Issue
Block a user