You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
93 lines
2.5 KiB
93 lines
2.5 KiB
15 years ago
|
/***************************************************************************
|
||
|
glowconfigdialog.h - description
|
||
|
-------------------
|
||
|
begin : Thu Sep 12 2001
|
||
|
copyright : (C) 2001 by Henning Burchardt
|
||
|
email : h_burchardt@gmx.net
|
||
|
***************************************************************************/
|
||
|
|
||
|
/***************************************************************************
|
||
|
* *
|
||
|
* This program is free software; you can redistribute it and/or modify *
|
||
|
* it under the terms of the GNU General Public License as published by *
|
||
|
* the Free Software Foundation; either version 2 of the License, or *
|
||
|
* (at your option) any later version. *
|
||
|
* *
|
||
|
***************************************************************************/
|
||
|
|
||
|
#ifndef GLOW_CONFIG_DIALOG_H
|
||
|
#define GLOW_CONFIG_DIALOG_H
|
||
|
|
||
15 years ago
|
#include <tqvaluevector.h>
|
||
|
#include <tqobject.h>
|
||
15 years ago
|
|
||
15 years ago
|
class TQListView;
|
||
|
class TQPushButton;
|
||
|
class TQSignalMapper;
|
||
|
class TQCheckBox;
|
||
|
class TQComboBox;
|
||
15 years ago
|
class KConfig;
|
||
|
class KColorButton;
|
||
|
|
||
14 years ago
|
class GlowConfigDialog : public TQObject
|
||
15 years ago
|
{
|
||
|
Q_OBJECT
|
||
14 years ago
|
TQ_OBJECT
|
||
15 years ago
|
|
||
|
public:
|
||
15 years ago
|
GlowConfigDialog( KConfig* conf, TQWidget* parent );
|
||
15 years ago
|
~GlowConfigDialog();
|
||
|
|
||
|
signals:
|
||
|
void changed();
|
||
|
|
||
|
public slots:
|
||
|
void load( KConfig* conf );
|
||
|
void save( KConfig* conf );
|
||
|
void defaults();
|
||
|
|
||
|
protected slots:
|
||
|
void slotTitleButtonClicked(int);
|
||
15 years ago
|
void slotColorButtonChanged(const TQColor&);
|
||
15 years ago
|
void slotTitlebarGradientTypeChanged(int);
|
||
|
void slotResizeHandleCheckBoxChanged();
|
||
|
void slotThemeListViewSelectionChanged ();
|
||
|
|
||
|
private slots:
|
||
|
void slotLoadThemeList ();
|
||
|
|
||
|
private:
|
||
|
enum ButtonType{stickyButton, helpButton, iconifyButton,
|
||
|
maximizeButton, closeButton };
|
||
|
|
||
|
KConfig *_glowConfig;
|
||
|
|
||
|
bool _showResizeHandle;
|
||
|
KPixmapEffect::GradientType _titlebarGradientType;
|
||
15 years ago
|
TQString _theme_name;
|
||
15 years ago
|
|
||
15 years ago
|
TQWidget *_main_group_box;
|
||
|
TQGroupBox *_button_glow_color_group_box;
|
||
|
TQGroupBox *_theme_group_box;
|
||
15 years ago
|
|
||
15 years ago
|
TQListView * _theme_list_view;
|
||
15 years ago
|
|
||
15 years ago
|
TQCheckBox *_showResizeHandleCheckBox;
|
||
|
TQComboBox *_titlebarGradientTypeComboBox;
|
||
15 years ago
|
|
||
15 years ago
|
TQPushButton *_stickyButton;
|
||
|
TQPushButton *_helpButton;
|
||
|
TQPushButton *_iconifyButton;
|
||
|
TQPushButton *_maximizeButton;
|
||
|
TQPushButton *_closeButton;
|
||
|
TQSignalMapper *_titleButtonMapper;
|
||
15 years ago
|
|
||
15 years ago
|
TQColor* _buttonConfigMap;
|
||
|
TQValueVector<TQPushButton*> _titleButtonList;
|
||
15 years ago
|
|
||
|
KColorButton *_colorButton;
|
||
|
};
|
||
|
|
||
|
#endif
|
||
|
|