#include <chessclockwindow.h>
Public Slots | |
void | startGame (TimeControl *timecontrol) |
void | pause () |
void | newGame () |
void | visitWeb () |
Visit ChessClock web page. | |
void | about () |
void | aboutQt () |
void | dontEatMemory (TurnInformation *turnInformation) |
Delete turn information to avoid memory leaks. | |
Public Member Functions | |
ChessClockWindow (QWidget *parent=0) | |
~ChessClockWindow () | |
Protected Member Functions | |
void | initTimeControls () |
bool | eventFilter (QObject *obj, QEvent *event) |
Pauses the game if the application main window is not active e.g. | |
Protected Attributes | |
ClocksWidget * | clocks_ |
StartWidget * | start_ |
QStackedWidget * | stack_ |
Definition at line 33 of file chessclockwindow.h.
ChessClockWindow::ChessClockWindow | ( | QWidget * | parent = 0 |
) |
Definition at line 46 of file chessclockwindow.cpp.
ChessClockWindow::~ChessClockWindow | ( | ) |
Definition at line 153 of file chessclockwindow.cpp.
void ChessClockWindow::about | ( | ) | [slot] |
Definition at line 111 of file chessclockwindow.cpp.
void ChessClockWindow::aboutQt | ( | ) | [slot] |
Definition at line 122 of file chessclockwindow.cpp.
void ChessClockWindow::dontEatMemory | ( | TurnInformation * | turnInformation | ) | [slot] |
Delete turn information to avoid memory leaks.
Definition at line 169 of file chessclockwindow.cpp.
bool ChessClockWindow::eventFilter | ( | QObject * | obj, | |
QEvent * | event | |||
) | [protected] |
Pauses the game if the application main window is not active e.g.
the app is minimized
Definition at line 158 of file chessclockwindow.cpp.
void ChessClockWindow::initTimeControls | ( | ) | [protected] |
Definition at line 129 of file chessclockwindow.cpp.
void ChessClockWindow::newGame | ( | ) | [slot] |
Definition at line 87 of file chessclockwindow.cpp.
void ChessClockWindow::pause | ( | ) | [slot] |
Definition at line 81 of file chessclockwindow.cpp.
void ChessClockWindow::startGame | ( | TimeControl * | timecontrol | ) | [slot] |
Definition at line 139 of file chessclockwindow.cpp.
void ChessClockWindow::visitWeb | ( | ) | [slot] |
Visit ChessClock web page.
Definition at line 104 of file chessclockwindow.cpp.
ClocksWidget* ChessClockWindow::clocks_ [protected] |
Definition at line 62 of file chessclockwindow.h.
QStackedWidget* ChessClockWindow::stack_ [protected] |
Definition at line 64 of file chessclockwindow.h.
StartWidget* ChessClockWindow::start_ [protected] |
Definition at line 63 of file chessclockwindow.h.