1 // -*- c-basic-offset: 2 -*-
3 * Copyright (c) Martin R. Jones 1996
4 * Copyright (c) Bernd Wuebben 1998
6 * Copyright (c) Torben Weis 1998
7 * KControl port & modifications
9 * Copyright (c) David Faure 1998
10 * End of the KControl port, added 'kfmclient configure' call.
12 * Copyright (c) Daniel Molkentin 2000
13 * Cleanup and modifications for KDE 2.1
20 #include <QtGui/QWidget>
21 #include <QtCore/QMap>
33 class KAppearanceOptions
: public KCModule
37 KAppearanceOptions(QWidget
*parent
, const QVariantList
&);
38 ~KAppearanceOptions();
42 virtual void defaults();
45 void slotFontSize( int );
46 void slotMinimumFontSize( int );
47 void slotStandardFont(const QFont
& n
);
48 void slotFixedFont(const QFont
& n
);
49 void slotSerifFont( const QFont
& n
);
50 void slotSansSerifFont( const QFont
& n
);
51 void slotCursiveFont( const QFont
& n
);
52 void slotFantasyFont( const QFont
& n
);
53 void slotEncoding( const QString
& n
);
54 void slotFontSizeAdjust( int value
);
62 QCheckBox
* m_pAutoLoadImagesCheckBox
;
63 QCheckBox
* m_pUnfinishedImageFrameCheckBox
;
64 QComboBox
* m_pAnimationsCombo
;
65 QComboBox
* m_pUnderlineCombo
;
66 QComboBox
* m_pSmoothScrollingCombo
;
70 KSharedConfig::Ptr m_pConfig
;
73 KIntNumInput
* m_minSize
;
74 KIntNumInput
* m_MedSize
;
75 KIntNumInput
* m_pageDPI
;
76 KFontComboBox
* m_pFonts
[6];
77 QComboBox
* m_pEncoding
;
78 QSpinBox
*m_pFontSizeAdjust
;
82 QStringList encodings
;
84 QStringList defaultFonts
;
88 #endif // APPEARANCE_H