APVQuiz  1
A multiplayer multithreaded quizzing application
Signals | Public Member Functions | Protected Member Functions | List of all members
GameWindow Class Reference

Gamewindow class. More...

#include <gamewindow.h>

Inheritance diagram for GameWindow:
Inheritance graph
[legend]
Collaboration diagram for GameWindow:
Collaboration graph
[legend]

Signals

void window_loaded ()
 
void changeQuestionTextEdit (const QString &s)
 

Public Member Functions

 GameWindow (Player usr, QString sub, QString ip, QWidget *parent=0)
 Constructor for gamewindow. More...
 
 ~GameWindow ()
 Destructor for game window. More...
 

Protected Member Functions

void showEvent (QShowEvent *ev)
 Overridden showEvent function. More...
 

Detailed Description

Gamewindow class.

Manages all activities of game window. Is live whenever game window is open.

Constructor & Destructor Documentation

GameWindow::GameWindow ( Player  usr,
QString  sub,
QString  ip,
QWidget *  parent = 0 
)
explicit

Constructor for gamewindow.

Sets up the UI, initializes member varibles formm the passed arguments and connects signals to slots

GameWindow::~GameWindow ( )

Destructor for game window.

Distructor for gamewindow.

Ends the window (Destroys the UI)

ends UI

Member Function Documentation

void GameWindow::showEvent ( QShowEvent *  ev)
protected

Overridden showEvent function.

Overridden showEvent function first calls its parent's showEvent function and then emitss SIGNAL window_loaded()


The documentation for this class was generated from the following files: