author | llornkcor <llornkcor> | 2004-04-07 13:07:42 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2004-04-07 13:07:42 (UTC) |
commit | fc42c7317c956e5bc6e74bfbb1ec185d2faa79f4 (patch) (unidiff) | |
tree | 703e89c7178f764aab25028d4525f74340b28dcb /noncore/apps/opie-gutenbrowser/fontDialog.h | |
parent | 9e1ecade17a77c3d50aecc4c92091d852e99e8d9 (diff) | |
download | opie-fc42c7317c956e5bc6e74bfbb1ec185d2faa79f4.zip opie-fc42c7317c956e5bc6e74bfbb1ec185d2faa79f4.tar.gz opie-fc42c7317c956e5bc6e74bfbb1ec185d2faa79f4.tar.bz2 |
add gutenbrowser
Diffstat (limited to 'noncore/apps/opie-gutenbrowser/fontDialog.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-gutenbrowser/fontDialog.h | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/noncore/apps/opie-gutenbrowser/fontDialog.h b/noncore/apps/opie-gutenbrowser/fontDialog.h new file mode 100644 index 0000000..08a83ac --- a/dev/null +++ b/noncore/apps/opie-gutenbrowser/fontDialog.h | |||
@@ -0,0 +1,59 @@ | |||
1 | /**************************************************************************** | ||
2 | ** Created: Sun Jan 27 11:02:59 2002 | ||
3 | copyright 2002 by L.J. Potter ljp@llornkcor.com | ||
4 | copyright : (C) 2000 -2004 by llornkcor | ||
5 | email : ljp@llornkcor.com | ||
6 | ****************************************************************************/ | ||
7 | #ifndef FONTDIALOG_H | ||
8 | #define FONTDIALOG_H | ||
9 | |||
10 | #include <qvariant.h> | ||
11 | #include <qdialog.h> | ||
12 | #include <qpe/fontdatabase.h> | ||
13 | #include <qfont.h> | ||
14 | |||
15 | class QVBoxLayout; | ||
16 | class QHBoxLayout; | ||
17 | class QGridLayout; | ||
18 | class QLabel; | ||
19 | class QListBox; | ||
20 | class QListBoxItem; | ||
21 | class QPushButton; | ||
22 | class QGroupBox; | ||
23 | class QMultiLineEdit; | ||
24 | class QComboBox; | ||
25 | |||
26 | class FontDialog : public /*QDialog*/ QWidget | ||
27 | { | ||
28 | Q_OBJECT | ||
29 | |||
30 | public: | ||
31 | FontDialog( QWidget * parent = 0, const char* name = 0 /*, bool modal=FALSE, WFlags fl = 0 */); | ||
32 | ~FontDialog(); | ||
33 | |||
34 | QLabel *FontTextLabel4; | ||
35 | QGroupBox *FamilyGroup, *GroupBox2; | ||
36 | QListBox *familyListBox, *styleListBox, *sizeListBox; | ||
37 | QMultiLineEdit *MultiLineEdit1; | ||
38 | QPushButton *PushButtonOk,*PushButtonCancel; | ||
39 | QStringList families; | ||
40 | QComboBox *sizeComboBox; | ||
41 | |||
42 | FontDatabase fdb; | ||
43 | QString family, style, size; | ||
44 | QFont selectedFont; | ||
45 | bool changedFonts; | ||
46 | void populateLists(); | ||
47 | void clearListBoxes(); | ||
48 | void changeText(); | ||
49 | protected slots: | ||
50 | |||
51 | void familyListBoxSlot(const QString &); | ||
52 | void styleListBoxSlot(const QString &); | ||
53 | void sizeComboBoxSlot(const QString &); | ||
54 | // void sizeListBoxSlot(const QString &); | ||
55 | |||
56 | |||
57 | }; | ||
58 | |||
59 | #endif // FONTDIALOG_H | ||