00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef FONTDIALOG_H
00021 #define FONTDIALOG_H
00022
00023 #include <kdialogbase.h>
00024
00025 class TQBoxLayout;
00026 class TQSpinBox;
00027
00028 class KComboBox;
00029 class KFontCombo;
00030 class KIntNumInput;
00031
00032 namespace KHC {
00033
00034 class FontDialog : public KDialogBase
00035 {
00036 Q_OBJECT
00037 public:
00038 FontDialog( TQWidget *parent, const char *name = 0 );
00039
00040 protected slots:
00041 virtual void slotOk();
00042
00043 private:
00044 void setupFontSizesBox();
00045 void setupFontTypesBox();
00046 void setupFontEncodingBox();
00047
00048 void load();
00049 void save();
00050
00051 KIntNumInput *m_minFontSize;
00052 KIntNumInput *m_medFontSize;
00053 KFontCombo *m_standardFontCombo;
00054 KFontCombo *m_fixedFontCombo;
00055 KFontCombo *m_serifFontCombo;
00056 KFontCombo *m_sansSerifFontCombo;
00057 KFontCombo *m_italicFontCombo;
00058 KFontCombo *m_fantasyFontCombo;
00059 KComboBox *m_defaultEncoding;
00060 TQSpinBox *m_fontSizeAdjustement;
00061 };
00062
00063 }
00064
00065 #endif // FONTDIALOG_H
00066