/***************************************************************************
 *   Copyright (C) 2005 by yunfan                                          *
 *   yunfan_zg@163.com                                                     *
 *                                                                         *
 *   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.                                   *
 *                                                                         *
 *   This program is distributed in the hope that it will be useful,       *
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
 *   GNU General Public License for more details.                          *
 *                                                                         *
 *   You should have received a copy of the GNU General Public License     *
 *   along with this program; if not, write to the                         *
 *   Free Software Foundation, Inc.,                                       *
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
 ***************************************************************************/

#ifndef EVASYSSETTINGUIBASE_H
#define EVASYSSETTINGUIBASE_H

#include <qvariant.h>
#include <qwidget.h>

class QVBoxLayout;
class QHBoxLayout;
class QGridLayout;
class QSpacerItem;
class QLabel;
class QTabWidget;
class QCheckBox;
class QFrame;
class QSpinBox;
class QSlider;
class QLineEdit;
class QPushButton;
class QGroupBox;
class QComboBox;
class QTextEdit;
class KKeyButton;

class EvaSysSettingUIBase : public QWidget
{
	Q_OBJECT
public:
	EvaSysSettingUIBase( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
	~EvaSysSettingUIBase();
	
	QLabel* lblLogo;
	QTabWidget* tw;
	QWidget* tab;
	QCheckBox* chbOnline;
	QCheckBox* chbMessage;
	QCheckBox* chbShowOnlineUsers;
	QCheckBox* chbSystemBroadcast;
	QCheckBox* chbSound;
	QCheckBox* chbSendKey;
	QFrame* line1;
	QLabel* lblPageSize;
	QSpinBox* sbPageSize;
	QLabel* lblPageSizeEnd;
	QLabel* lblFaceSize;
	QLabel* lblFaceSmall;
	QSlider* sliderFaceSize;
	QLabel* lblFaceBig;
	QLabel* lblShortKey;
	KKeyButton *kkbtnShortKey;
	QWidget* tab_2;
	QLabel* lblThemePath;
	QLineEdit* leThemePath;
	QPushButton* pbTheme;
	QLabel* lblSoundPath;
	QLineEdit* leSoundPath;
	QPushButton* pbSound;
	QWidget* TabPage;
	QGroupBox* gbAutoReply;
	QComboBox* cbbAutoNo;
	QCheckBox* chbAutoReply;
	QTextEdit* teAutoMessage;
	QPushButton* pbAutoNew;
	QPushButton* pbAutoDelete;
	QGroupBox* gbQuickReply;
	QComboBox* cbbQuickNo;
	QTextEdit* teQuickMessage;
	QPushButton* pbQuickNew;
	QPushButton* pbQuickDelete;
	QPushButton* pbFaceDefault;
	QPushButton* pbSave;
	QPushButton* pbClose;

protected:
	QVBoxLayout* EvaSysSettingUIBaseLayout;
	QHBoxLayout* layout25;
	QGridLayout* tabLayout;
	QSpacerItem* spacer1;
	QVBoxLayout* layout6;
	QHBoxLayout* layout3;
	QVBoxLayout* layout1;
	QVBoxLayout* layout2;
	QHBoxLayout* layout4;
	QHBoxLayout* layout5;
	QVBoxLayout* tabLayout_2;
	QSpacerItem* spacer2;
	QVBoxLayout* layout10;
	QHBoxLayout* layout7;
	QVBoxLayout* layout11;
	QHBoxLayout* layout8;
	QVBoxLayout* TabPageLayout;
	QVBoxLayout* gbAutoReplyLayout;
	QHBoxLayout* layout13;
	QHBoxLayout* layout23;
	QVBoxLayout* layout22;
	QVBoxLayout* gbQuickReplyLayout;
	QHBoxLayout* layout18;
	QSpacerItem* spacer3;
	QHBoxLayout* layout21;
	QVBoxLayout* layout20;
	QHBoxLayout* layout26;
	QSpacerItem* spacer7;
	QSpacerItem* spacer6;
	QSpacerItem* spacer8;
	QHBoxLayout* layout27;
	QSpacerItem* spacer9;

protected slots:
	virtual void languageChange();

};

#endif // EVASYSSETTINGUIBASE_H
