-rw-r--r-- | noncore/apps/checkbook/qcheckentry.cpp | 5 | ||||
-rw-r--r-- | noncore/apps/checkbook/qcheckentrybase.ui | 9 |
2 files changed, 13 insertions, 1 deletions
diff --git a/noncore/apps/checkbook/qcheckentry.cpp b/noncore/apps/checkbook/qcheckentry.cpp index 9ff02c9..2e8da1c 100644 --- a/noncore/apps/checkbook/qcheckentry.cpp +++ b/noncore/apps/checkbook/qcheckentry.cpp @@ -16,32 +16,37 @@ QCheckEntry::QCheckEntry() dateEdit->setText(todaysdate); descriptionCombo->setFocus(); dateEdit->setValidChars("0123456789./-"); dateEdit->setMaxLength(10); descriptionCombo->lineEdit()->setMaxLength(30); checkNumber->setValidChars("0123456789-"); checkNumber->setMaxLength(10); transAmount->setValidChars("0123456789."); transFee->setMaxLength(5); transFee->setValidChars("0123456789."); + setTabOrder(transType,checkNumber); + setTabOrder(checkNumber,transAmount); + setTabOrder(transAmount,transFee); + setTabOrder(transFee,dateEdit); + setTabOrder(dateEdit, additionalNotes ); } void QCheckEntry::paymentClicked() { cmbCategory->clear(); cmbCategory->insertItem( tr( "Automobile" ) ); cmbCategory->insertItem( tr( "Bills" ) ); cmbCategory->insertItem( tr( "CDs" ) ); cmbCategory->insertItem( tr( "Clothing" ) ); cmbCategory->insertItem( tr( "Computer" ) ); cmbCategory->insertItem( tr( "DVDs" ) ); cmbCategory->insertItem( tr( "Eletronics" ) ); cmbCategory->insertItem( tr( "Entertainment" ) ); cmbCategory->insertItem( tr( "Food" ) ); cmbCategory->insertItem( tr( "Gasoline" ) ); cmbCategory->insertItem( tr( "Misc" ) ); diff --git a/noncore/apps/checkbook/qcheckentrybase.ui b/noncore/apps/checkbook/qcheckentrybase.ui index a57d761..efc35ff 100644 --- a/noncore/apps/checkbook/qcheckentrybase.ui +++ b/noncore/apps/checkbook/qcheckentrybase.ui @@ -1,30 +1,30 @@ <!DOCTYPE UI><UI> <class>QCheckEntryBase</class> <widget> <class>QDialog</class> <property stdset="1"> <name>name</name> <cstring>QCheckEntryBase</cstring> </property> <property stdset="1"> <name>geometry</name> <rect> <x>0</x> <y>0</y> - <width>228</width> + <width>224</width> <height>291</height> </rect> </property> <property stdset="1"> <name>caption</name> <string>Account Transaction</string> </property> <property> <name>layoutMargin</name> </property> <property> <name>layoutSpacing</name> </property> <grid> <property stdset="1"> <name>margin</name> @@ -587,17 +587,24 @@ <height>-1</height> </sizehint> <container>0</container> <sizepolicy> <hordata>5</hordata> <verdata>5</verdata> </sizepolicy> <pixmap>image0</pixmap> </customwidget> </customwidgets> <images> <image> <name>image0</name> <data format="XPM.GZ" length="649">789c6dd23b0ec2300c00d03da7b0e22d42e9476c88232031222186c80c3074813220c4dd214dddd84dac0e759fe2386e1a07a7e3015c639e6318ef04740b0f70d7d730bccf97fdc7d8be87f8406737c62210606869dbb531f531a57f4a299d03a7e06c11cca1055508412c2889acc2ef425423b34840a645f28244936860d2c265d7923bae8b2f05cb35a91739002d2b5727d535cbe954a43ad1e22f700755caf7407cf4799fe286c47dbe3bf303014167a2</data> </image> </images> +<tabstops> + <tabstop>payment</tabstop> + <tabstop>descriptionCombo</tabstop> + <tabstop>cmbCategory</tabstop> + <tabstop>transType</tabstop> + <tabstop>additionalNotes</tabstop> +</tabstops> </UI> |