-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 @@ -8,48 +8,53 @@ QCheckEntry::QCheckEntry() connect(payment, SIGNAL(clicked()), this, SLOT(paymentClicked())); connect(deposit, SIGNAL(clicked()), this, SLOT(depositClicked())); QString todaysdate = QString::number(QDate::currentDate().month()); todaysdate.append("/"); todaysdate.append(QString::number(QDate::currentDate().day())); todaysdate.append("/"); todaysdate.append(QString::number(QDate::currentDate().year())); 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" ) ); cmbCategory->insertItem( tr( "Movies" ) ); cmbCategory->insertItem( tr( "Rent" ) ); cmbCategory->insertItem( tr( "Travel" ) ); cmbCategory->setCurrentItem( 0 ); transType->clear(); transType->insertItem( tr( "Debit Charge" ) ); transType->insertItem( tr( "Written Check" ) ); transType->insertItem( tr( "Transfer" ) ); 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,38 +1,38 @@ <!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> <number>5</number> </property> <property stdset="1"> <name>spacing</name> <number>2</number> </property> <spacer row="7" column="8" rowspan="1" colspan="4" > <property> @@ -579,25 +579,32 @@ </grid> </widget> <customwidgets> <customwidget> <class>QRestrictedLine</class> <header location="local">qrestrictedline.h</header> <sizehint> <width>-1</width> <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> |