2007-05-28 11:34:12 +00:00
|
|
|
/*****************************************************************
|
|
|
|
KWin - the KDE window manager
|
|
|
|
This file is part of the KDE project.
|
|
|
|
|
|
|
|
Copyright (C) 2007 Rivo Laks <rivolaks@hot.ee>
|
|
|
|
|
|
|
|
You can Freely distribute this program under the GNU General Public
|
|
|
|
License. See the file "COPYING" for the exact licensing terms.
|
|
|
|
******************************************************************/
|
|
|
|
|
|
|
|
#ifndef KWIN_SHADOW_CONFIG_H
|
|
|
|
#define KWIN_SHADOW_CONFIG_H
|
|
|
|
|
2007-08-27 20:48:55 +00:00
|
|
|
#define KDE3_SUPPORT
|
2007-05-28 11:34:12 +00:00
|
|
|
#include <kcmodule.h>
|
2007-08-27 20:48:55 +00:00
|
|
|
#undef KDE3_SUPPORT
|
2007-05-28 11:34:12 +00:00
|
|
|
|
|
|
|
class QSpinBox;
|
2007-09-28 12:43:51 +00:00
|
|
|
class QCheckBox;
|
2007-05-28 11:34:12 +00:00
|
|
|
|
|
|
|
namespace KWin
|
|
|
|
{
|
|
|
|
|
|
|
|
class ShadowEffectConfig : public KCModule
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
2007-09-20 17:48:27 +00:00
|
|
|
explicit ShadowEffectConfig(QWidget* parent = 0, const QVariantList& args = QVariantList());
|
2007-05-28 11:34:12 +00:00
|
|
|
~ShadowEffectConfig();
|
|
|
|
|
|
|
|
virtual void save();
|
|
|
|
virtual void load();
|
|
|
|
virtual void defaults();
|
|
|
|
|
|
|
|
private:
|
|
|
|
QSpinBox* mShadowXOffset;
|
|
|
|
QSpinBox* mShadowYOffset;
|
|
|
|
QSpinBox* mShadowOpacity;
|
2007-06-14 11:00:22 +00:00
|
|
|
QSpinBox* mShadowFuzzyness;
|
2007-09-28 12:24:11 +00:00
|
|
|
QSpinBox* mShadowSize;
|
2007-09-28 12:43:51 +00:00
|
|
|
QCheckBox* mIntensifyActiveShadow;
|
2007-05-28 11:34:12 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace
|
|
|
|
|
|
|
|
#endif
|