2001-06-04 11:49:35 +00:00
|
|
|
/*
|
|
|
|
* $Id$
|
|
|
|
*
|
|
|
|
* This file contains the IceWM configuration widget
|
|
|
|
*
|
|
|
|
* Copyright (c) 2001
|
|
|
|
* Karol Szwed <gallium@kde.org>
|
|
|
|
* http://gallium.n3.net/
|
|
|
|
*/
|
2001-04-16 14:55:07 +00:00
|
|
|
|
|
|
|
#ifndef __KDEGALLIUM_ICEWMCONFIG_H
|
|
|
|
#define __KDEGALLIUM_ICEWMCONFIG_H
|
|
|
|
|
|
|
|
#include <qwidget.h>
|
|
|
|
#include <qcheckbox.h>
|
|
|
|
#include <qgroupbox.h>
|
|
|
|
#include <qlistbox.h>
|
|
|
|
#include <qlabel.h>
|
|
|
|
#include <kurllabel.h>
|
|
|
|
#include <kconfig.h>
|
|
|
|
|
|
|
|
class IceWMConfig: public QObject
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
IceWMConfig( KConfig* conf, QWidget* parent );
|
|
|
|
~IceWMConfig();
|
|
|
|
|
|
|
|
// These public signals/slots work similar to KCM modules
|
|
|
|
signals:
|
|
|
|
void changed();
|
|
|
|
|
|
|
|
public slots:
|
|
|
|
void load( KConfig* conf );
|
|
|
|
void save( KConfig* conf );
|
|
|
|
void defaults();
|
|
|
|
|
|
|
|
protected slots:
|
|
|
|
void slotSelectionChanged(); // Internal use
|
|
|
|
void callURL( const QString& s );
|
|
|
|
|
|
|
|
private:
|
|
|
|
void findIceWMThemes();
|
|
|
|
|
2001-06-04 11:49:35 +00:00
|
|
|
KConfig* icewmConfig;
|
2001-04-16 14:55:07 +00:00
|
|
|
QCheckBox* cbThemeButtonPositions;
|
|
|
|
QCheckBox* cbThemeTitleTextColors;
|
|
|
|
QCheckBox* cbTitleBarOnTop;
|
|
|
|
QCheckBox* cbShowMenuButtonIcon;
|
|
|
|
QGroupBox* gb1;
|
|
|
|
QGroupBox* gb2;
|
|
|
|
QListBox* themeListBox;
|
|
|
|
QLabel* themeLabel;
|
|
|
|
KURLLabel* urlLabel;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|
2001-06-04 11:49:35 +00:00
|
|
|
// vim: ts=4
|