diff options
author | Mavridis Philippe <mavridisf@gmail.com> | 2021-03-30 13:58:33 +0300 |
---|---|---|
committer | Mavridis Philippe <mavridisf@gmail.com> | 2021-03-30 13:58:33 +0300 |
commit | 74b22318b8df6c1e9355b73a16bb755a5178b8d6 (patch) | |
tree | 538c9e62d606c6718fa64f8c8f2ad42e4aefc1ad /src/komposepreferences.h | |
download | kompose-74b22318b8df6c1e9355b73a16bb755a5178b8d6.tar.gz kompose-74b22318b8df6c1e9355b73a16bb755a5178b8d6.zip |
Initial commit (KDE3 version)
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
Diffstat (limited to 'src/komposepreferences.h')
-rw-r--r-- | src/komposepreferences.h | 109 |
1 files changed, 109 insertions, 0 deletions
diff --git a/src/komposepreferences.h b/src/komposepreferences.h new file mode 100644 index 0000000..f634bfc --- /dev/null +++ b/src/komposepreferences.h @@ -0,0 +1,109 @@ +// +// C++ Interface: komposepreferences +// +// Description: +// +// +// Author: Hans Oischinger <hans.oischinger@kde-mail.net>, (C) 2004 +// +// Copyright: See COPYING file that comes with this distribution +// +// +#ifndef KOMPOSEPREFERENCES_H +#define KOMPOSEPREFERENCES_H + +#include <kdialogbase.h> + +#include <klocale.h> + +class QCheckBox; +class QFrame; +class QSpinBox; +class KColorButton; +class QButtonGroup; +class QSlider; +class QPushButton; +class QFont; +class QRadioButton; + +/** +@author Hans Oischinger +*/ +class KomposePreferences : public KDialogBase +{ + Q_OBJECT +public: + KomposePreferences(); + + ~KomposePreferences(); + + +protected: + void fillPages(); + +protected slots: + void slotApply(); + void slotOk(); + void updateIconSliderDesc( int ); + void showDesktopTitleFontDialog(); + void showWindowTitleFontDialog(); + void setUseCompositeToggled( bool ); + +private: + bool m_hasXinerama; + QFrame *page1; + QFrame *page2; + + QButtonGroup *defaultViewBtnGroup; + QRadioButton *defaultViewWorld; + QRadioButton *defaultViewVirtualDesks; + QRadioButton *defaultViewCurrentDesk; + + QCheckBox *useComposite; + + QCheckBox *passiveScreenshots; + QCheckBox *dynamicVirtDeskLayout; + QCheckBox *cacheScaledPixmaps; + + QCheckBox *imageEffects; + + QSpinBox *screenshotGrabDelay; + + QCheckBox *showIcons; + QSlider *iconSize; + QLabel *iconSizeDescription; + + QCheckBox *showWindowTitles; + QPushButton *windowTitleFontBtn; + QFont *windowTitleFont; + + KColorButton *windowTitleFontColor; + QCheckBox *showWindowTitleShadow; + KColorButton *windowTitleFontShadowColor; + QLabel *windowTitleFontColorLabel; + + QPushButton *desktopTitleFontBtn; + QLabel *desktopTitleFontColorLabel; + QLabel *desktopTitleFontHighlightColorLabel; + KColorButton *desktopTitleFontColor; + KColorButton *desktopTitleFontHighlightColor; + QFont *desktopTitleFont; + + QCheckBox *m_topLeftCorner; + QCheckBox *m_bottomLeftCorner; + QCheckBox *m_topRightCorner; + QCheckBox *m_bottomRightCorner; + + QCheckBox *m_topEdge; + QCheckBox *m_bottomEdge; + QCheckBox *m_rightEdge; + QCheckBox *m_leftEdge; + QSpinBox *autoLockDelay; + + QCheckBox *showDesktopNum; + + QSpinBox *m_viewScreen; + QCheckBox *m_viewScreenAll; +}; + +#endif |