hall.h
来自「用qt写的网络五子棋程序」· C头文件 代码 · 共 63 行
H
63 行
#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 <qlabel.h>#include <qfont.h>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
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?