bbb6d2d96a
Defaults are 70% translucency for window decorations and 80% for moving windows. - Set it's user-visible name to Translucency svn path=/trunk/KDE/kdebase/workspace/; revision=728122
41 lines
982 B
C++
41 lines
982 B
C++
/*****************************************************************
|
|
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_MAKETRANSPARENT_CONFIG_H
|
|
#define KWIN_MAKETRANSPARENT_CONFIG_H
|
|
|
|
#define KDE3_SUPPORT
|
|
#include <kcmodule.h>
|
|
#undef KDE3_SUPPORT
|
|
|
|
class QSpinBox;
|
|
|
|
namespace KWin
|
|
{
|
|
|
|
class MakeTransparentEffectConfig : public KCModule
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit MakeTransparentEffectConfig(QWidget* parent = 0, const QVariantList& args = QVariantList());
|
|
|
|
virtual void save();
|
|
virtual void load();
|
|
virtual void defaults();
|
|
|
|
private:
|
|
QSpinBox* mDecoration;
|
|
QSpinBox* mMoveResize;
|
|
QSpinBox* mDialogs;
|
|
};
|
|
|
|
} // namespace
|
|
|
|
#endif
|