www.pudn.com > Five_QT_by_CT.rar > hall.h


#ifndef HALL_HEADER
#define HALL_HEADER


#include "pub.h"
#include "Main.h"
#include "HallMaster.h"
#include "qlistbox.h"
#include "qlistview.h"
#include "qpushbutton.h"
#include 
#include 

class Hall : public QWidget
{
 Q_OBJECT

	
	
	QListView *mPlayerListView;
	QListView *mDeskListView;
	QPushButton *mLoginButton;
	QPushButton *mQuitButton;
	QPushButton *mWhiteButton;
	QPushButton *mBlackButton;
	
	QLabel *mPlayerInfoLabel;
	QLabel *mDeskInfoLabel;
	QLabel *mMyIDLabel;
	QLabel *mMyDeskLabel;

	QLineEdit *mAddrLineEdit;
	QLabel *mAddrLabel;
	QLabel *mAddrInfoLabel;


	HallMaster *mHallMaster;
	Main *mMain;

	void AddPlayerListItem(int i);
	void AddDeskTableItem(int i);
	
public:
	Hall(QWidget *,char *);
	
signals:
	void sendmsgtohallmstr(Message);
	
public slots:
	void sLogin();
	void sUpDateHall();
	void sSitdownWhite();
	void sSitdownBlack();
	void sShowMain();
	void sSetServeraddr( );
	


};


#endif