author | cniehaus <cniehaus> | 2002-12-28 21:23:17 (UTC) |
---|---|---|
committer | cniehaus <cniehaus> | 2002-12-28 21:23:17 (UTC) |
commit | 931de4c7181e10649d66e494bfa40e5a0843458c (patch) (unidiff) | |
tree | 16b23df184cb8f820c723babacca3449ac479850 /noncore/apps/odict/odict.h | |
parent | f70916f3ab05917a3d0dda64beb8db5ac16448ab (diff) | |
download | opie-931de4c7181e10649d66e494bfa40e5a0843458c.zip opie-931de4c7181e10649d66e494bfa40e5a0843458c.tar.gz opie-931de4c7181e10649d66e494bfa40e5a0843458c.tar.bz2 |
Well, the GUI is done, tomorrow comes the content
-rw-r--r-- | noncore/apps/odict/odict.h | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/noncore/apps/odict/odict.h b/noncore/apps/odict/odict.h new file mode 100644 index 0000000..98db25e --- a/dev/null +++ b/noncore/apps/odict/odict.h | |||
@@ -0,0 +1,45 @@ | |||
1 | /*************************************************************************** | ||
2 | * * | ||
3 | * This program is free software; you can redistribute it and/or modify * | ||
4 | * it under the terms of the GNU General Public License as published by * | ||
5 | * the Free Software Foundation; either version 2 of the License, or * | ||
6 | * ( at your option ) any later version. * | ||
7 | * * | ||
8 | **************************************************************************/ | ||
9 | |||
10 | #include <qmainwindow.h> | ||
11 | |||
12 | class QPopupMenu; | ||
13 | class QMenuBar; | ||
14 | class QHBox; | ||
15 | class QPushButton; | ||
16 | class QLineEdit; | ||
17 | class QAction; | ||
18 | class QActionGroup; | ||
19 | |||
20 | class ODict : public QMainWindow | ||
21 | { | ||
22 | Q_OBJECT | ||
23 | |||
24 | public: | ||
25 | ODict(); | ||
26 | |||
27 | private: | ||
28 | QPopupMenu *help, *settings, *parameter, *error_tol_menu; | ||
29 | QMenuBar *menu; | ||
30 | QHBox *hbox; | ||
31 | QLineEdit *query_le; | ||
32 | QPushButton *ok_button; | ||
33 | |||
34 | QAction *setting_a, *setting_b; | ||
35 | |||
36 | void setupMenus(); | ||
37 | |||
38 | private slots: | ||
39 | void slotDisplayAbout(); | ||
40 | void slotStartQuery(); | ||
41 | void slotSetErrorcount( int ); | ||
42 | void slotSettings(); | ||
43 | void slotSetParameter( int ); | ||
44 | void slotSearchMethods(); | ||
45 | }; | ||