better text for the button. thanks celeste
[kdebase.git] / runtime / khelpcenter / fontdialog.h
blob8aa98c6863ea61c44deb99c7ea7b373ac6607ad1
1 /*
2 * This file is part of the KDE Help Center
4 * Copyright (C) 2003 Frerich Raabe <raabe@kde.org>
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20 #ifndef FONTDIALOG_H
21 #define FONTDIALOG_H
23 #include <kdialog.h>
25 class QSpinBox;
27 class KComboBox;
28 class KFontComboBox;
29 class KIntNumInput;
30 class KVBox;
32 namespace KHC {
34 class FontDialog : public KDialog
36 Q_OBJECT
37 public:
38 FontDialog( QWidget *parent );
40 protected Q_SLOTS:
41 virtual void slotOk();
43 private:
44 void setupFontSizesBox();
45 void setupFontTypesBox();
46 void setupFontEncodingBox();
48 void load();
49 void save();
51 KIntNumInput *m_minFontSize;
52 KIntNumInput *m_medFontSize;
53 KFontComboBox *m_standardFontCombo;
54 KFontComboBox *m_fixedFontCombo;
55 KFontComboBox *m_serifFontCombo;
56 KFontComboBox *m_sansSerifFontCombo;
57 KFontComboBox *m_italicFontCombo;
58 KFontComboBox *m_fantasyFontCombo;
59 KComboBox *m_defaultEncoding;
60 QSpinBox *m_fontSizeAdjustement;
61 KVBox *m_mainWidget;
66 #endif // FONTDIALOG_H
67 // vim:ts=4:sw=4:noet