From ebe5873e30a11983068a087332c5046720637fd1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Arto=20Hyv=C3=A4ttinen?= Date: Sat, 14 Aug 2010 01:48:56 +0300 Subject: [PATCH] Added ChessClockWizard class Added simple web page --- chessclock.pro | 9 +- chessclock.qrc | 9 + chessclockwindow.cpp | 6 + classes/chessclock.cpp | 40 +- classes/chessclock.h | 20 +- classes/chessclockwidget.cpp | 158 ++++++++ classes/chessclockwidget.h | 82 ++++ main.cpp | 27 ++ www/html/annotated.html | 7 +- www/html/chessclock_8cpp.html | 73 ++++ www/html/chessclock_8cpp_source.html | 198 ++++++++++ www/html/chessclock_8h.html | 75 ++++ www/html/chessclock_8h_source.html | 154 ++++++++ www/html/chessclockwidget_8cpp.html | 74 ++++ www/html/chessclockwidget_8cpp_source.html | 221 +++++++++++ www/html/chessclockwidget_8h.html | 75 ++++ www/html/chessclockwidget_8h_source.html | 132 +++++++ www/html/chessclockwindow_8cpp.html | 7 +- www/html/chessclockwindow_8cpp_source.html | 28 +- www/html/chessclockwindow_8h.html | 4 +- www/html/chessclockwindow_8h_source.html | 4 +- www/html/class_chess_clock-members.html | 86 +++++ www/html/class_chess_clock.html | 483 ++++++++++++++++++++++++ www/html/class_chess_clock.png | Bin 0 -> 452 bytes www/html/class_chess_clock_widget-members.html | 102 +++++ www/html/class_chess_clock_widget.html | 434 +++++++++++++++++++++ www/html/class_chess_clock_widget.png | Bin 0 -> 451 bytes www/html/class_chess_clock_window-members.html | 5 +- www/html/class_chess_clock_window.html | 9 +- www/html/class_turn_information-members.html | 15 +- www/html/class_turn_information.html | 45 +-- www/html/classes.html | 9 +- www/html/files.html | 8 +- www/html/functions.html | 207 +++++++++- www/html/functions_enum.html | 80 ++++ www/html/functions_eval.html | 86 +++++ www/html/functions_func.html | 140 ++++++- www/html/functions_vars.html | 37 +- www/html/globals.html | 4 +- www/html/globals_func.html | 4 +- www/html/hierarchy.html | 74 ++++ www/html/index.html | 15 +- www/html/main_8cpp.html | 6 +- www/html/main_8cpp_source.html | 34 +- www/html/search/all_63.html | 54 ++- www/html/search/all_65.html | 26 ++ www/html/search/all_67.html | 32 +- www/html/search/all_69.html | 38 +- www/html/search/all_6c.html | 32 ++ www/html/search/all_6d.html | 6 + www/html/search/all_6e.html | 26 ++ www/html/search/all_70.html | 38 +- www/html/search/all_72.html | 41 ++ www/html/search/all_73.html | 32 ++ www/html/search/all_74.html | 46 ++- www/html/search/all_75.html | 26 ++ www/html/search/classes_63.html | 12 +- www/html/search/enums_72.html | 26 ++ www/html/search/enumvalues_6e.html | 26 ++ www/html/search/enumvalues_70.html | 26 ++ www/html/search/enumvalues_72.html | 26 ++ www/html/search/files_63.html | 24 +- www/html/search/functions_63.html | 20 +- www/html/search/functions_65.html | 26 ++ www/html/search/functions_67.html | 32 +- www/html/search/functions_69.html | 38 +- www/html/search/functions_70.html | 26 ++ www/html/search/functions_72.html | 29 ++ www/html/search/functions_73.html | 32 ++ www/html/search/functions_74.html | 16 +- www/html/search/functions_75.html | 26 ++ www/html/search/search.js | 12 +- www/html/search/variables_6c.html | 32 ++ www/html/search/variables_6d.html | 26 ++ www/html/search/variables_70.html | 24 ++ www/html/search/variables_74.html | 22 +- www/html/turninformation_8cpp.html | 6 +- www/html/turninformation_8cpp_source.html | 37 +- www/html/turninformation_8h.html | 4 +- www/html/turninformation_8h_source.html | 14 +- www/index.html | 49 +++ www/logo.png | Bin 0 -> 62826 bytes 82 files changed, 4111 insertions(+), 183 deletions(-) create mode 100644 chessclock.qrc create mode 100644 classes/chessclockwidget.cpp create mode 100644 classes/chessclockwidget.h create mode 100644 www/html/chessclock_8cpp.html create mode 100644 www/html/chessclock_8cpp_source.html create mode 100644 www/html/chessclock_8h.html create mode 100644 www/html/chessclock_8h_source.html create mode 100644 www/html/chessclockwidget_8cpp.html create mode 100644 www/html/chessclockwidget_8cpp_source.html create mode 100644 www/html/chessclockwidget_8h.html create mode 100644 www/html/chessclockwidget_8h_source.html create mode 100644 www/html/class_chess_clock-members.html create mode 100644 www/html/class_chess_clock.html create mode 100644 www/html/class_chess_clock.png create mode 100644 www/html/class_chess_clock_widget-members.html create mode 100644 www/html/class_chess_clock_widget.html create mode 100644 www/html/class_chess_clock_widget.png create mode 100644 www/html/functions_enum.html create mode 100644 www/html/functions_eval.html create mode 100644 www/html/hierarchy.html create mode 100644 www/html/search/all_65.html create mode 100644 www/html/search/all_6c.html create mode 100644 www/html/search/all_6e.html create mode 100644 www/html/search/all_72.html create mode 100644 www/html/search/all_73.html create mode 100644 www/html/search/all_75.html create mode 100644 www/html/search/enums_72.html create mode 100644 www/html/search/enumvalues_6e.html create mode 100644 www/html/search/enumvalues_70.html create mode 100644 www/html/search/enumvalues_72.html create mode 100644 www/html/search/functions_65.html create mode 100644 www/html/search/functions_70.html create mode 100644 www/html/search/functions_72.html create mode 100644 www/html/search/functions_73.html create mode 100644 www/html/search/functions_75.html create mode 100644 www/html/search/variables_6c.html create mode 100644 www/html/search/variables_6d.html create mode 100644 www/index.html create mode 100644 www/logo.png diff --git a/chessclock.pro b/chessclock.pro index 4248040..c173879 100644 --- a/chessclock.pro +++ b/chessclock.pro @@ -13,11 +13,13 @@ TEMPLATE = app SOURCES += main.cpp\ chessclockwindow.cpp \ classes/turninformation.cpp \ - classes/chessclock.cpp + classes/chessclock.cpp \ + classes/chessclockwidget.cpp HEADERS += chessclockwindow.h \ classes/turninformation.h \ - classes/chessclock.h + classes/chessclock.h \ + classes/chessclockwidget.h CONFIG += mobility MOBILITY = @@ -28,3 +30,6 @@ symbian { TARGET.EPOCSTACKSIZE = 0x14000 TARGET.EPOCHEAPSIZE = 0x020000 0x800000 } + +RESOURCES += \ + chessclock.qrc diff --git a/chessclock.qrc b/chessclock.qrc new file mode 100644 index 0000000..aefab1b --- /dev/null +++ b/chessclock.qrc @@ -0,0 +1,9 @@ + + + pic/black_blue.png + pic/black_gray.png + pic/loser.png + pic/white_blue.png + pic/white_gray.png + + diff --git a/chessclockwindow.cpp b/chessclockwindow.cpp index b41a893..a75cccf 100644 --- a/chessclockwindow.cpp +++ b/chessclockwindow.cpp @@ -21,9 +21,15 @@ #include "chessclockwindow.h" +#include "classes/chessclockwidget.h" + ChessClockWindow::ChessClockWindow(QWidget *parent) : QMainWindow(parent) { + + ChessClockWidget* widget = new ChessClockWidget(true, this); + setCentralWidget(widget); + } ChessClockWindow::~ChessClockWindow() diff --git a/classes/chessclock.cpp b/classes/chessclock.cpp index d7df9d3..896f654 100644 --- a/classes/chessclock.cpp +++ b/classes/chessclock.cpp @@ -31,8 +31,9 @@ ChessClock::ChessClock(bool white, QWidget *parent) : isWhite_ = white; loser_ = false; turn_ = 0; - timePlayed_ = 0; + timePlayedBeforeTurn_ = 0; status_ = NotRunning; + another_ = 0; // Set clock timer calculating played time clockTime_.start(); @@ -52,7 +53,7 @@ void ChessClock::startTurn() status_=Running; // Repaint clock - repaintClock(); + updateClock(); } void ChessClock::pauseTurn() @@ -60,7 +61,7 @@ void ChessClock::pauseTurn() // Update turn time currentTurn_->addTime( clockTime_.restart() ); status_ = Paused; - repaintClock(); + updateClock(); } void ChessClock::continueTurn() @@ -69,7 +70,7 @@ void ChessClock::continueTurn() // Add pause duration to information object currentTurn_->addPause( clockTime_.restart() ); status_ = Running; - repaintClock(); + updateClock(); } @@ -78,9 +79,11 @@ TurnInformation* ChessClock::endTurn() status_ = NotRunning; // Update turn time currentTurn_->addTime( clockTime_.restart()); + // Count time played + timePlayedBeforeTurn_ = getTimePlayed(); // Count time available timeAvailableBeforeTurn_ = getTimeAvailable(); - repaintClock(); + updateClock(); // Close and return turn information currentTurn_->turnReady(timeAvailableBeforeTurn_ ); @@ -103,3 +106,30 @@ int ChessClock::getTimeAvailable() else return timeAvailableBeforeTurn_; } + + +int ChessClock::getTimePlayed() const +{ + // Count time played time + if( currentTurn_ ) + return timePlayedBeforeTurn_ + currentTurn_->getDuration(); + else + return timePlayedBeforeTurn_; +} + +void ChessClock::updateClock() +{ + // Check loser + if( another_ && !another_->isLoser()) + { + if( getTimeAvailable() < 0 && !loser_) + { + loser_ = true; + emit timeOutLoser(); + } + + } + repaintClock(); + +} + diff --git a/classes/chessclock.h b/classes/chessclock.h index 528b58b..4504061 100644 --- a/classes/chessclock.h +++ b/classes/chessclock.h @@ -36,6 +36,9 @@ class TurnInformation; Base class of chess clock. + ChessClock has not GUI itself, but it is subclass of QWidget + avoiding polymorphism. + */ class ChessClock : public QWidget { @@ -52,6 +55,8 @@ public: bool isLoser() const { return loser_; } int getTurn() const { return turn_; } + bool isWhite() const { return isWhite_; } + RunningStatus getStatus() const { return status_ ; } /*! Start new turn */ @@ -80,16 +85,23 @@ public: @return Time available in msecs */ virtual int getTimeAvailable(); + /*! Get total time played + @return Time played in msecs */ + virtual int getTimePlayed() const; + + signals: - void timeOut(); + void timeOutLoser(); public slots: /*! Refresh clock information */ virtual void repaintClock() = 0; + /*! Update clock information, check looser state and refresh */ + virtual void updateClock(); -protected: +private: ChessClock* another_; /*! Another player's clock */ bool loser_; /*! Is player losed because of timeout */ @@ -97,8 +109,8 @@ protected: RunningStatus status_; TurnInformation* currentTurn_; - int timePlayed_; /*! Time played in this game */ - int timeAvailableBeforeTurn_; /*! Time available for play BEFORE this turn!*/ + int timePlayedBeforeTurn_; /*! Time played in this game BEFORE this turn msecs */ + int timeAvailableBeforeTurn_; /*! Time available for play BEFORE this turn msecs !*/ bool isWhite_; /*! True if white player */ diff --git a/classes/chessclockwidget.cpp b/classes/chessclockwidget.cpp new file mode 100644 index 0000000..6dbcc8a --- /dev/null +++ b/classes/chessclockwidget.cpp @@ -0,0 +1,158 @@ + /************************************************************************** + + Chess Clock + + Copyright (c) Arto Hyvättinen 2010 + + This file is part of Chess Clock software. + + Chess Clock is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + Chess Clock is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + +**************************************************************************/ + +#include "chessclockwidget.h" + +#include +#include +#include +#include + +ChessClockWidget::ChessClockWidget(bool white, QWidget *parent) : + ChessClock(white, parent) +{ + mainLayout = new QVBoxLayout; + + initPictures(); + initLabels(); + initTop(); + initBottom(); + + setLayout( mainLayout ); +} + + +void ChessClockWidget::initPictures() +{ + // Load pictures from resources. + if( isWhite() ) + { + picActive_.load(":/rc/pic/white_blue.png"); + picPassive_.load(":/rc/pic/white_gray.png"); + } + else + { + picActive_.load(":/rc/pic/black_blue.png"); + picPassive_.load(":/rc/pic/black_gray.png"); + } + picLoser_.load(":/rc/pic/loser.png"); +} + +void ChessClockWidget::initLabels() +{ + QFont normalFont("Helvetica",24); + + pictureLabel_ = new QLabel; + pictureLabel_->setPixmap( picPassive_ ); + + timeUsedLabel_ = new QLabel; + timeAverageLabel_ = new QLabel; + turnLabel_=new QLabel; + + timeUsedLabel_->setFont(normalFont); + timeAverageLabel_->setFont(normalFont); + turnLabel_->setFont(normalFont); + + loserLabel_ = new QLabel; + loserLabel_->setPixmap(picLoser_); + loserLabel_->setVisible(false); + +} + +void ChessClockWidget::initTop() +{ + QVBoxLayout* details = new QVBoxLayout(); + details->addWidget(timeUsedLabel_); + details->addWidget(timeAverageLabel_); + details->addWidget(turnLabel_); + + QHBoxLayout* topLayout = new QHBoxLayout(); + if( isWhite() ) + { + // White player + // Picture | Details | .. | LOSER + topLayout->addWidget( pictureLabel_ ); + topLayout->addLayout( details ); + topLayout->addStretch(); + topLayout->addWidget(loserLabel_); + } + else + { + // Black player + // LOSER | ... | Details | Picture + topLayout->addWidget(loserLabel_); + topLayout->addStretch(); + topLayout->addLayout( details ); + topLayout->addWidget( pictureLabel_ ); + } + mainLayout->addLayout(topLayout); +} + +void ChessClockWidget::initBottom() +{ + // At bottom, time left in BIG font! + QFont bigfont("Helvetica",65,QFont::Bold); + leftLabel_ = new QLabel("0.00.00"); + leftLabel_->setFont(bigfont); + // Black player: right alignment + if( isWhite() ) + leftLabel_->setAlignment(Qt::AlignRight | Qt::AlignVCenter); + mainLayout->addWidget(leftLabel_); +} + +void ChessClockWidget::repaintClock() +{ + // Set picture + if( getStatus() == Running ) + pictureLabel_->setPixmap( picActive_); + else + pictureLabel_->setPixmap(picPassive_); + + timeUsedLabel_->setText( timeString( getTimePlayed() )); + + // Time average per turn + int timeAverage; + if( getTurn() == 0) + timeAverage = 0; + else + timeAverage = getTimePlayed() / getTurn(); + timeAverageLabel_->setText( tr("Average %1 per turn").arg( timeString( timeAverage ) ) ); + + turnLabel_->setText( tr("Turn %1").arg(getTurn())); + + // Loser flag + loserLabel_->setVisible( isLoser()); + + leftLabel_->setText( timeString(getTimeAvailable())); + +} + +QString ChessClockWidget::timeString(int msecs) +{ + int secs = msecs / 1000 % 60; + int mins = msecs / ( 60 * 1000) % 60; + int hours = msecs / ( 60 * 60 * 1000 ); + if( msecs < 0) + return QString(tr(" %1:%2:%3 ").arg(0-hours).arg(0-mins,2,10,QChar('0')).arg(0-secs,2,10,QChar('0'))); + else + return QString(tr("%1:%2:%3").arg(hours).arg(mins,2,10,QChar('0')).arg(secs,2,10,QChar('0'))); + +} diff --git a/classes/chessclockwidget.h b/classes/chessclockwidget.h new file mode 100644 index 0000000..8de2136 --- /dev/null +++ b/classes/chessclockwidget.h @@ -0,0 +1,82 @@ + /************************************************************************** + + Chess Clock + + Copyright (c) Arto Hyvättinen 2010 + + This file is part of Chess Clock software. + + Chess Clock is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + Chess Clock is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + +**************************************************************************/ + +#ifndef CHESSCLOCKWIDGET_H +#define CHESSCLOCKWIDGET_H + +#include "chessclock.h" +#include +#include + +class QVBoxLayout; +class QLabel; + +/*! Simple chess clock widget + + @author Arto Hyvättinen + @date 2010-08-14 + + + */ +class ChessClockWidget : public ChessClock +{ + Q_OBJECT +public: + ChessClockWidget(bool white, QWidget *parent = 0); + +signals: + +public slots: + virtual void repaintClock(); + +protected: + /*! Init pictures from resources */ + virtual void initPictures(); + /*! Init QLabels */ + virtual void initLabels(); + /*! Init top: picture, details, loser mark */ + virtual void initTop(); + /*! Init time left in bottom. + Override to make different bottom area */ + virtual void initBottom(); + + /*! Convert msecs to h:mm:ss QString */ + QString timeString(int msecs); + +protected: + + QPixmap picActive_; + QPixmap picPassive_; + QPixmap picLoser_; + + QLabel* pictureLabel_; + QLabel* timeUsedLabel_; + QLabel* timeAverageLabel_; + QLabel* turnLabel_; + QLabel* loserLabel_; + QLabel* leftLabel_; + + QVBoxLayout* mainLayout; + + +}; + +#endif // CHESSCLOCKWIDGET_H diff --git a/main.cpp b/main.cpp index 213ff2b..e369fe1 100644 --- a/main.cpp +++ b/main.cpp @@ -20,6 +20,33 @@ **************************************************************************/ +/*! @mainpage Chess Clock + + @author Arto Hyvättinen + @version 0.1.0 + + + Chess Clock + + Game clock for chess players with N900. Support many game controls. + + Copyright © Arto Hyvättinen 2010 + + Chess Clock is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + Chess Clock is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + + + */ + + #include #include "chessclockwindow.h" diff --git a/www/html/annotated.html b/www/html/annotated.html index 5817ec8..a9a8e61 100644 --- a/www/html/annotated.html +++ b/www/html/annotated.html @@ -38,12 +38,15 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');

Class List

Here are the classes, structs, unions and interfaces with brief descriptions: + +
ChessClockClock of a individual player
ChessClockWidgetSimple chess clock widget
ChessClockWindow
TurnInformationTurn information class
@@ -53,7 +56,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" onkeydown="return searchBox.OnSearchSelectKey(event)"> - All Classes Files Functions Variables
+ All Classes Files Functions Variables Enumerations Enumerator
@@ -62,7 +65,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-
Generated on Fri Aug 13 22:27:27 2010 for Chess Clock by  +
Generated on Sat Aug 14 01:28:48 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/chessclock_8cpp.html b/www/html/chessclock_8cpp.html new file mode 100644 index 0000000..e0802cd --- /dev/null +++ b/www/html/chessclock_8cpp.html @@ -0,0 +1,73 @@ + + + + + +Chess Clock: /holvi/arto/ohjelmointi/ChessClock/chessclock/classes/chessclock.cpp File Reference + + + + + + + + + +
+

/holvi/arto/ohjelmointi/ChessClock/chessclock/classes/chessclock.cpp File Reference

#include "chessclock.h"
+#include <QWidget>
+#include <QTime>
+#include <QTimer>
+ +

Go to the source code of this file.

+ +
+
+ + + + +
+ +
+ +
Generated on Sat Aug 14 01:28:48 2010 for Chess Clock by  + +doxygen 1.6.3
+ + diff --git a/www/html/chessclock_8cpp_source.html b/www/html/chessclock_8cpp_source.html new file mode 100644 index 0000000..56daff2 --- /dev/null +++ b/www/html/chessclock_8cpp_source.html @@ -0,0 +1,198 @@ + + + + + +Chess Clock: /holvi/arto/ohjelmointi/ChessClock/chessclock/classes/chessclock.cpp Source File + + + + + + + + + + + + + +
+ +
+ +
Generated on Sat Aug 14 01:28:48 2010 for Chess Clock by  + +doxygen 1.6.3
+ + diff --git a/www/html/chessclock_8h.html b/www/html/chessclock_8h.html new file mode 100644 index 0000000..02fe4f6 --- /dev/null +++ b/www/html/chessclock_8h.html @@ -0,0 +1,75 @@ + + + + + +Chess Clock: /holvi/arto/ohjelmointi/ChessClock/chessclock/classes/chessclock.h File Reference + + + + + + + + + +
+

/holvi/arto/ohjelmointi/ChessClock/chessclock/classes/chessclock.h File Reference

#include <QWidget>
+#include <QTime>
+#include <QTimer>
+ +

Go to the source code of this file.

+ + + + +

Classes

class  ChessClock
 Clock of a individual player. More...
+
+ + + + +
+ +
+ +
Generated on Sat Aug 14 01:28:48 2010 for Chess Clock by  + +doxygen 1.6.3
+ + diff --git a/www/html/chessclock_8h_source.html b/www/html/chessclock_8h_source.html new file mode 100644 index 0000000..da700e3 --- /dev/null +++ b/www/html/chessclock_8h_source.html @@ -0,0 +1,154 @@ + + + + + +Chess Clock: /holvi/arto/ohjelmointi/ChessClock/chessclock/classes/chessclock.h Source File + + + + + + + + + + + + + +
+ +
+ +
Generated on Sat Aug 14 01:28:48 2010 for Chess Clock by  + +doxygen 1.6.3
+ + diff --git a/www/html/chessclockwidget_8cpp.html b/www/html/chessclockwidget_8cpp.html new file mode 100644 index 0000000..aeebdbc --- /dev/null +++ b/www/html/chessclockwidget_8cpp.html @@ -0,0 +1,74 @@ + + + + + +Chess Clock: /holvi/arto/ohjelmointi/ChessClock/chessclock/classes/chessclockwidget.cpp File Reference + + + + + + + + + +
+

/holvi/arto/ohjelmointi/ChessClock/chessclock/classes/chessclockwidget.cpp File Reference

#include "chessclockwidget.h"
+#include <QLabel>
+#include <QFont>
+#include <QVBoxLayout>
+#include <QHBoxLayout>
+ +

Go to the source code of this file.

+ +
+
+ + + + +
+ +
+ +
Generated on Sat Aug 14 01:28:48 2010 for Chess Clock by  + +doxygen 1.6.3
+ + diff --git a/www/html/chessclockwidget_8cpp_source.html b/www/html/chessclockwidget_8cpp_source.html new file mode 100644 index 0000000..26ecad2 --- /dev/null +++ b/www/html/chessclockwidget_8cpp_source.html @@ -0,0 +1,221 @@ + + + + + +Chess Clock: /holvi/arto/ohjelmointi/ChessClock/chessclock/classes/chessclockwidget.cpp Source File + + + + + + + + + + + + + +
+ +
+ +
Generated on Sat Aug 14 01:28:48 2010 for Chess Clock by  + +doxygen 1.6.3
+ + diff --git a/www/html/chessclockwidget_8h.html b/www/html/chessclockwidget_8h.html new file mode 100644 index 0000000..7356fe8 --- /dev/null +++ b/www/html/chessclockwidget_8h.html @@ -0,0 +1,75 @@ + + + + + +Chess Clock: /holvi/arto/ohjelmointi/ChessClock/chessclock/classes/chessclockwidget.h File Reference + + + + + + + + + +
+

/holvi/arto/ohjelmointi/ChessClock/chessclock/classes/chessclockwidget.h File Reference

#include "chessclock.h"
+#include <QPixmap>
+#include <QString>
+ +

Go to the source code of this file.

+ + + + +

Classes

class  ChessClockWidget
 Simple chess clock widget. More...
+
+ + + + +
+ +
+ +
Generated on Sat Aug 14 01:28:48 2010 for Chess Clock by  + +doxygen 1.6.3
+ + diff --git a/www/html/chessclockwidget_8h_source.html b/www/html/chessclockwidget_8h_source.html new file mode 100644 index 0000000..5dcb5e3 --- /dev/null +++ b/www/html/chessclockwidget_8h_source.html @@ -0,0 +1,132 @@ + + + + + +Chess Clock: /holvi/arto/ohjelmointi/ChessClock/chessclock/classes/chessclockwidget.h Source File + + + + + + + + + + + + + +
+ +
+ +
Generated on Sat Aug 14 01:28:48 2010 for Chess Clock by  + +doxygen 1.6.3
+ + diff --git a/www/html/chessclockwindow_8cpp.html b/www/html/chessclockwindow_8cpp.html index 3e9166d..abb955e 100644 --- a/www/html/chessclockwindow_8cpp.html +++ b/www/html/chessclockwindow_8cpp.html @@ -45,6 +45,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');

/holvi/arto/ohjelmointi/ChessClock/chessclock/chessclockwindow.cpp File Reference

#include "chessclockwindow.h"
#include <QtGui/QMainWindow>
+#include "chessclock.h"
+#include <QPixmap>
+#include <QString>

Go to the source code of this file.

@@ -55,7 +58,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" onkeydown="return searchBox.OnSearchSelectKey(event)"> - All Classes Files Functions Variables + All Classes Files Functions Variables Enumerations Enumerator
@@ -64,7 +67,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-
Generated on Fri Aug 13 22:27:27 2010 for Chess Clock by  +
Generated on Sat Aug 14 01:28:48 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/chessclockwindow_8cpp_source.html b/www/html/chessclockwindow_8cpp_source.html index e525242..e109f9c 100644 --- a/www/html/chessclockwindow_8cpp_source.html +++ b/www/html/chessclockwindow_8cpp_source.html @@ -64,22 +64,28 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); 00021 00022 #include "chessclockwindow.h" 00023 -00024 ChessClockWindow::ChessClockWindow(QWidget *parent) -00025 : QMainWindow(parent) -00026 { -00027 } -00028 -00029 ChessClockWindow::~ChessClockWindow() -00030 { -00031 -00032 } +00024 #include "classes/chessclockwidget.h" +00025 +00026 ChessClockWindow::ChessClockWindow(QWidget *parent) +00027 : QMainWindow(parent) +00028 { +00029 +00030 ChessClockWidget* widget = new ChessClockWidget(true, this); +00031 setCentralWidget(widget); +00032 +00033 } +00034 +00035 ChessClockWindow::~ChessClockWindow() +00036 { +00037 +00038 } + All Classes Files Functions Variables Enumerations Enumerator
@@ -88,7 +94,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-
Generated on Fri Aug 13 22:27:27 2010 for Chess Clock by  +
Generated on Sat Aug 14 01:28:48 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/chessclockwindow_8h.html b/www/html/chessclockwindow_8h.html index 32187c3..f22be83 100644 --- a/www/html/chessclockwindow_8h.html +++ b/www/html/chessclockwindow_8h.html @@ -56,7 +56,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" onkeydown="return searchBox.OnSearchSelectKey(event)"> - All Classes Files Functions Variables + All Classes Files Functions Variables Enumerations Enumerator
@@ -65,7 +65,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-
Generated on Fri Aug 13 22:27:27 2010 for Chess Clock by  +
Generated on Sat Aug 14 01:28:48 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/chessclockwindow_8h_source.html b/www/html/chessclockwindow_8h_source.html index d48400b..60216a4 100644 --- a/www/html/chessclockwindow_8h_source.html +++ b/www/html/chessclockwindow_8h_source.html @@ -83,7 +83,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" onkeydown="return searchBox.OnSearchSelectKey(event)"> - All Classes Files Functions Variables + All Classes Files Functions Variables Enumerations Enumerator
@@ -92,7 +92,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-
Generated on Fri Aug 13 22:27:27 2010 for Chess Clock by  +
Generated on Sat Aug 14 01:28:48 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/class_chess_clock-members.html b/www/html/class_chess_clock-members.html new file mode 100644 index 0000000..30c115b --- /dev/null +++ b/www/html/class_chess_clock-members.html @@ -0,0 +1,86 @@ + + + + + +Chess Clock: Member List + + + + + + + + + +
+

ChessClock Member List

This is the complete list of members for ChessClock, including all inherited members.
+ + + + + + + + + + + + + + + + + + + +
ChessClock(bool white, QWidget *parent=0)ChessClock
continueTurn()ChessClock [virtual]
endTurn()ChessClock [virtual]
getStatus() const ChessClock [inline]
getTimeAvailable()ChessClock [virtual]
getTimePlayed() const ChessClock [virtual]
getTurn() const ChessClock [inline]
isLoser() const ChessClock [inline]
isWhite() const ChessClock [inline]
NotRunning enum valueChessClock
Paused enum valueChessClock
pauseTurn()ChessClock [virtual]
repaintClock()=0ChessClock [pure virtual, slot]
Running enum valueChessClock
RunningStatus enum nameChessClock
setAnother(ChessClock *another)ChessClock
startTurn()ChessClock [virtual]
timeOutLoser()ChessClock [signal]
updateClock()ChessClock [virtual, slot]
+ + + + +
+ +
+ +
Generated on Sat Aug 14 01:28:48 2010 for Chess Clock by  + +doxygen 1.6.3
+ + diff --git a/www/html/class_chess_clock.html b/www/html/class_chess_clock.html new file mode 100644 index 0000000..67842de --- /dev/null +++ b/www/html/class_chess_clock.html @@ -0,0 +1,483 @@ + + + + + +Chess Clock: ChessClock Class Reference + + + + + + + + + +
+

ChessClock Class Reference

+

Clock of a individual player. +More...

+ +

#include <chessclock.h>

+
+Inheritance diagram for ChessClock:
+
+
+ + +ChessClockWidget + +
+
+ +

List of all members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Types

enum  RunningStatus { NotRunning = 0, +Running = 1, +Paused = 2 + }

Public Slots

virtual void repaintClock ()=0
 Refresh clock information.
virtual void updateClock ()
 Update clock information, check looser state and refresh.

Signals

void timeOutLoser ()

Public Member Functions

 ChessClock (bool white, QWidget *parent=0)
bool isLoser () const
int getTurn () const
bool isWhite () const
RunningStatus getStatus () const
virtual void startTurn ()
 Start new turn.
virtual TurnInformationendTurn ()
 End this turn.
virtual void pauseTurn ()
 Pause clock.
virtual void continueTurn ()
 Continue paused game.
void setAnother (ChessClock *another)
 Set another chess clock for connecting.
virtual int getTimeAvailable ()
 Get total time available.
virtual int getTimePlayed () const
 Get total time played.
+

Detailed Description

+

Clock of a individual player.

+
Author:
Arto Hyvättinen
+
Date:
2010-08-13
+

Base class of chess clock.

+

ChessClock has not GUI itself, but it is subclass of QWidget avoiding polymorphism.

+ +

Definition at line 43 of file chessclock.h.

+

Member Enumeration Documentation

+ +
+
+ + + + +
enum ChessClock::RunningStatus
+
+
+
Enumerator:
+ + + +
NotRunning  +

Not turn.

+
Running  +

Turn running.

+
Paused  +

Turn paused.

+
+
+
+ +

Definition at line 50 of file chessclock.h.

+ +
+
+

Constructor & Destructor Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + +
ChessClock::ChessClock (bool  white,
QWidget *  parent = 0 
)
+
+
+ +

Definition at line 28 of file chessclock.cpp.

+ +
+
+

Member Function Documentation

+ +
+
+ + + + + + + + +
void ChessClock::continueTurn ( )  [virtual]
+
+
+ +

Continue paused game.

+ +

Definition at line 67 of file chessclock.cpp.

+ +
+
+ +
+
+ + + + + + + + +
TurnInformation * ChessClock::endTurn ( )  [virtual]
+
+
+ +

End this turn.

+

Player has done his move.

+
Returns:
Locked turn information
+ +

Definition at line 77 of file chessclock.cpp.

+ +
+
+ +
+
+ + + + + + + + +
RunningStatus ChessClock::getStatus ( )  const [inline]
+
+
+ +

Definition at line 59 of file chessclock.h.

+ +
+
+ +
+
+ + + + + + + + +
int ChessClock::getTimeAvailable ( )  [virtual]
+
+
+ +

Get total time available.

+

Time does't contain delays.

+
Returns:
Time available in msecs
+ +

Definition at line 100 of file chessclock.cpp.

+ +
+
+ +
+
+ + + + + + + + +
int ChessClock::getTimePlayed ( )  const [virtual]
+
+
+ +

Get total time played.

+
Returns:
Time played in msecs
+ +

Definition at line 111 of file chessclock.cpp.

+ +
+
+ +
+
+ + + + + + + + +
int ChessClock::getTurn ( )  const [inline]
+
+
+ +

Definition at line 57 of file chessclock.h.

+ +
+
+ +
+
+ + + + + + + + +
bool ChessClock::isLoser ( )  const [inline]
+
+
+ +

Definition at line 56 of file chessclock.h.

+ +
+
+ +
+
+ + + + + + + + +
bool ChessClock::isWhite ( )  const [inline]
+
+
+ +

Definition at line 58 of file chessclock.h.

+ +
+
+ +
+
+ + + + + + + + +
void ChessClock::pauseTurn ( )  [virtual]
+
+
+ +

Pause clock.

+ +

Definition at line 59 of file chessclock.cpp.

+ +
+
+ +
+
+ + + + + + + + +
virtual void ChessClock::repaintClock ( )  [pure virtual, slot]
+
+
+ +

Refresh clock information.

+ +

Implemented in ChessClockWidget.

+ +
+
+ +
+
+ + + + + + + + + +
void ChessClock::setAnother (ChessClock another ) 
+
+
+ +

Set another chess clock for connecting.

+
Parameters:
+ + +
another Clock of opposite player
+
+
+ +

Definition at line 95 of file chessclock.cpp.

+ +
+
+ +
+
+ + + + + + + + +
void ChessClock::startTurn ( )  [virtual]
+
+
+ +

Start new turn.

+ +

Definition at line 46 of file chessclock.cpp.

+ +
+
+ +
+
+ + + + + + + + +
void ChessClock::timeOutLoser ( )  [signal]
+
+
+ +
+
+ +
+
+ + + + + + + + +
void ChessClock::updateClock ( )  [virtual, slot]
+
+
+ +

Update clock information, check looser state and refresh.

+ +

Definition at line 120 of file chessclock.cpp.

+ +
+
+
The documentation for this class was generated from the following files:
    +
  • /holvi/arto/ohjelmointi/ChessClock/chessclock/classes/chessclock.h
  • +
  • /holvi/arto/ohjelmointi/ChessClock/chessclock/classes/chessclock.cpp
  • +
+
+ + + + +
+ +
+ +
Generated on Sat Aug 14 01:28:48 2010 for Chess Clock by  + +doxygen 1.6.3
+ + diff --git a/www/html/class_chess_clock.png b/www/html/class_chess_clock.png new file mode 100644 index 0000000000000000000000000000000000000000..7caa3d1c452708ca5efe9257876015eb0f244af7 GIT binary patch literal 452 zcmeAS@N?(olHy`uVBq!ia0vp^r9d3O!3-n?cAw$~QW60^A+G=b{|7Sv|35H)e!>JG z3ycpOI8c4){}UjWqa?^L7$^+}S5Ji)F)%O&d%8G=R4~4s8{2nSfu}`Msqnw@duIEM zv9mXn2xmuM?(q1SvhRk(uUQWag)V(oUUA=pwPDIOmCGs1LbhbOZ}OEDR0;WBCv7}& zLP7VLIpHg=J~CN+{eqB~UiXeEtG7JeER@IklRN9Z%-%!gfv!i^eJGu+XSQPBx{yUH z@7-O$#?zB?rOTHMxw7g>0nNYGuaJA(tFOlwTC`}|qsG#OK;rAdx=?<0(-n@qSpm&b zR~E3Du8?=I-R6F?-cmdKI;Vst0GedU + + + + +Chess Clock: Member List + + + + + + + + + +
+

ChessClockWidget Member List

This is the complete list of members for ChessClockWidget, including all inherited members. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ChessClock(bool white, QWidget *parent=0)ChessClock
ChessClockWidget(bool white, QWidget *parent=0)ChessClockWidget
continueTurn()ChessClock [virtual]
endTurn()ChessClock [virtual]
getStatus() const ChessClock [inline]
getTimeAvailable()ChessClock [virtual]
getTimePlayed() const ChessClock [virtual]
getTurn() const ChessClock [inline]
initBottom()ChessClockWidget [protected, virtual]
initLabels()ChessClockWidget [protected, virtual]
initPictures()ChessClockWidget [protected, virtual]
initTop()ChessClockWidget [protected, virtual]
isLoser() const ChessClock [inline]
isWhite() const ChessClock [inline]
leftLabel_ChessClockWidget [protected]
loserLabel_ChessClockWidget [protected]
mainLayoutChessClockWidget [protected]
NotRunning enum valueChessClock
Paused enum valueChessClock
pauseTurn()ChessClock [virtual]
picActive_ChessClockWidget [protected]
picLoser_ChessClockWidget [protected]
picPassive_ChessClockWidget [protected]
pictureLabel_ChessClockWidget [protected]
repaintClock()ChessClockWidget [virtual, slot]
Running enum valueChessClock
RunningStatus enum nameChessClock
setAnother(ChessClock *another)ChessClock
startTurn()ChessClock [virtual]
timeAverageLabel_ChessClockWidget [protected]
timeOutLoser()ChessClock [signal]
timeString(int msecs)ChessClockWidget [protected]
timeUsedLabel_ChessClockWidget [protected]
turnLabel_ChessClockWidget [protected]
updateClock()ChessClock [virtual, slot]
+ + + + +
+ +
+ +
Generated on Sat Aug 14 01:28:48 2010 for Chess Clock by  + +doxygen 1.6.3
+ + diff --git a/www/html/class_chess_clock_widget.html b/www/html/class_chess_clock_widget.html new file mode 100644 index 0000000..673650f --- /dev/null +++ b/www/html/class_chess_clock_widget.html @@ -0,0 +1,434 @@ + + + + + +Chess Clock: ChessClockWidget Class Reference + + + + + + + + + +
+

ChessClockWidget Class Reference

+

Simple chess clock widget. +More...

+ +

#include <chessclockwidget.h>

+
+Inheritance diagram for ChessClockWidget:
+
+
+ + +ChessClock + +
+
+ +

List of all members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Slots

virtual void repaintClock ()
 Refresh clock information.

Public Member Functions

 ChessClockWidget (bool white, QWidget *parent=0)

Protected Member Functions

virtual void initPictures ()
 Init pictures from resources.
virtual void initLabels ()
 Init QLabels.
virtual void initTop ()
 Init top: picture, details, loser mark.
virtual void initBottom ()
 Init time left in bottom.
QString timeString (int msecs)
 Convert msecs to h:mm:ss QString.

Protected Attributes

QPixmap picActive_
QPixmap picPassive_
QPixmap picLoser_
QLabel * pictureLabel_
QLabel * timeUsedLabel_
QLabel * timeAverageLabel_
QLabel * turnLabel_
QLabel * loserLabel_
QLabel * leftLabel_
QVBoxLayout * mainLayout
+

Detailed Description

+

Simple chess clock widget.

+
Author:
Arto Hyvättinen
+
Date:
2010-08-14
+ +

Definition at line 39 of file chessclockwidget.h.

+

Constructor & Destructor Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + +
ChessClockWidget::ChessClockWidget (bool  white,
QWidget *  parent = 0 
)
+
+
+ +

Definition at line 29 of file chessclockwidget.cpp.

+ +
+
+

Member Function Documentation

+ +
+
+ + + + + + + + +
void ChessClockWidget::initBottom ( )  [protected, virtual]
+
+
+ +

Init time left in bottom.

+

Override to make different bottom area

+ +

Definition at line 109 of file chessclockwidget.cpp.

+ +
+
+ +
+
+ + + + + + + + +
void ChessClockWidget::initLabels ( )  [protected, virtual]
+
+
+ +

Init QLabels.

+ +

Definition at line 59 of file chessclockwidget.cpp.

+ +
+
+ +
+
+ + + + + + + + +
void ChessClockWidget::initPictures ( )  [protected, virtual]
+
+
+ +

Init pictures from resources.

+ +

Definition at line 43 of file chessclockwidget.cpp.

+ +
+
+ +
+
+ + + + + + + + +
void ChessClockWidget::initTop ( )  [protected, virtual]
+
+
+ +

Init top: picture, details, loser mark.

+ +

Definition at line 80 of file chessclockwidget.cpp.

+ +
+
+ +
+
+ + + + + + + + +
void ChessClockWidget::repaintClock ( )  [virtual, slot]
+
+
+ +

Refresh clock information.

+ +

Implements ChessClock.

+ +

Definition at line 121 of file chessclockwidget.cpp.

+ +
+
+ +
+
+ + + + + + + + + +
QString ChessClockWidget::timeString (int  msecs )  [protected]
+
+
+ +

Convert msecs to h:mm:ss QString.

+ +

Definition at line 148 of file chessclockwidget.cpp.

+ +
+
+

Member Data Documentation

+ +
+
+ + + + +
QLabel* ChessClockWidget::leftLabel_ [protected]
+
+
+ +

Definition at line 75 of file chessclockwidget.h.

+ +
+
+ +
+
+ + + + +
QLabel* ChessClockWidget::loserLabel_ [protected]
+
+
+ +

Definition at line 74 of file chessclockwidget.h.

+ +
+
+ +
+
+ + + + +
QVBoxLayout* ChessClockWidget::mainLayout [protected]
+
+
+ +

Definition at line 77 of file chessclockwidget.h.

+ +
+
+ +
+
+ + + + +
QPixmap ChessClockWidget::picActive_ [protected]
+
+
+ +

Definition at line 66 of file chessclockwidget.h.

+ +
+
+ +
+
+ + + + +
QPixmap ChessClockWidget::picLoser_ [protected]
+
+
+ +

Definition at line 68 of file chessclockwidget.h.

+ +
+
+ +
+
+ + + + +
QPixmap ChessClockWidget::picPassive_ [protected]
+
+
+ +

Definition at line 67 of file chessclockwidget.h.

+ +
+
+ +
+
+ + + + +
QLabel* ChessClockWidget::pictureLabel_ [protected]
+
+
+ +

Definition at line 70 of file chessclockwidget.h.

+ +
+
+ +
+
+ + + + +
QLabel* ChessClockWidget::timeAverageLabel_ [protected]
+
+
+ +

Definition at line 72 of file chessclockwidget.h.

+ +
+
+ +
+
+ + + + +
QLabel* ChessClockWidget::timeUsedLabel_ [protected]
+
+
+ +

Definition at line 71 of file chessclockwidget.h.

+ +
+
+ +
+
+ + + + +
QLabel* ChessClockWidget::turnLabel_ [protected]
+
+
+ +

Definition at line 73 of file chessclockwidget.h.

+ +
+
+
The documentation for this class was generated from the following files: +
+ + + + +
+ +
+ +
Generated on Sat Aug 14 01:28:48 2010 for Chess Clock by  + +doxygen 1.6.3
+ + diff --git a/www/html/class_chess_clock_widget.png b/www/html/class_chess_clock_widget.png new file mode 100644 index 0000000000000000000000000000000000000000..22cb3ca19b91b4d63fd08aaae5deaa69e4251da1 GIT binary patch literal 451 zcmeAS@N?(olHy`uVBq!ia0vp^r9d3O!3-n?cAw$~QW60^A+G=b{|7Sv|35H)e!>JG z3ycpOI8c4){}UjWqa?^L7$^+}S5Ji)F)%O&dAc};R4~4so4fw70!OQ@-pBv{pZq>J zor(3@?X{}66MEI2o(LAWd;L?#hEFTLM+enU*H@LPzFuA)s*BolbMAF``o3}xR9-V@`?o{4_!n;zYvf%BBzhPA3*lEcUFqqY z6*PI)l_hGXE8`tpTSQqxG*`y^vo-|XS-(N$@6nP(O&-OCNj!X4r@UDqlN7vt3OCGI zr~RH-`8}PrK`b*w%*n>vd+~aW-BWXtrrv+9b@)?YVSkfI&-`Dp$5(7F{=)Tt_N~LR zCquV%Ig9>%qVn>~hJEXQJ-g^TebMsYr}&h!gQA?21Z~fp@4a}qL_2Rs*Smd!y}RGM lig|u^!hcK8y**Ni^&FCt6WO2fE&zr&gQu&X%Q~loCIDh&&T#+$ literal 0 HcmV?d00001 diff --git a/www/html/class_chess_clock_window-members.html b/www/html/class_chess_clock_window-members.html index 54cb2fa..76f9d9b 100644 --- a/www/html/class_chess_clock_window-members.html +++ b/www/html/class_chess_clock_window-members.html @@ -38,6 +38,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); @@ -52,7 +53,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" onkeydown="return searchBox.OnSearchSelectKey(event)"> - All Classes Files Functions Variables + All Classes Files Functions Variables Enumerations Enumerator
@@ -61,7 +62,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-
Generated on Fri Aug 13 22:27:27 2010 for Chess Clock by  +
Generated on Sat Aug 14 01:28:48 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/class_chess_clock_window.html b/www/html/class_chess_clock_window.html index 088bdba..3a960c9 100644 --- a/www/html/class_chess_clock_window.html +++ b/www/html/class_chess_clock_window.html @@ -38,6 +38,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); @@ -72,7 +73,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

Definition at line 24 of file chessclockwindow.cpp.

+

Definition at line 26 of file chessclockwindow.cpp.

@@ -91,7 +92,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

Definition at line 29 of file chessclockwindow.cpp.

+

Definition at line 35 of file chessclockwindow.cpp.

@@ -105,7 +106,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" onkeydown="return searchBox.OnSearchSelectKey(event)"> - All Classes Files Functions Variables + All Classes Files Functions Variables Enumerations Enumerator
@@ -114,7 +115,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-
Generated on Fri Aug 13 22:27:27 2010 for Chess Clock by  +
Generated on Sat Aug 14 01:28:48 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/class_turn_information-members.html b/www/html/class_turn_information-members.html index 833c690..4bf04d0 100644 --- a/www/html/class_turn_information-members.html +++ b/www/html/class_turn_information-members.html @@ -38,6 +38,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); @@ -47,11 +48,11 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); addPause(int msecs)TurnInformation addTime(int msecs)TurnInformation duration_TurnInformation [protected] - getDuration()TurnInformation [inline] - getPaused()TurnInformation [inline] - getTimeAfter()TurnInformation - getTurnId()TurnInformation [inline] - isWhiteTurn()TurnInformation [inline] + getDuration() const TurnInformation [inline] + getPaused() const TurnInformation [inline] + getTimeAfter() const TurnInformation + getTurnId() const TurnInformation [inline] + isWhiteTurn() const TurnInformation [inline] paused_TurnInformation [protected] timeAfter_TurnInformation [protected] turnId_TurnInformation [protected] @@ -65,7 +66,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" onkeydown="return searchBox.OnSearchSelectKey(event)"> - All Classes Files Functions Variables + All Classes Files Functions Variables Enumerations Enumerator
@@ -74,7 +75,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-
Generated on Fri Aug 13 22:27:27 2010 for Chess Clock by  +
Generated on Sat Aug 14 01:28:48 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/class_turn_information.html b/www/html/class_turn_information.html index 36e5437..b49275a 100644 --- a/www/html/class_turn_information.html +++ b/www/html/class_turn_information.html @@ -38,6 +38,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); @@ -54,14 +55,14 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');

Public Member Functions

 TurnInformation (int turnId, bool white)  Turn information object.
-int getTurnId () -int getDuration () - Duration of turn.
-int getPaused () - Duration of pauses during this turn.
-int getTimeAfter () - Time available for this player after this turn.
-bool isWhiteTurn () +int getTurnId () const +int getDuration () const + Duration of turn.
+int getPaused () const + Duration of pauses during this turn.
+int getTimeAfter () const + Time available for this player after this turn.
+bool isWhiteTurn () const void addTime (int msecs) void addPause (int msecs) void turnReady (int msecs) @@ -166,7 +167,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); - +
@@ -175,7 +176,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); - +
(  )  [inline] const [inline]
@@ -188,7 +189,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
- +
@@ -197,7 +198,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); - +
(  )  [inline] const [inline]
@@ -210,7 +211,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
- +
@@ -219,7 +220,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); - +
(  )  const
@@ -228,11 +229,11 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');

Time available for this player after this turn.

Returns:
Time available in msecs
-

Definition at line 52 of file turninformation.cpp.

+

Definition at line 53 of file turninformation.cpp.

- +
@@ -241,7 +242,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); - +
(  )  [inline] const [inline]
@@ -251,7 +252,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
- +
@@ -260,7 +261,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); - +
(  )  [inline] const [inline]
@@ -295,7 +296,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -

Definition at line 46 of file turninformation.cpp.

+

Definition at line 47 of file turninformation.cpp.

@@ -410,7 +411,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" onkeydown="return searchBox.OnSearchSelectKey(event)"> - All Classes Files Functions Variables + All Classes Files Functions Variables Enumerations Enumerator
@@ -419,7 +420,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-
Generated on Fri Aug 13 22:27:27 2010 for Chess Clock by  +
Generated on Sat Aug 14 01:28:48 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/classes.html b/www/html/classes.html index 29328db..3f855bf 100644 --- a/www/html/classes.html +++ b/www/html/classes.html @@ -38,6 +38,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); @@ -46,15 +47,15 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');

Class Index

C | T
  C  
-
ChessClockWindow   
  T  
-
TurnInformation   
C | T
+ChessClockWidget   ChessClockWindow   
  T  
+TurnInformation   ChessClock   
C | T
+ All Classes Files Functions Variables Enumerations Enumerator
@@ -63,7 +64,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-
Generated on Fri Aug 13 22:27:27 2010 for Chess Clock by  +
Generated on Sat Aug 14 01:28:48 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/files.html b/www/html/files.html index 39f5d03..4c4cff8 100644 --- a/www/html/files.html +++ b/www/html/files.html @@ -47,6 +47,10 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); /holvi/arto/ohjelmointi/ChessClock/chessclock/chessclockwindow.cpp [code] /holvi/arto/ohjelmointi/ChessClock/chessclock/chessclockwindow.h [code] /holvi/arto/ohjelmointi/ChessClock/chessclock/main.cpp [code] + /holvi/arto/ohjelmointi/ChessClock/chessclock/classes/chessclock.cpp [code] + /holvi/arto/ohjelmointi/ChessClock/chessclock/classes/chessclock.h [code] + /holvi/arto/ohjelmointi/ChessClock/chessclock/classes/chessclockwidget.cpp [code] + /holvi/arto/ohjelmointi/ChessClock/chessclock/classes/chessclockwidget.h [code] /holvi/arto/ohjelmointi/ChessClock/chessclock/classes/turninformation.cpp [code] /holvi/arto/ohjelmointi/ChessClock/chessclock/classes/turninformation.h [code] @@ -56,7 +60,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" onkeydown="return searchBox.OnSearchSelectKey(event)"> - All Classes Files Functions Variables + All Classes Files Functions Variables Enumerations Enumerator
@@ -65,7 +69,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-
Generated on Fri Aug 13 22:27:27 2010 for Chess Clock by  +
Generated on Sat Aug 14 01:28:48 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/functions.html b/www/html/functions.html index 10e254e..e2e143a 100644 --- a/www/html/functions.html +++ b/www/html/functions.html @@ -38,6 +38,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); @@ -46,59 +47,249 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • All
  • Functions
  • Variables
  • +
  • Enumerations
  • +
  • Enumerator
  • + + +
    +
    -Here is a list of all class members with links to the classes they belong to:
    + All Classes Files Functions Variables Enumerations Enumerator
    @@ -118,7 +309,7 @@ Here is a list of all class members with links to the classes they belong to:
    -
    Generated on Fri Aug 13 22:27:27 2010 for Chess Clock by  +
    Generated on Sat Aug 14 01:28:48 2010 for Chess Clock by  doxygen 1.6.3
    diff --git a/www/html/functions_enum.html b/www/html/functions_enum.html new file mode 100644 index 0000000..71b6155 --- /dev/null +++ b/www/html/functions_enum.html @@ -0,0 +1,80 @@ + + + + + +Chess Clock: Class Members - Enumerations + + + + + + + + + +
    +
    + + + + +
    + +
    + +
    Generated on Sat Aug 14 01:28:48 2010 for Chess Clock by  + +doxygen 1.6.3
    + + diff --git a/www/html/functions_eval.html b/www/html/functions_eval.html new file mode 100644 index 0000000..eaff057 --- /dev/null +++ b/www/html/functions_eval.html @@ -0,0 +1,86 @@ + + + + + +Chess Clock: Class Members - Enumerator + + + + + + + + + +
    +
    + + + + +
    + +
    + +
    Generated on Sat Aug 14 01:28:48 2010 for Chess Clock by  + +doxygen 1.6.3
    + + diff --git a/www/html/functions_func.html b/www/html/functions_func.html index 63c3164..fb5da38 100644 --- a/www/html/functions_func.html +++ b/www/html/functions_func.html @@ -38,6 +38,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); @@ -46,34 +47,146 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • All
  • Functions
  • Variables
  • +
  • Enumerations
  • +
  • Enumerator
  • + + +
    +
    + All Classes Files Functions Variables Enumerations Enumerator
    @@ -100,7 +224,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    -
    Generated on Fri Aug 13 22:27:27 2010 for Chess Clock by  +
    Generated on Sat Aug 14 01:28:48 2010 for Chess Clock by  doxygen 1.6.3
    diff --git a/www/html/functions_vars.html b/www/html/functions_vars.html index 6ca5ba9..145d3eb 100644 --- a/www/html/functions_vars.html +++ b/www/html/functions_vars.html @@ -38,6 +38,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); @@ -46,6 +47,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • All
  • Functions
  • Variables
  • +
  • Enumerations
  • +
  • Enumerator
  • @@ -54,15 +57,45 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • duration_ : TurnInformation
  • +
  • leftLabel_ +: ChessClockWidget +
  • +
  • loserLabel_ +: ChessClockWidget +
  • +
  • mainLayout +: ChessClockWidget +
  • paused_ : TurnInformation
  • +
  • picActive_ +: ChessClockWidget +
  • +
  • picLoser_ +: ChessClockWidget +
  • +
  • picPassive_ +: ChessClockWidget +
  • +
  • pictureLabel_ +: ChessClockWidget +
  • timeAfter_ : TurnInformation
  • +
  • timeAverageLabel_ +: ChessClockWidget +
  • +
  • timeUsedLabel_ +: ChessClockWidget +
  • turnId_ : TurnInformation
  • +
  • turnLabel_ +: ChessClockWidget +
  • turnReady_ : TurnInformation
  • @@ -76,7 +109,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" onkeydown="return searchBox.OnSearchSelectKey(event)"> - All Classes Files Functions Variables + All Classes Files Functions Variables Enumerations Enumerator
    @@ -85,7 +118,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    -
    Generated on Fri Aug 13 22:27:27 2010 for Chess Clock by  +
    Generated on Sat Aug 14 01:28:48 2010 for Chess Clock by  doxygen 1.6.3
    diff --git a/www/html/globals.html b/www/html/globals.html index b46d4f1..c9be1aa 100644 --- a/www/html/globals.html +++ b/www/html/globals.html @@ -60,7 +60,7 @@ Here is a list of all file members with links to the files they belong to:
      onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" onkeydown="return searchBox.OnSearchSelectKey(event)"> - All Classes Files Functions Variables + All Classes Files Functions Variables Enumerations Enumerator
      @@ -69,7 +69,7 @@ Here is a list of all file members with links to the files they belong to:
      -
      Generated on Fri Aug 13 22:27:27 2010 for Chess Clock by  +
      Generated on Sat Aug 14 01:28:48 2010 for Chess Clock by  doxygen 1.6.3
      diff --git a/www/html/globals_func.html b/www/html/globals_func.html index e794862..7e6d945 100644 --- a/www/html/globals_func.html +++ b/www/html/globals_func.html @@ -60,7 +60,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" onkeydown="return searchBox.OnSearchSelectKey(event)"> - All Classes Files Functions Variables + All Classes Files Functions Variables Enumerations Enumerator
      @@ -69,7 +69,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
      -
      Generated on Fri Aug 13 22:27:27 2010 for Chess Clock by  +
      Generated on Sat Aug 14 01:28:48 2010 for Chess Clock by  doxygen 1.6.3
      diff --git a/www/html/hierarchy.html b/www/html/hierarchy.html new file mode 100644 index 0000000..b7fbcc6 --- /dev/null +++ b/www/html/hierarchy.html @@ -0,0 +1,74 @@ + + + + + +Chess Clock: Hierarchical Index + + + + + + + + + +
      +

      Class Hierarchy

      This inheritance list is sorted roughly, but not completely, alphabetically: +
      + + + + +
      + +
      + +
      Generated on Sat Aug 14 01:28:48 2010 for Chess Clock by  + +doxygen 1.6.3
      + + diff --git a/www/html/index.html b/www/html/index.html index 6fc669c..575c2e5 100644 --- a/www/html/index.html +++ b/www/html/index.html @@ -3,7 +3,7 @@ -Chess Clock: Main Page +Chess Clock: Chess Clock @@ -37,13 +37,20 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
      -

      Chess Clock Documentation

      0.1

      +

      Chess Clock

      0.1

      Author:
      Arto Hyvättinen
      +
      Version:
      0.1.0
      +

      Chess Clock

      +

      Game clock for chess players with N900. Support many game controls.

      +

      Copyright (c) Arto Hyvättinen 2010

      +

      Chess Clock is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

      +

      Chess Clock is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

      + + All Classes Files Functions Variables Enumerations Enumerator
      @@ -52,7 +59,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
      -
      Generated on Fri Aug 13 22:27:27 2010 for Chess Clock by  +
      Generated on Sat Aug 14 01:28:48 2010 for Chess Clock by  doxygen 1.6.3
      diff --git a/www/html/main_8cpp.html b/www/html/main_8cpp.html index cf5f1db..27b0d5f 100644 --- a/www/html/main_8cpp.html +++ b/www/html/main_8cpp.html @@ -77,7 +77,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
      -

      Definition at line 26 of file main.cpp.

      +

      Definition at line 53 of file main.cpp.

      @@ -87,7 +87,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" onkeydown="return searchBox.OnSearchSelectKey(event)"> - All Classes Files Functions Variables + All Classes Files Functions Variables Enumerations Enumerator
      @@ -96,7 +96,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
      -
      Generated on Fri Aug 13 22:27:27 2010 for Chess Clock by  +
      Generated on Sat Aug 14 01:28:48 2010 for Chess Clock by  doxygen 1.6.3
      diff --git a/www/html/main_8cpp_source.html b/www/html/main_8cpp_source.html index a732fc8..44772fe 100644 --- a/www/html/main_8cpp_source.html +++ b/www/html/main_8cpp_source.html @@ -63,28 +63,28 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); 00020 **************************************************************************/ 00021 00022 -00023 #include <QtGui/QApplication> -00024 #include "chessclockwindow.h" -00025 -00026 int main(int argc, char *argv[]) -00027 { -00028 QApplication a(argc, argv); -00029 ChessClockWindow w; -00030 #if defined(Q_WS_S60) -00031 w.showMaximized(); -00032 #else -00033 w.show(); -00034 #endif -00035 -00036 return a.exec(); -00037 } +00050 #include <QtGui/QApplication> +00051 #include "chessclockwindow.h" +00052 +00053 int main(int argc, char *argv[]) +00054 { +00055 QApplication a(argc, argv); +00056 ChessClockWindow w; +00057 #if defined(Q_WS_S60) +00058 w.showMaximized(); +00059 #else +00060 w.show(); +00061 #endif +00062 +00063 return a.exec(); +00064 } + All Classes Files Functions Variables Enumerations Enumerator
      @@ -93,7 +93,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
      -
      Generated on Fri Aug 13 22:27:27 2010 for Chess Clock by  +
      Generated on Sat Aug 14 01:28:48 2010 for Chess Clock by  doxygen 1.6.3
      diff --git a/www/html/search/all_63.html b/www/html/search/all_63.html index b8cff7c..5e7db0d 100644 --- a/www/html/search/all_63.html +++ b/www/html/search/all_63.html @@ -7,23 +7,67 @@
      Loading...
      + + +
      + +
      + + + +
      +
      + continueTurn + ChessClock
      Searching...
      diff --git a/www/html/search/all_65.html b/www/html/search/all_65.html new file mode 100644 index 0000000..557c122 --- /dev/null +++ b/www/html/search/all_65.html @@ -0,0 +1,26 @@ + + + + + + + +
      +
      Loading...
      +
      +
      + endTurn + ChessClock +
      +
      +
      Searching...
      +
      No Matches
      + +
      + + diff --git a/www/html/search/all_67.html b/www/html/search/all_67.html index 79257ff..9cb7162 100644 --- a/www/html/search/all_67.html +++ b/www/html/search/all_67.html @@ -9,25 +9,49 @@
      Loading...
      - getDuration + getDuration TurnInformation
      - getPaused + getPaused TurnInformation
      +
      +
      + getStatus + ChessClock +
      +
      - getTimeAfter + getTimeAfter TurnInformation
      +
      +
      + getTimeAvailable + ChessClock +
      +
      +
      +
      + getTimePlayed + ChessClock +
      +
      +
      +
      + getTurn + ChessClock +
      +
      - getTurnId + getTurnId TurnInformation
      diff --git a/www/html/search/all_69.html b/www/html/search/all_69.html index 7c08b0b..e7cd8bf 100644 --- a/www/html/search/all_69.html +++ b/www/html/search/all_69.html @@ -7,9 +7,45 @@
      Loading...
      +
      +
      + initBottom + ChessClockWidget +
      +
      +
      +
      + initLabels + ChessClockWidget +
      +
      +
      +
      + initPictures + ChessClockWidget +
      +
      +
      +
      + initTop + ChessClockWidget +
      +
      +
      +
      + isLoser + ChessClock +
      +
      +
      +
      + isWhite + ChessClock +
      +
      - isWhiteTurn + isWhiteTurn TurnInformation
      diff --git a/www/html/search/all_6c.html b/www/html/search/all_6c.html new file mode 100644 index 0000000..42e350a --- /dev/null +++ b/www/html/search/all_6c.html @@ -0,0 +1,32 @@ + + + + + + + +
      +
      Loading...
      +
      +
      + leftLabel_ + ChessClockWidget +
      +
      +
      +
      + loserLabel_ + ChessClockWidget +
      +
      +
      Searching...
      +
      No Matches
      + +
      + + diff --git a/www/html/search/all_6d.html b/www/html/search/all_6d.html index 8efca3c..8663ae6 100644 --- a/www/html/search/all_6d.html +++ b/www/html/search/all_6d.html @@ -18,6 +18,12 @@ main.cpp
      +
      +
      + mainLayout + ChessClockWidget +
      +
      Searching...
      No Matches
      + + + diff --git a/www/html/search/all_70.html b/www/html/search/all_70.html index cd68e89..b38329b 100644 --- a/www/html/search/all_70.html +++ b/www/html/search/all_70.html @@ -7,12 +7,48 @@
      Loading...
      +
      +
      + Paused + ChessClock +
      +
      - paused_ + paused_ TurnInformation
      +
      +
      + pauseTurn + ChessClock +
      +
      +
      +
      + picActive_ + ChessClockWidget +
      +
      +
      +
      + picLoser_ + ChessClockWidget +
      +
      +
      +
      + picPassive_ + ChessClockWidget +
      +
      +
      +
      + pictureLabel_ + ChessClockWidget +
      +
      Searching...
      No Matches
      +
      + + diff --git a/www/html/search/all_73.html b/www/html/search/all_73.html new file mode 100644 index 0000000..d3424ce --- /dev/null +++ b/www/html/search/all_73.html @@ -0,0 +1,32 @@ + + + + + + + +
      +
      Loading...
      +
      +
      + setAnother + ChessClock +
      +
      +
      +
      + startTurn + ChessClock +
      +
      +
      Searching...
      +
      No Matches
      + +
      + + diff --git a/www/html/search/all_74.html b/www/html/search/all_74.html index 15a738a..4a37ef7 100644 --- a/www/html/search/all_74.html +++ b/www/html/search/all_74.html @@ -13,40 +13,70 @@ TurnInformation +
      +
      + timeAverageLabel_ + ChessClockWidget +
      +
      +
      +
      + timeOutLoser + ChessClock +
      +
      +
      +
      + timeString + ChessClockWidget +
      +
      +
      +
      + timeUsedLabel_ + ChessClockWidget +
      +
      - turnId_ + turnId_ TurnInformation
      +
      +
      + turnLabel_ + ChessClockWidget
      - turnReady + turnReady TurnInformation
      - turnReady_ + turnReady_ TurnInformation
      diff --git a/www/html/search/all_75.html b/www/html/search/all_75.html new file mode 100644 index 0000000..60ba44b --- /dev/null +++ b/www/html/search/all_75.html @@ -0,0 +1,26 @@ + + + + + + + +
      +
      Loading...
      +
      +
      + updateClock + ChessClock +
      +
      +
      Searching...
      +
      No Matches
      + +
      + + diff --git a/www/html/search/classes_63.html b/www/html/search/classes_63.html index dfc7df8..3a3f826 100644 --- a/www/html/search/classes_63.html +++ b/www/html/search/classes_63.html @@ -7,9 +7,19 @@
      Loading...
      +
      + +
      +
      Searching...
      diff --git a/www/html/search/enums_72.html b/www/html/search/enums_72.html new file mode 100644 index 0000000..b9107d7 --- /dev/null +++ b/www/html/search/enums_72.html @@ -0,0 +1,26 @@ + + + + + + + +
      +
      Loading...
      +
      +
      + RunningStatus + ChessClock +
      +
      +
      Searching...
      +
      No Matches
      + +
      + + diff --git a/www/html/search/enumvalues_6e.html b/www/html/search/enumvalues_6e.html new file mode 100644 index 0000000..b961b9f --- /dev/null +++ b/www/html/search/enumvalues_6e.html @@ -0,0 +1,26 @@ + + + + + + + +
      +
      Loading...
      +
      +
      + NotRunning + ChessClock +
      +
      +
      Searching...
      +
      No Matches
      + +
      + + diff --git a/www/html/search/enumvalues_70.html b/www/html/search/enumvalues_70.html new file mode 100644 index 0000000..c09840b --- /dev/null +++ b/www/html/search/enumvalues_70.html @@ -0,0 +1,26 @@ + + + + + + + +
      +
      Loading...
      +
      +
      + Paused + ChessClock +
      +
      +
      Searching...
      +
      No Matches
      + +
      + + diff --git a/www/html/search/enumvalues_72.html b/www/html/search/enumvalues_72.html new file mode 100644 index 0000000..8609816 --- /dev/null +++ b/www/html/search/enumvalues_72.html @@ -0,0 +1,26 @@ + + + + + + + +
      +
      Loading...
      +
      +
      + Running + ChessClock +
      +
      +
      Searching...
      +
      No Matches
      + +
      + + diff --git a/www/html/search/files_63.html b/www/html/search/files_63.html index e9ec641..bf33a1f 100644 --- a/www/html/search/files_63.html +++ b/www/html/search/files_63.html @@ -7,14 +7,34 @@
      Loading...
      + +
      + +
      + +
      Searching...
      diff --git a/www/html/search/functions_63.html b/www/html/search/functions_63.html index b10ab9f..d992fac 100644 --- a/www/html/search/functions_63.html +++ b/www/html/search/functions_63.html @@ -7,12 +7,30 @@
      Loading...
      +
      +
      + ChessClock + ChessClock +
      +
      +
      +
      + ChessClockWidget + ChessClockWidget +
      +
      - ChessClockWindow + ChessClockWindow ChessClockWindow
      +
      +
      + continueTurn + ChessClock +
      +
      Searching...
      No Matches
      +
      + + diff --git a/www/html/search/functions_67.html b/www/html/search/functions_67.html index 79257ff..9cb7162 100644 --- a/www/html/search/functions_67.html +++ b/www/html/search/functions_67.html @@ -9,25 +9,49 @@
      Loading...
      - getDuration + getDuration TurnInformation
      - getPaused + getPaused TurnInformation
      +
      +
      + getStatus + ChessClock +
      +
      - getTimeAfter + getTimeAfter TurnInformation
      +
      +
      + getTimeAvailable + ChessClock +
      +
      +
      +
      + getTimePlayed + ChessClock +
      +
      +
      +
      + getTurn + ChessClock +
      +
      - getTurnId + getTurnId TurnInformation
      diff --git a/www/html/search/functions_69.html b/www/html/search/functions_69.html index 7c08b0b..e7cd8bf 100644 --- a/www/html/search/functions_69.html +++ b/www/html/search/functions_69.html @@ -7,9 +7,45 @@
      Loading...
      +
      +
      + initBottom + ChessClockWidget +
      +
      +
      +
      + initLabels + ChessClockWidget +
      +
      +
      +
      + initPictures + ChessClockWidget +
      +
      +
      +
      + initTop + ChessClockWidget +
      +
      +
      +
      + isLoser + ChessClock +
      +
      +
      +
      + isWhite + ChessClock +
      +
      - isWhiteTurn + isWhiteTurn TurnInformation
      diff --git a/www/html/search/functions_70.html b/www/html/search/functions_70.html new file mode 100644 index 0000000..d235e9b --- /dev/null +++ b/www/html/search/functions_70.html @@ -0,0 +1,26 @@ + + + + + + + +
      +
      Loading...
      +
      +
      + pauseTurn + ChessClock +
      +
      +
      Searching...
      +
      No Matches
      + +
      + + diff --git a/www/html/search/functions_72.html b/www/html/search/functions_72.html new file mode 100644 index 0000000..6879544 --- /dev/null +++ b/www/html/search/functions_72.html @@ -0,0 +1,29 @@ + + + + + + + +
      +
      Loading...
      + +
      Searching...
      +
      No Matches
      + +
      + + diff --git a/www/html/search/functions_73.html b/www/html/search/functions_73.html new file mode 100644 index 0000000..d3424ce --- /dev/null +++ b/www/html/search/functions_73.html @@ -0,0 +1,32 @@ + + + + + + + +
      +
      Loading...
      +
      +
      + setAnother + ChessClock +
      +
      +
      +
      + startTurn + ChessClock +
      +
      +
      Searching...
      +
      No Matches
      + +
      + + diff --git a/www/html/search/functions_74.html b/www/html/search/functions_74.html index bee0255..62d24e9 100644 --- a/www/html/search/functions_74.html +++ b/www/html/search/functions_74.html @@ -7,15 +7,27 @@
      Loading...
      +
      +
      + timeOutLoser + ChessClock +
      +
      +
      +
      + timeString + ChessClockWidget +
      +
      - TurnInformation + TurnInformation TurnInformation
      - turnReady + turnReady TurnInformation
      diff --git a/www/html/search/functions_75.html b/www/html/search/functions_75.html new file mode 100644 index 0000000..60ba44b --- /dev/null +++ b/www/html/search/functions_75.html @@ -0,0 +1,26 @@ + + + + + + + +
      +
      Loading...
      +
      +
      + updateClock + ChessClock +
      +
      +
      Searching...
      +
      No Matches
      + +
      + + diff --git a/www/html/search/search.js b/www/html/search/search.js index d0e3b87..abd99f2 100644 --- a/www/html/search/search.js +++ b/www/html/search/search.js @@ -7,11 +7,13 @@ var indexSectionsWithContent = { - 0: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000101100101000100100010010000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + 0: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000101110101001110101111010000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", 1: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", 2: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000100000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", - 3: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000101000101000100000010000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", - 4: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000100010010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" + 3: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000101010101000100101111000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + 4: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000001100100010010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + 5: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + 6: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010101000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" }; var indexSectionNames = @@ -20,7 +22,9 @@ var indexSectionNames = 1: "classes", 2: "files", 3: "functions", - 4: "variables" + 4: "variables", + 5: "enums", + 6: "enumvalues" }; function convertToId(search) diff --git a/www/html/search/variables_6c.html b/www/html/search/variables_6c.html new file mode 100644 index 0000000..42e350a --- /dev/null +++ b/www/html/search/variables_6c.html @@ -0,0 +1,32 @@ + + + + + + + +
      +
      Loading...
      +
      +
      + leftLabel_ + ChessClockWidget +
      +
      +
      +
      + loserLabel_ + ChessClockWidget +
      +
      +
      Searching...
      +
      No Matches
      + +
      + + diff --git a/www/html/search/variables_6d.html b/www/html/search/variables_6d.html new file mode 100644 index 0000000..30cf277 --- /dev/null +++ b/www/html/search/variables_6d.html @@ -0,0 +1,26 @@ + + + + + + + +
      +
      Loading...
      +
      +
      + mainLayout + ChessClockWidget +
      +
      +
      Searching...
      +
      No Matches
      + +
      + + diff --git a/www/html/search/variables_70.html b/www/html/search/variables_70.html index cd68e89..01d9634 100644 --- a/www/html/search/variables_70.html +++ b/www/html/search/variables_70.html @@ -13,6 +13,30 @@ TurnInformation
      +
      +
      + picActive_ + ChessClockWidget +
      +
      +
      +
      + picLoser_ + ChessClockWidget +
      +
      +
      +
      + picPassive_ + ChessClockWidget +
      +
      +
      +
      + pictureLabel_ + ChessClockWidget +
      +
      Searching...
      No Matches