From 3e148606b756137ce4a8e9bfcd0091adb9ea56c0 Mon Sep 17 00:00:00 2001 From: Martin Rotter Date: Mon, 3 Feb 2014 18:08:07 +0100 Subject: [PATCH] Edited tab orders. --- src/gui/formstandardcategorydetails.cpp | 6 ++++++ src/gui/formstandardfeeddetails.cpp | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src/gui/formstandardcategorydetails.cpp b/src/gui/formstandardcategorydetails.cpp index 2beddc8ab..31397f0e1 100644 --- a/src/gui/formstandardcategorydetails.cpp +++ b/src/gui/formstandardcategorydetails.cpp @@ -218,6 +218,12 @@ void FormStandardCategoryDetails::initialize() { m_iconMenu->addAction(m_actionUseDefaultIcon); m_iconMenu->addAction(m_actionNoIcon); m_ui->m_btnIcon->setMenu(m_iconMenu); + + // Setup tab order. + setTabOrder(m_ui->m_buttonBox, m_ui->m_cmbParentCategory); + setTabOrder(m_ui->m_cmbParentCategory, m_ui->m_txtTitle->lineEdit()); + setTabOrder(m_ui->m_txtTitle->lineEdit(), m_ui->m_txtDescription->lineEdit()); + setTabOrder(m_ui->m_txtDescription->lineEdit(), m_ui->m_btnIcon); } void FormStandardCategoryDetails::loadCategories(const QList categories, diff --git a/src/gui/formstandardfeeddetails.cpp b/src/gui/formstandardfeeddetails.cpp index 81d2893f0..14ab3386b 100644 --- a/src/gui/formstandardfeeddetails.cpp +++ b/src/gui/formstandardfeeddetails.cpp @@ -365,7 +365,9 @@ void FormStandardFeedDetails::initialize() { setTabOrder(m_ui->m_txtTitle->lineEdit(), m_ui->m_txtDescription->lineEdit()); setTabOrder(m_ui->m_txtDescription->lineEdit(), m_ui->m_txtUrl->lineEdit()); setTabOrder(m_ui->m_txtUrl->lineEdit(), m_ui->m_cmbEncoding); - setTabOrder(m_ui->m_cmbEncoding, m_ui->m_btnIcon); + setTabOrder(m_ui->m_cmbEncoding, m_ui->m_cmbAutoUpdateType); + setTabOrder(m_ui->m_cmbAutoUpdateType, m_ui->m_spinAutoUpdateInterval); + setTabOrder(m_ui->m_spinAutoUpdateInterval, m_ui->m_btnIcon); setTabOrder(m_ui->m_btnIcon, m_ui->m_gbAuthentication); setTabOrder(m_ui->m_gbAuthentication, m_ui->m_txtUsername->lineEdit()); setTabOrder(m_ui->m_txtUsername->lineEdit(), m_ui->m_txtPassword->lineEdit());