/***************************************************************************
 *   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 EVASEARCHUIBASE_H
#define EVASEARCHUIBASE_H

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

class QVBoxLayout;
class QHBoxLayout;
class QGridLayout;
class QSpacerItem;
class QLabel;
class QWidgetStack;
class QButtonGroup;
class QRadioButton;
class QLineEdit;
class QCheckBox;
class QTable;
class QPushButton;
class QGroupBox;
class QFrame;

class EvaSearchUIBase : public QWidget
{
	Q_OBJECT

public:
	EvaSearchUIBase( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
	~EvaSearchUIBase();
	
	QLabel* lblLogo;
	QWidgetStack* wsMain;
	QWidget* WStackPage;
	QButtonGroup* bgP0;
	QRadioButton* rbP0Online;
	QRadioButton* rbP0Customer;
	QRadioButton* rbP0Qun;
	QLabel* lblP0Tip;
	QLabel* lblP0OnlineNumbers;
	QLabel* lblOnlineNum;
	
	QWidget* WStackPage_2;
	QLabel* lblP1Tip;
	QLabel* lblP1QQ;
	QLineEdit* leP1QQ;
	QLabel* lblP1Nick;
	QLineEdit* leP1Nick;
	QLabel* lblP1Email;
	QLineEdit* leP1Email;
	QCheckBox* cbP1Match;
	
	QWidget* WStackPage_3;
	QTable* tblP2Users;
	QPushButton* pbP2Prev;
	QPushButton* pbP2Next;
	QPushButton* pbP2Details;
	QPushButton* pbP2All;
	QLabel* lblP2Tip;
	
	QWidget* WStackPage_4;
	QGroupBox* gbP3Tip;
	QLabel* lblP3Tip;
	QLabel* lblP3NickTip;
	QWidgetStack* wsP3Add;
	
	QWidget* WStackPage_5;
	QGroupBox* gbP3P0Verify;
	QLabel* lblP3P0Tip;
	QLineEdit* leP3P0Msg;
	QPushButton* pbP3P0Send;
	
	QWidget* WStackPage_6;
	QGroupBox* gbP3P1Tip;
	QLabel* lblP3P1Tip;
	QFrame* line1;
	
	QWidget* WStackPage_Qun;
	QLabel* lblQunTip;
	QFrame* line2;
	QLabel* lblQunNumber;
	QLineEdit* leQunExtID; 
	
	QPushButton* pbPrev;
	QPushButton* pbNext;
	QPushButton* pbCancel;

protected:
	QGridLayout* EvaSearchUIBaseLayout;
	QVBoxLayout* layout24;
	QHBoxLayout* layout21;
	QGridLayout* WStackPageLayout;
	QGridLayout* bgP0Layout;
	QVBoxLayout* layout18;
	QHBoxLayout* layout19;
	QSpacerItem* spacer7;
	QGridLayout* WStackPageLayout_2;
	QVBoxLayout* layout4;
	QSpacerItem* spacer2;
	QHBoxLayout* layout3;
	QVBoxLayout* layout1;
	QVBoxLayout* layout2;
	QSpacerItem* spacer1;
	QGridLayout* WStackPageLayout_3;
	QVBoxLayout* layout7;
	QHBoxLayout* layout6;
	QSpacerItem* spacer3;
	QHBoxLayout* layout5;
	QSpacerItem* spacer4;
	QGridLayout* WStackPageLayout_4;
	QGridLayout* gbP3TipLayout;
	QVBoxLayout* layout13;
	QHBoxLayout* layout12;
	QSpacerItem* spacer5;
	QSpacerItem* spacer6;
	QGridLayout* WStackPageLayout_5;
	QGridLayout* gbP3P0VerifyLayout;
	QVBoxLayout* layout17;
	QHBoxLayout* layout16;
	QGridLayout* WStackPageLayout_6;
	QGridLayout* gbP3P1TipLayout;
	QGridLayout* WStackPage_QunLayout;
	QVBoxLayout* layout19_2;
	QSpacerItem* spacer9;
	QHBoxLayout* layout18_2;
	QSpacerItem* spacer10;
	QHBoxLayout* layout22;
	QSpacerItem* spacer8;

protected slots:
	virtual void languageChange();

};

#endif 
