00001 /* 00002 =. This file is part of the OPIE Project 00003 .=l. Copyright (c) 2003 Michael Lauer <mickeyl@handhelds.org> 00004 .>+-= 00005 _;:, .> :=|. This file is free software; you can 00006 .> <`_, > . <= redistribute it and/or modify it under 00007 :`=1 )Y*s>-.-- : the terms of the GNU General Public 00008 .="- .-=="i, .._ License as published by the Free Software 00009 - . .-<_> .<> Foundation; either version 2 of the License, 00010 ._= =} : or (at your option) any later version. 00011 .%`+i> _;_. 00012 .i_,=:_. -<s. This file is distributed in the hope that 00013 + . -:. = it will be useful, but WITHOUT ANY WARRANTY; 00014 : .. .:, . . . without even the implied warranty of 00015 =_ + =;=|` MERCHANTABILITY or FITNESS FOR A 00016 _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU General 00017 ..}^=.= = ; Public License for more details. 00018 ++= -. .` .: 00019 : = ...= . :.=- You should have received a copy of the GNU 00020 -. .:....=;==+<; General Public License along with this file; 00021 -_. . . )=. = see the file COPYING. If not, write to the 00022 -- :-=` Free Software Foundation, Inc., 00023 59 Temple Place - Suite 330, 00024 Boston, MA 02111-1307, USA. 00025 00026 */ 00027 00028 #ifndef __IMETHOD_SETTINGS_H__ 00029 #define __IMETHOD_SETTINGS_H__ 00030 00031 #include <qwidget.h> 00032 00033 class QCheckBox; 00034 class QSpinBox; 00035 00036 class InputMethodSettings : public QWidget 00037 { 00038 Q_OBJECT 00039 00040 public: 00041 InputMethodSettings ( QWidget *parent = 0, const char *name = 0 ); 00042 00043 void accept ( ); 00044 00045 protected: 00046 void init ( ); 00047 00048 private: 00049 QCheckBox* _resize; 00050 QCheckBox* _float; 00051 QSpinBox* _size; 00052 00053 private: 00054 bool changed()const; 00055 bool _wasResize : 1; 00056 bool _wasFloat : 1; 00057 int _wasWidth; 00058 }; 00059 00060 #endif
1.4.2