Improve the tag widget to allow us to tab to the next field

If the last key that went in ended a tag and the next key is a tab -
deliver that to the TabWidget instead so we can navigate between input
fields.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2014-05-16 15:12:46 +09:00
parent 531a5db2f1
commit 6d42a99e7f
4 changed files with 15 additions and 2 deletions

View file

@ -335,6 +335,11 @@ void MainTab::clearEquipment()
weightModel->clear();
}
void MainTab::nextInputField(QKeyEvent *event)
{
keyPressEvent(event);
}
void MainTab::clearInfo()
{
ui.sacText->clear();