mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-14 19:18:55 -07:00
some gui code
This commit is contained in:
parent
cb9a2bf23a
commit
77f5ec29eb
37 changed files with 260 additions and 282 deletions
|
|
@ -1 +1,42 @@
|
|||
|
||||
#ifndef TAB_GAME_H
|
||||
#define TAB_GAME_H
|
||||
|
||||
#include <QWidget>
|
||||
|
||||
class Client;
|
||||
class CardDatabase;
|
||||
class GameEvent;
|
||||
class GameView;
|
||||
class GameScene;
|
||||
class Game;
|
||||
class CardInfoWidget;
|
||||
class MessageLogWidget;
|
||||
class QLabel;
|
||||
class QLineEdit;
|
||||
class QPushButton;
|
||||
class ZoneViewLayout;
|
||||
class ZoneViewWidget;
|
||||
class PhasesToolbar;
|
||||
|
||||
class TabGame : public QWidget {
|
||||
Q_OBJECT
|
||||
private:
|
||||
Client *client;
|
||||
int gameId;
|
||||
|
||||
CardInfoWidget *cardInfo;
|
||||
MessageLogWidget *messageLog;
|
||||
QLabel *sayLabel;
|
||||
QLineEdit *sayEdit;
|
||||
PhasesToolbar *phasesToolbar;
|
||||
GameScene *scene;
|
||||
GameView *view;
|
||||
Game *game;
|
||||
ZoneViewLayout *zoneLayout;
|
||||
private slots:
|
||||
public:
|
||||
TabGame(Client *_client, int _gameId);
|
||||
void processGameEvent(GameEvent *event);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue