author | drw <drw> | 2004-11-16 17:38:05 (UTC) |
---|---|---|
committer | drw <drw> | 2004-11-16 17:38:05 (UTC) |
commit | 3ba09273d96a32263bb22bfbc32fcc6290bde6e8 (patch) (side-by-side diff) | |
tree | 5191d954dd0769bbf47445daeec024888e523773 /noncore/settings/packagemanager/filterdlg.cpp | |
parent | 36f98a2f0438edf82e4f326660786207ee46d87d (diff) | |
download | opie-3ba09273d96a32263bb22bfbc32fcc6290bde6e8.zip opie-3ba09273d96a32263bb22bfbc32fcc6290bde6e8.tar.gz opie-3ba09273d96a32263bb22bfbc32fcc6290bde6e8.tar.bz2 |
Minor UI tweak - in filter dialog, when option is enabled, set focus to widget that corresponds to that option (less tapping)
Diffstat (limited to 'noncore/settings/packagemanager/filterdlg.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/packagemanager/filterdlg.cpp | 47 |
1 files changed, 26 insertions, 21 deletions
diff --git a/noncore/settings/packagemanager/filterdlg.cpp b/noncore/settings/packagemanager/filterdlg.cpp index 70875bd..0e1ea52 100644 --- a/noncore/settings/packagemanager/filterdlg.cpp +++ b/noncore/settings/packagemanager/filterdlg.cpp @@ -1,25 +1,25 @@ /* - This file is part of the OPIE Project + This file is part of the OPIE Project =. Copyright (c) 2003 Dan Williams <drw@handhelds.org> - .=l. - .>+-= - _;:, .> :=|. This file is free software; you can -.> <`_, > . <= redistribute it and/or modify it under -:`=1 )Y*s>-.-- : the terms of the GNU General Public -.="- .-=="i, .._ License as published by the Free Software - - . .-<_> .<> Foundation; either version 2 of the License, - ._= =} : or (at your option) any later version. - .%`+i> _;_. - .i_,=:_. -<s. This file is distributed in the hope that - + . -:. = it will be useful, but WITHOUT ANY WARRANTY; - : .. .:, . . . without even the implied warranty of - =_ + =;=|` MERCHANTABILITY or FITNESS FOR A - _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU General -..}^=.= = ; Public License for more details. -++= -. .` .: - : = ...= . :.=- You should have received a copy of the GNU - -. .:....=;==+<; General Public License along with this file; - -_. . . )=. = see the file COPYING. If not, write to the - -- :-=` Free Software Foundation, Inc., + .=l. + .>+-= +_;:, .> :=|. This file is free software; you can +.> <`_, > . <= redistribute it and/or modify it under +:`=1 )Y*s>-.-- : the terms of the GNU General Public +.="- .-=="i, .._ License as published by the Free Software +- . .-<_> .<> Foundation; either version 2 of the License, + ._= =} : or (at your option) any later version. + .%`+i> _;_. + .i_,=:_. -<s. This file is distributed in the hope that + + . -:. = it will be useful, but WITHOUT ANY WARRANTY; + : .. .:, . . . without even the implied warranty of + =_ + =;=|` MERCHANTABILITY or FITNESS FOR A + _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU General +..}^=.= = ; Public License for more details. +++= -. .` .: +: = ...= . :.=- You should have received a copy of the GNU +-. .:....=;==+<; General Public License along with this file; + -_. . . )=. = see the file COPYING. If not, write to the + -- :-=` Free Software Foundation, Inc., 59 Temple Place - Suite 330, @@ -144,2 +144,3 @@ void FilterDlg::slotNameSelected( bool selected ) m_name->setEnabled( selected ); + m_name->setFocus(); } @@ -149,2 +150,3 @@ void FilterDlg::slotServerSelected( bool selected ) m_server->setEnabled( selected ); + m_server->setFocus(); } @@ -154,2 +156,3 @@ void FilterDlg::slotDestSelected( bool selected ) m_destination->setEnabled( selected ); + m_destination->setFocus(); } @@ -159,2 +162,3 @@ void FilterDlg::slotStatusSelected( bool selected ) m_status->setEnabled( selected ); + m_status->setFocus(); @@ -188,2 +192,3 @@ void FilterDlg::slotCategorySelected( bool selected ) m_category->setEnabled( selected ); + m_category->setFocus(); } |