From 152fa893f072373a21c125340ce9072a73503a54 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Arto=20Hyv=C3=A4ttinen?= Date: Mon, 27 Sep 2010 18:31:41 +0300 Subject: [PATCH] API documentation updated --- www/html/annotated.html | 3 +- www/html/basicdialog_8cpp.html | 2 +- www/html/basicdialog_8cpp_source.html | 4 +- www/html/basicdialog_8h.html | 2 +- www/html/basicdialog_8h_source.html | 2 +- www/html/chessclock_8cpp.html | 2 +- www/html/chessclock_8cpp_source.html | 2 +- www/html/chessclock_8h.html | 2 +- www/html/chessclock_8h_source.html | 2 +- www/html/chessclockwidget_8cpp.html | 2 +- www/html/chessclockwidget_8cpp_source.html | 2 +- www/html/chessclockwidget_8h.html | 2 +- www/html/chessclockwidget_8h_source.html | 2 +- www/html/chessclockwindow_8cpp.html | 3 +- www/html/chessclockwindow_8cpp_source.html | 186 +++++++----- www/html/chessclockwindow_8h.html | 2 +- www/html/chessclockwindow_8h_source.html | 27 +- www/html/class_basic_dialog-members.html | 2 +- www/html/class_basic_dialog.html | 2 +- www/html/class_chess_clock-members.html | 2 +- www/html/class_chess_clock.html | 2 +- www/html/class_chess_clock_widget-members.html | 2 +- www/html/class_chess_clock_widget.html | 2 +- www/html/class_chess_clock_window-members.html | 5 +- www/html/class_chess_clock_window.html | 83 ++++- www/html/class_clocks_widget-members.html | 7 +- www/html/class_clocks_widget.html | 136 +++++++-- www/html/class_delay_after_clock-members.html | 2 +- www/html/class_delay_after_clock.html | 2 +- .../class_delay_after_time_control-members.html | 4 +- www/html/class_delay_after_time_control.html | 29 +- www/html/class_delay_clock-members.html | 2 +- www/html/class_delay_clock.html | 2 +- www/html/class_delay_time_control-members.html | 4 +- www/html/class_delay_time_control.html | 35 ++- www/html/class_fischer_after_clock-members.html | 2 +- www/html/class_fischer_after_clock.html | 2 +- .../class_fischer_after_time_control-members.html | 4 +- www/html/class_fischer_after_time_control.html | 29 +- www/html/class_fischer_clock-members.html | 2 +- www/html/class_fischer_clock.html | 2 +- www/html/class_fischer_time_control-members.html | 4 +- www/html/class_fischer_time_control.html | 29 +- www/html/class_hour_glass_clock-members.html | 2 +- www/html/class_hour_glass_clock.html | 2 +- .../class_hour_glass_time_control-members.html | 2 +- www/html/class_hour_glass_time_control.html | 2 +- www/html/class_no_time_control-members.html | 2 +- www/html/class_no_time_control.html | 2 +- www/html/class_screen_lit_keeper-members.html | 70 +++++ www/html/class_screen_lit_keeper.html | 143 +++++++++ www/html/class_start_widget-members.html | 2 +- www/html/class_start_widget.html | 6 +- www/html/class_time_control-members.html | 2 +- www/html/class_time_control.html | 4 +- www/html/class_turn_information-members.html | 2 +- www/html/class_turn_information.html | 2 +- www/html/class_welcome_screen_widget-members.html | 2 +- www/html/class_welcome_screen_widget.html | 2 +- www/html/classes.html | 16 +- www/html/clockswidget_8cpp.html | 10 +- www/html/clockswidget_8cpp_source.html | 318 ++++++++++++-------- www/html/clockswidget_8h.html | 2 +- www/html/clockswidget_8h_source.html | 96 +++--- www/html/delayafterclock_8cpp.html | 2 +- www/html/delayafterclock_8cpp_source.html | 2 +- www/html/delayafterclock_8h.html | 2 +- www/html/delayafterclock_8h_source.html | 2 +- www/html/delayaftertimecontrol_8cpp.html | 2 +- www/html/delayaftertimecontrol_8cpp_source.html | 45 +-- www/html/delayaftertimecontrol_8h.html | 2 +- www/html/delayaftertimecontrol_8h_source.html | 13 +- www/html/delayclock_8cpp.html | 2 +- www/html/delayclock_8cpp_source.html | 2 +- www/html/delayclock_8h.html | 2 +- www/html/delayclock_8h_source.html | 2 +- www/html/delaytimecontrol_8cpp.html | 3 +- www/html/delaytimecontrol_8cpp_source.html | 79 ++--- www/html/delaytimecontrol_8h.html | 2 +- www/html/delaytimecontrol_8h_source.html | 13 +- www/html/files.html | 4 +- www/html/fischerafterclock_8cpp.html | 2 +- www/html/fischerafterclock_8cpp_source.html | 2 +- www/html/fischerafterclock_8h.html | 2 +- www/html/fischerafterclock_8h_source.html | 2 +- www/html/fischeraftertimecontrol_8cpp.html | 2 +- www/html/fischeraftertimecontrol_8cpp_source.html | 41 +-- www/html/fischeraftertimecontrol_8h.html | 2 +- www/html/fischeraftertimecontrol_8h_source.html | 13 +- www/html/fischerclock_8cpp.html | 2 +- www/html/fischerclock_8cpp_source.html | 2 +- www/html/fischerclock_8h.html | 2 +- www/html/fischerclock_8h_source.html | 2 +- www/html/fischertimecontrol_8cpp.html | 2 +- www/html/fischertimecontrol_8cpp_source.html | 41 +-- www/html/fischertimecontrol_8h.html | 2 +- www/html/fischertimecontrol_8h_source.html | 11 +- www/html/functions.html | 66 +++- www/html/functions_enum.html | 2 +- www/html/functions_eval.html | 2 +- www/html/functions_func.html | 52 +++- www/html/functions_vars.html | 24 +- www/html/globals.html | 2 +- www/html/globals_func.html | 2 +- www/html/hierarchy.html | 3 +- www/html/hourglassclock_8cpp.html | 2 +- www/html/hourglassclock_8cpp_source.html | 2 +- www/html/hourglassclock_8h.html | 2 +- www/html/hourglassclock_8h_source.html | 2 +- www/html/hourglasstimecontrol_8cpp.html | 2 +- www/html/hourglasstimecontrol_8cpp_source.html | 2 +- www/html/hourglasstimecontrol_8h.html | 2 +- www/html/hourglasstimecontrol_8h_source.html | 2 +- www/html/index.html | 5 +- www/html/main_8cpp.html | 4 +- www/html/main_8cpp_source.html | 44 +-- www/html/notimecontrol_8cpp.html | 2 +- www/html/notimecontrol_8cpp_source.html | 2 +- www/html/notimecontrol_8h.html | 2 +- www/html/notimecontrol_8h_source.html | 2 +- www/html/pages.html | 2 +- www/html/screenlitkeeper_8cpp.html | 71 +++++ www/html/screenlitkeeper_8cpp_source.html | 127 ++++++++ www/html/screenlitkeeper_8h.html | 75 +++++ www/html/screenlitkeeper_8h_source.html | 114 +++++++ www/html/search/all_61.html | 32 +- www/html/search/all_65.html | 6 + www/html/search/all_67.html | 10 +- www/html/search/all_6b.html | 32 ++ www/html/search/all_70.html | 30 +- www/html/search/all_72.html | 22 +- www/html/search/all_73.html | 65 ++-- www/html/search/all_76.html | 26 ++ www/html/search/classes_73.html | 7 +- www/html/search/files_73.html | 14 +- www/html/search/functions_61.html | 22 +- www/html/search/functions_65.html | 6 + www/html/search/functions_67.html | 10 +- www/html/search/functions_6b.html | 26 ++ www/html/search/functions_73.html | 32 +- www/html/search/functions_76.html | 26 ++ www/html/search/search.js | 6 +- www/html/search/variables_6b.html | 26 ++ www/html/search/variables_70.html | 26 +- www/html/search/variables_72.html | 32 ++ www/html/startwidget_8cpp.html | 2 +- www/html/startwidget_8cpp_source.html | 87 +++--- www/html/startwidget_8h.html | 2 +- www/html/startwidget_8h_source.html | 2 +- www/html/timecontrol_8h.html | 2 +- www/html/timecontrol_8h_source.html | 2 +- www/html/todo.html | 2 +- www/html/turninformation_8cpp.html | 2 +- www/html/turninformation_8cpp_source.html | 2 +- www/html/turninformation_8h.html | 2 +- www/html/turninformation_8h_source.html | 2 +- www/html/welcomescreenwidget_8cpp.html | 2 +- www/html/welcomescreenwidget_8cpp_source.html | 2 +- www/html/welcomescreenwidget_8h.html | 2 +- www/html/welcomescreenwidget_8h_source.html | 2 +- 160 files changed, 2111 insertions(+), 721 deletions(-) create mode 100644 www/html/class_screen_lit_keeper-members.html create mode 100644 www/html/class_screen_lit_keeper.html create mode 100644 www/html/screenlitkeeper_8cpp.html create mode 100644 www/html/screenlitkeeper_8cpp_source.html create mode 100644 www/html/screenlitkeeper_8h.html create mode 100644 www/html/screenlitkeeper_8h_source.html create mode 100644 www/html/search/all_6b.html create mode 100644 www/html/search/all_76.html create mode 100644 www/html/search/functions_6b.html create mode 100644 www/html/search/functions_76.html create mode 100644 www/html/search/variables_6b.html create mode 100644 www/html/search/variables_72.html diff --git a/www/html/annotated.html b/www/html/annotated.html index 1a41dc9..38edb73 100644 --- a/www/html/annotated.html +++ b/www/html/annotated.html @@ -62,6 +62,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); HourGlassClock HourGlassTimeControl NoTimeControl + ScreenLitKeeperAllows keeping the sreen lit by disabling the screensaver StartWidgetStart widget to ask for Time control TimeControlBase class of virtual controls TurnInformationTurn information class @@ -82,7 +83,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/basicdialog_8cpp.html b/www/html/basicdialog_8cpp.html index fea6020..7c9a4af 100644 --- a/www/html/basicdialog_8cpp.html +++ b/www/html/basicdialog_8cpp.html @@ -75,7 +75,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/basicdialog_8cpp_source.html b/www/html/basicdialog_8cpp_source.html index e775e6a..fa1fba0 100644 --- a/www/html/basicdialog_8cpp_source.html +++ b/www/html/basicdialog_8cpp_source.html @@ -89,7 +89,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); 00045 whiteAddition_ = initTimeEdit(); 00046 blackAddition_ = initTimeEdit(); 00047 // Turns per addition -00048 perTurnLabel_ = new QLabel( tr("Addition per turn")); +00048 perTurnLabel_ = new QLabel( tr("Turns per addition")); 00049 whiteTurns_=new QSpinBox; 00050 whiteTurns_->setRange(1,99); 00051 @@ -279,7 +279,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/basicdialog_8h.html b/www/html/basicdialog_8h.html index 6cd9143..dae6b76 100644 --- a/www/html/basicdialog_8h.html +++ b/www/html/basicdialog_8h.html @@ -69,7 +69,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/basicdialog_8h_source.html b/www/html/basicdialog_8h_source.html index d36bd5e..9888a02 100644 --- a/www/html/basicdialog_8h_source.html +++ b/www/html/basicdialog_8h_source.html @@ -138,7 +138,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/chessclock_8cpp.html b/www/html/chessclock_8cpp.html index 2149962..68690bd 100644 --- a/www/html/chessclock_8cpp.html +++ b/www/html/chessclock_8cpp.html @@ -67,7 +67,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:33 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 index c45dc4e..faf52c1 100644 --- a/www/html/chessclock_8cpp_source.html +++ b/www/html/chessclock_8cpp_source.html @@ -228,7 +228,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/chessclock_8h.html b/www/html/chessclock_8h.html index 0405861..0ed895b 100644 --- a/www/html/chessclock_8h.html +++ b/www/html/chessclock_8h.html @@ -69,7 +69,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:33 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 index 6aeec8f..9ab4941 100644 --- a/www/html/chessclock_8h_source.html +++ b/www/html/chessclock_8h_source.html @@ -155,7 +155,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/chessclockwidget_8cpp.html b/www/html/chessclockwidget_8cpp.html index 56f1bcf..4f9c303 100644 --- a/www/html/chessclockwidget_8cpp.html +++ b/www/html/chessclockwidget_8cpp.html @@ -68,7 +68,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:33 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 index d37db95..eb93f97 100644 --- a/www/html/chessclockwidget_8cpp_source.html +++ b/www/html/chessclockwidget_8cpp_source.html @@ -234,7 +234,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/chessclockwidget_8h.html b/www/html/chessclockwidget_8h.html index c6aa6f9..951ead3 100644 --- a/www/html/chessclockwidget_8h.html +++ b/www/html/chessclockwidget_8h.html @@ -69,7 +69,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:33 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 index 11430ad..6f45162 100644 --- a/www/html/chessclockwidget_8h_source.html +++ b/www/html/chessclockwidget_8h_source.html @@ -128,7 +128,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/chessclockwindow_8cpp.html b/www/html/chessclockwindow_8cpp.html index 1b3cef2..21d0f23 100644 --- a/www/html/chessclockwindow_8cpp.html +++ b/www/html/chessclockwindow_8cpp.html @@ -58,6 +58,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); #include <QMenuBar>
#include <QMessageBox>
#include <QStackedWidget>
+#include <QProcess>

Go to the source code of this file.

@@ -77,7 +78,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:33 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 6f5344e..e47d27d 100644 --- a/www/html/chessclockwindow_8cpp_source.html +++ b/www/html/chessclockwindow_8cpp_source.html @@ -83,87 +83,115 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); 00039 #include <QMenuBar> 00040 #include <QMessageBox> 00041 #include <QStackedWidget> -00042 -00043 ChessClockWindow::ChessClockWindow(QWidget *parent) -00044 : QMainWindow(parent) -00045 { -00046 -00047 setWindowIcon( QIcon(":/rc/pic/chessclock.png")); -00048 setWindowTitle( QString("%1 %2").arg(qApp->applicationName()).arg(qApp->applicationVersion()) ); -00049 -00050 // Start widget to select time control -00051 start_ = new StartWidget; -00052 clocks_ = 0; -00053 -00054 initTimeControls(); +00042 #include <QProcess> +00043 +00044 +00045 ChessClockWindow::ChessClockWindow(QWidget *parent) +00046 : QMainWindow(parent) +00047 { +00048 +00049 setWindowIcon( QIcon(":/rc/pic/chessclock.png")); +00050 setWindowTitle( QString("%1 %2").arg(qApp->applicationName()).arg(qApp->applicationVersion()) ); +00051 +00052 // Start widget to select time control +00053 start_ = new StartWidget; +00054 clocks_ = 0; 00055 -00056 stack_ = new QStackedWidget; -00057 stack_->addWidget(start_); -00058 -00059 setCentralWidget( stack_ ); +00056 initTimeControls(); +00057 +00058 stack_ = new QStackedWidget; +00059 stack_->addWidget(start_); 00060 -00061 connect( start_, SIGNAL(selected(TimeControl*)), this, SLOT(startGame(TimeControl*))); +00061 setCentralWidget( stack_ ); 00062 -00063 // Set up menu -00064 menuBar()->addAction( tr("Pause"), this, SLOT(pause())); -00065 menuBar()->addAction( tr("New game"), this, SLOT(newGame())); -00066 -00067 } -00068 -00069 void ChessClockWindow::pause() -00070 { -00071 if( clocks_ ) -00072 clocks_->pause(); -00073 } -00074 -00075 void ChessClockWindow::newGame() -00076 { -00077 pause(); -00078 if( clocks_ == 0 || !clocks_->isPlayStarted() || QMessageBox::question(this, tr("Start new game"), -00079 tr("Really quit current game and start new one with current settings?"), -00080 QMessageBox::Yes, QMessageBox::No) == QMessageBox::Yes) -00081 { -00082 stack_->setCurrentWidget(start_); -00083 -00084 if( clocks_ ) -00085 { stack_->removeWidget(clocks_); -00086 delete clocks_; -00087 } -00088 clocks_=0; -00089 } -00090 } -00091 -00092 void ChessClockWindow::initTimeControls() -00093 { -00094 start_->addTimeControl( new NoTimeControl ); -00095 start_->addTimeControl( new FischerTimeControl); -00096 start_->addTimeControl( new FischerAfterTimeControl); -00097 start_->addTimeControl( new DelayTimeControl ); -00098 start_->addTimeControl( new DelayAfterTimeControl); -00099 start_->addTimeControl( new HourGlassTimeControl); -00100 } -00101 -00102 void ChessClockWindow::startGame(TimeControl *timecontrol) -00103 { -00104 ClocksWidget* newWidget = timecontrol->initGame(false); -00105 if( newWidget ) -00106 { -00107 if( clocks_ ) -00108 { -00109 stack_->removeWidget(clocks_); -00110 delete clocks_; -00111 } -00112 clocks_ = newWidget; -00113 stack_->addWidget(clocks_); -00114 stack_->setCurrentWidget(clocks_); -00115 } -00116 } -00117 -00118 -00119 ChessClockWindow::~ChessClockWindow() -00120 { -00121 -00122 } +00063 connect( start_, SIGNAL(selected(TimeControl*)), this, SLOT(startGame(TimeControl*))); +00064 +00065 +00066 // Set up menu +00067 // menuBar()->addAction( tr("Pause"), this, SLOT(pause())); // UNUSED - Pause button +00068 menuBar()->addAction( tr("New game"), this, SLOT(newGame())); +00069 +00070 menuBar()->addAction( tr("Visit web page"), this, SLOT(visitWeb())); +00071 menuBar()->addAction( tr("About"),this, SLOT(about())); +00072 menuBar()->addAction(tr("About Qt"), this, SLOT(aboutQt())); +00073 +00074 } +00075 +00076 void ChessClockWindow::pause() +00077 { +00078 if( clocks_ ) +00079 clocks_->pause(); +00080 } +00081 +00082 void ChessClockWindow::newGame() +00083 { +00084 pause(); +00085 if( clocks_ == 0 || !clocks_->isPlayStarted() || QMessageBox::question(this, tr("Start new game"), +00086 tr("Really quit the current game and start a new one?"), +00087 QMessageBox::Yes, QMessageBox::No) == QMessageBox::Yes) +00088 { +00089 stack_->setCurrentWidget(start_); +00090 +00091 if( clocks_ ) +00092 { stack_->removeWidget(clocks_); +00093 delete clocks_; +00094 } +00095 clocks_=0; +00096 } +00097 } +00098 +00099 void ChessClockWindow::visitWeb() +00100 { +00101 pause(); +00102 QProcess* process = new QProcess(this); +00103 process->start(QString("browser --url=chessclock.garage.maemo.org")); +00104 } +00105 +00106 void ChessClockWindow::about() +00107 { +00108 pause(); +00109 QMessageBox::about(this, tr("About ChessClock"), +00110 tr("<h1>Chess Clock %1</h1>" +00111 "&copy;Arto Hyv&auml;ttinen 2010" +00112 "<p>Chess Clock is free software under the terms of GNU General Public License 3" +00113 "<p>Bugtracker and instructions at <a>http://chessclock.garage.maemo.org</a>" +00114 ).arg(qApp->applicationVersion())) ; +00115 } +00116 +00117 void ChessClockWindow::aboutQt() +00118 { +00119 pause(); +00120 qApp->aboutQt(); +00121 } +00122 +00123 +00124 void ChessClockWindow::initTimeControls() +00125 { +00126 start_->addTimeControl( new NoTimeControl ); +00127 start_->addTimeControl( new FischerTimeControl); +00128 start_->addTimeControl( new FischerAfterTimeControl); +00129 start_->addTimeControl( new DelayTimeControl ); +00130 start_->addTimeControl( new DelayAfterTimeControl); +00131 start_->addTimeControl( new HourGlassTimeControl); +00132 } +00133 +00134 void ChessClockWindow::startGame(TimeControl *timecontrol) +00135 { +00136 ClocksWidget* newWidget = timecontrol->initGame(false); +00137 if( newWidget ) +00138 { +00139 +00140 clocks_ = newWidget; +00141 stack_->addWidget(clocks_); +00142 stack_->setCurrentWidget(clocks_); +00143 } +00144 } +00145 +00146 +00147 ChessClockWindow::~ChessClockWindow() +00148 { +00149 +00150 }
-
Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/chessclockwindow_8h.html b/www/html/chessclockwindow_8h.html index 5cac7f0..a0a2ea1 100644 --- a/www/html/chessclockwindow_8h.html +++ b/www/html/chessclockwindow_8h.html @@ -66,7 +66,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:33 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 472f88b..6680395 100644 --- a/www/html/chessclockwindow_8h_source.html +++ b/www/html/chessclockwindow_8h_source.html @@ -85,18 +85,21 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); 00041 void startGame( TimeControl* timecontrol); 00042 void pause(); 00043 void newGame(); -00044 -00045 -00046 protected: -00047 void initTimeControls(); +00045 void visitWeb(); +00046 void about(); +00047 void aboutQt(); 00048 -00049 protected: -00050 ClocksWidget* clocks_; -00051 StartWidget* start_; -00052 QStackedWidget* stack_; -00053 }; -00054 -00055 #endif // CHESSCLOCKWINDOW_H +00049 +00050 protected: +00051 void initTimeControls(); +00052 +00053 protected: +00054 ClocksWidget* clocks_; +00055 StartWidget* start_; +00056 QStackedWidget* stack_; +00057 }; +00058 +00059 #endif // CHESSCLOCKWINDOW_H
-
Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/class_basic_dialog-members.html b/www/html/class_basic_dialog-members.html index 4f650ec..21c598c 100644 --- a/www/html/class_basic_dialog-members.html +++ b/www/html/class_basic_dialog-members.html @@ -90,7 +90,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/class_basic_dialog.html b/www/html/class_basic_dialog.html index 7527a39..eb2fa64 100644 --- a/www/html/class_basic_dialog.html +++ b/www/html/class_basic_dialog.html @@ -673,7 +673,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:33 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 index 534894d..f0b8fd1 100644 --- a/www/html/class_chess_clock-members.html +++ b/www/html/class_chess_clock-members.html @@ -95,7 +95,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:34 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 index 6f49c3d..e81ff17 100644 --- a/www/html/class_chess_clock.html +++ b/www/html/class_chess_clock.html @@ -790,7 +790,7 @@ Inheritance diagram for ChessClock: -
Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:34 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/class_chess_clock_widget-members.html b/www/html/class_chess_clock_widget-members.html index aa26189..136a977 100644 --- a/www/html/class_chess_clock_widget-members.html +++ b/www/html/class_chess_clock_widget-members.html @@ -114,7 +114,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:34 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 index b6941d6..0354545 100644 --- a/www/html/class_chess_clock_widget.html +++ b/www/html/class_chess_clock_widget.html @@ -497,7 +497,7 @@ Inheritance diagram for ChessClockWidget: -
Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:34 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/class_chess_clock_window-members.html b/www/html/class_chess_clock_window-members.html index 2415d2c..3ae4b80 100644 --- a/www/html/class_chess_clock_window-members.html +++ b/www/html/class_chess_clock_window-members.html @@ -46,6 +46,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');

ChessClockWindow Member List

This is the complete list of members for ChessClockWindow, including all inherited members.
+ + @@ -54,6 +56,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); +
about()ChessClockWindow [slot]
aboutQt()ChessClockWindow [slot]
ChessClockWindow(QWidget *parent=0)ChessClockWindow
clocks_ChessClockWindow [protected]
initTimeControls()ChessClockWindow [protected]
stack_ChessClockWindow [protected]
start_ChessClockWindow [protected]
startGame(TimeControl *timecontrol)ChessClockWindow [slot]
visitWeb()ChessClockWindow [slot]
~ChessClockWindow()ChessClockWindow
@@ -70,7 +73,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:34 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 29b2b21..12ce2df 100644 --- a/www/html/class_chess_clock_window.html +++ b/www/html/class_chess_clock_window.html @@ -54,6 +54,10 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); void startGame (TimeControl *timecontrol) void pause () void newGame () +void visitWeb () + Visit ChessClock web page.
+void about () +void aboutQt ()

Public Member Functions

 ChessClockWindow (QWidget *parent=0)  ~ChessClockWindow () @@ -84,7 +88,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

Definition at line 43 of file chessclockwindow.cpp.

+

Definition at line 45 of file chessclockwindow.cpp.

@@ -103,11 +107,49 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

Definition at line 119 of file chessclockwindow.cpp.

+

Definition at line 147 of file chessclockwindow.cpp.


Member Function Documentation

+ +
+
+ + + + + + + + +
void ChessClockWindow::about ( )  [slot]
+
+
+ +

Definition at line 106 of file chessclockwindow.cpp.

+ +
+
+ +
+
+ + + + + + + + +
void ChessClockWindow::aboutQt ( )  [slot]
+
+
+ +

Definition at line 117 of file chessclockwindow.cpp.

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

Definition at line 92 of file chessclockwindow.cpp.

+

Definition at line 124 of file chessclockwindow.cpp.

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

Definition at line 75 of file chessclockwindow.cpp.

+

Definition at line 82 of file chessclockwindow.cpp.

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

Definition at line 69 of file chessclockwindow.cpp.

+

Definition at line 76 of file chessclockwindow.cpp.

@@ -181,7 +223,28 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

Definition at line 102 of file chessclockwindow.cpp.

+

Definition at line 134 of file chessclockwindow.cpp.

+ +
+ + +
+
+ + + + + + + + +
void ChessClockWindow::visitWeb ( )  [slot]
+
+
+ +

Visit ChessClock web page.

+ +

Definition at line 99 of file chessclockwindow.cpp.

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

Definition at line 50 of file chessclockwindow.h.

+

Definition at line 54 of file chessclockwindow.h.

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

Definition at line 52 of file chessclockwindow.h.

+

Definition at line 56 of file chessclockwindow.h.

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

Definition at line 51 of file chessclockwindow.h.

+

Definition at line 55 of file chessclockwindow.h.

@@ -250,7 +313,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:34 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/class_clocks_widget-members.html b/www/html/class_clocks_widget-members.html index 9b27ca9..7483147 100644 --- a/www/html/class_clocks_widget-members.html +++ b/www/html/class_clocks_widget-members.html @@ -53,11 +53,16 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); ClickedWhenStopped()ClocksWidget [signal] ClocksWidget(ChessClock *white, ChessClock *black, QWidget *parent=0)ClocksWidget delayTimer_ClocksWidget [protected] + eventFilter(QObject *obj, QEvent *event)ClocksWidget [protected] GameStatus enum nameClocksWidget [protected] isPlayStarted()ClocksWidget [inline] + keeper_ClocksWidget [protected] mouseReleaseEvent(QMouseEvent *event)ClocksWidget [protected] pause()ClocksWidget [slot] + pauseButton_ClocksWidget [protected] pauseLabel_ClocksWidget [protected] + recentXClocksWidget [protected] + recentYClocksWidget [protected] status_ClocksWidget [protected] Stopped enum valueClocksWidget [protected] stopPlay()ClocksWidget [slot] @@ -83,7 +88,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:34 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/class_clocks_widget.html b/www/html/class_clocks_widget.html index f83fd31..fb4286f 100644 --- a/www/html/class_clocks_widget.html +++ b/www/html/class_clocks_widget.html @@ -78,16 +78,21 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); }

Protected Member Functions

void mouseReleaseEvent (QMouseEvent *event) +bool eventFilter (QObject *obj, QEvent *event)

Protected Attributes

ChessClockwhite_ ChessClockblack_ QLabel * pauseLabel_ QLabel * welcomeLabel_ +QToolButton * pauseButton_ +ScreenLitKeeperkeeper_ GameStatus status_ QTime delayTimer_ +int recentX + To avoid double clicks.
+int recentY

Static Protected Attributes

-static int const CLICKDELAY = 500 - To avoid double clicks.
+static int const CLICKDELAY = 1500

Detailed Description

Widget with two clocks.

@@ -95,7 +100,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
Date:
2010-08-14

Central widget of Chess Clock. Needed to create new ClocksWidget to every new game.

-

Definition at line 45 of file clockswidget.h.

+

Definition at line 47 of file clockswidget.h.


Member Enumeration Documentation

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

Definition at line 74 of file clockswidget.h.

+

Definition at line 79 of file clockswidget.h.

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

Definition at line 33 of file clockswidget.cpp.

+

Definition at line 39 of file clockswidget.cpp.

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

Definition at line 79 of file clockswidget.cpp.

+

Definition at line 114 of file clockswidget.cpp.

@@ -202,6 +207,35 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); + +
+
+ + + + + + + + + + + + + + + + + + +
bool ClocksWidget::eventFilter (QObject *  obj,
QEvent *  event 
) [protected]
+
+
+ +

Definition at line 212 of file clockswidget.cpp.

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

Definition at line 51 of file clockswidget.h.

+

Definition at line 53 of file clockswidget.h.

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

Definition at line 111 of file clockswidget.cpp.

+

Definition at line 151 of file clockswidget.cpp.

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

Pause game.

-

Definition at line 85 of file clockswidget.cpp.

+

Definition at line 120 of file clockswidget.cpp.

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

End the game.

-

Definition at line 101 of file clockswidget.cpp.

+

Definition at line 141 of file clockswidget.cpp.

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

Definition at line 69 of file clockswidget.h.

+

Definition at line 72 of file clockswidget.h.

@@ -322,15 +356,13 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
- +
int const ClocksWidget::CLICKDELAY = 500 [static, protected]int const ClocksWidget::CLICKDELAY = 1500 [static, protected]
-

To avoid double clicks.

- -

Definition at line 86 of file clockswidget.h.

+

Definition at line 94 of file clockswidget.h.

@@ -345,7 +377,37 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

Definition at line 84 of file clockswidget.h.

+

Definition at line 89 of file clockswidget.h.

+ +
+ + +
+
+ + + + +
ScreenLitKeeper* ClocksWidget::keeper_ [protected]
+
+
+ +

Definition at line 77 of file clockswidget.h.

+ +
+
+ +
+
+ + + + +
QToolButton* ClocksWidget::pauseButton_ [protected]
+
+
+ +

Definition at line 76 of file clockswidget.h.

@@ -360,7 +422,39 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

Definition at line 71 of file clockswidget.h.

+

Definition at line 74 of file clockswidget.h.

+ +
+ + +
+
+ + + + +
int ClocksWidget::recentX [protected]
+
+
+ +

To avoid double clicks.

+ +

Definition at line 91 of file clockswidget.h.

+ +
+
+ +
+
+ + + + +
int ClocksWidget::recentY [protected]
+
+
+ +

Definition at line 92 of file clockswidget.h.

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

Definition at line 83 of file clockswidget.h.

+

Definition at line 88 of file clockswidget.h.

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

Definition at line 72 of file clockswidget.h.

+

Definition at line 75 of file clockswidget.h.

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

Definition at line 68 of file clockswidget.h.

+

Definition at line 71 of file clockswidget.h.

@@ -428,7 +522,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:34 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/class_delay_after_clock-members.html b/www/html/class_delay_after_clock-members.html index d1ee8f5..6c71da3 100644 --- a/www/html/class_delay_after_clock-members.html +++ b/www/html/class_delay_after_clock-members.html @@ -116,7 +116,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:34 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/class_delay_after_clock.html b/www/html/class_delay_after_clock.html index b9ad637..cbea20d 100644 --- a/www/html/class_delay_after_clock.html +++ b/www/html/class_delay_after_clock.html @@ -174,7 +174,7 @@ Inheritance diagram for DelayAfterClock: -
Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:34 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/class_delay_after_time_control-members.html b/www/html/class_delay_after_time_control-members.html index 32c2e32..12a9bee 100644 --- a/www/html/class_delay_after_time_control-members.html +++ b/www/html/class_delay_after_time_control-members.html @@ -48,7 +48,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');

DelayAfterTimeControl Member List

This is the complete list of members for DelayAfterTimeControl, including all inherited members. - +
DelayAfterTimeControl()DelayAfterTimeControl
getDescription()DelayAfterTimeControl [virtual]
getIcon()TimeControl [inline, virtual]
getIcon()DelayAfterTimeControl [virtual]
getName()DelayAfterTimeControl [virtual]
initGame(bool useLastSettings)DelayAfterTimeControl [virtual]
@@ -66,7 +66,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:34 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/class_delay_after_time_control.html b/www/html/class_delay_after_time_control.html index 3de64b0..f7fced2 100644 --- a/www/html/class_delay_after_time_control.html +++ b/www/html/class_delay_after_time_control.html @@ -64,6 +64,8 @@ Inheritance diagram for DelayAfterTimeControl:  DelayAfterTimeControl () QString getName ()  Name of the time control.
+QIcon getIcon () + Icon of the time control.
QString getDescription ()  Description of the time control.
ClocksWidgetinitGame (bool useLastSettings) @@ -116,6 +118,29 @@ Inheritance diagram for DelayAfterTimeControl: + +
+
+ + + + + + + + +
QIcon DelayAfterTimeControl::getIcon ( )  [virtual]
+
+
+ +

Icon of the time control.

+ +

Reimplemented from TimeControl.

+ +

Definition at line 43 of file delayaftertimecontrol.cpp.

+ +
+
@@ -167,7 +192,7 @@ Inheritance diagram for DelayAfterTimeControl:

Implements TimeControl.

-

Definition at line 43 of file delayaftertimecontrol.cpp.

+

Definition at line 48 of file delayaftertimecontrol.cpp.

@@ -190,7 +215,7 @@ Inheritance diagram for DelayAfterTimeControl: -
Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:34 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/class_delay_clock-members.html b/www/html/class_delay_clock-members.html index 0a3db22..0742faa 100644 --- a/www/html/class_delay_clock-members.html +++ b/www/html/class_delay_clock-members.html @@ -116,7 +116,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:34 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/class_delay_clock.html b/www/html/class_delay_clock.html index 8fd5589..b780750 100644 --- a/www/html/class_delay_clock.html +++ b/www/html/class_delay_clock.html @@ -174,7 +174,7 @@ Inheritance diagram for DelayClock: -
Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:34 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/class_delay_time_control-members.html b/www/html/class_delay_time_control-members.html index e716646..9fc74a7 100644 --- a/www/html/class_delay_time_control-members.html +++ b/www/html/class_delay_time_control-members.html @@ -48,7 +48,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');

DelayTimeControl Member List

This is the complete list of members for DelayTimeControl, including all inherited members. - +
DelayTimeControl()DelayTimeControl
getDescription()DelayTimeControl [virtual]
getIcon()TimeControl [inline, virtual]
getIcon()DelayTimeControl [virtual]
getName()DelayTimeControl [virtual]
initGame(bool useLastSettings)DelayTimeControl [virtual]
@@ -66,7 +66,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:34 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/class_delay_time_control.html b/www/html/class_delay_time_control.html index 646f1ad..3b240da 100644 --- a/www/html/class_delay_time_control.html +++ b/www/html/class_delay_time_control.html @@ -64,6 +64,8 @@ Inheritance diagram for DelayTimeControl:  DelayTimeControl () QString getName ()  Name of the time control.
+QIcon getIcon () + Icon of the time control.
QString getDescription ()  Description of the time control.
ClocksWidgetinitGame (bool useLastSettings) @@ -88,7 +90,7 @@ Inheritance diagram for DelayTimeControl:
-

Definition at line 29 of file delaytimecontrol.cpp.

+

Definition at line 30 of file delaytimecontrol.cpp.

@@ -112,7 +114,30 @@ Inheritance diagram for DelayTimeControl:

Implements TimeControl.

-

Definition at line 38 of file delaytimecontrol.cpp.

+

Definition at line 44 of file delaytimecontrol.cpp.

+ + + + +
+
+ + + + + + + + +
QIcon DelayTimeControl::getIcon ( )  [virtual]
+
+
+ +

Icon of the time control.

+ +

Reimplemented from TimeControl.

+ +

Definition at line 39 of file delaytimecontrol.cpp.

@@ -135,7 +160,7 @@ Inheritance diagram for DelayTimeControl:

Implements TimeControl.

-

Definition at line 33 of file delaytimecontrol.cpp.

+

Definition at line 34 of file delaytimecontrol.cpp.

@@ -167,7 +192,7 @@ Inheritance diagram for DelayTimeControl:

Implements TimeControl.

-

Definition at line 43 of file delaytimecontrol.cpp.

+

Definition at line 49 of file delaytimecontrol.cpp.

@@ -190,7 +215,7 @@ Inheritance diagram for DelayTimeControl: -
Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:34 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/class_fischer_after_clock-members.html b/www/html/class_fischer_after_clock-members.html index e86821a..83daa76 100644 --- a/www/html/class_fischer_after_clock-members.html +++ b/www/html/class_fischer_after_clock-members.html @@ -117,7 +117,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 19 21:04:21 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:34 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/class_fischer_after_clock.html b/www/html/class_fischer_after_clock.html index 4c23642..b6d6184 100644 --- a/www/html/class_fischer_after_clock.html +++ b/www/html/class_fischer_after_clock.html @@ -196,7 +196,7 @@ Inheritance diagram for FischerAfterClock: -
Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:34 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/class_fischer_after_time_control-members.html b/www/html/class_fischer_after_time_control-members.html index 68a347b..c96c93b 100644 --- a/www/html/class_fischer_after_time_control-members.html +++ b/www/html/class_fischer_after_time_control-members.html @@ -48,7 +48,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');

FischerAfterTimeControl Member List

This is the complete list of members for FischerAfterTimeControl, including all inherited members. - +
FischerAfterTimeControl()FischerAfterTimeControl
getDescription()FischerAfterTimeControl [virtual]
getIcon()TimeControl [inline, virtual]
getIcon()FischerAfterTimeControl [virtual]
getName()FischerAfterTimeControl [inline, virtual]
initGame(bool useLastSettings)FischerAfterTimeControl [virtual]
@@ -66,7 +66,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 19 21:04:21 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:34 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/class_fischer_after_time_control.html b/www/html/class_fischer_after_time_control.html index 345cae8..ae3de57 100644 --- a/www/html/class_fischer_after_time_control.html +++ b/www/html/class_fischer_after_time_control.html @@ -66,6 +66,8 @@ Inheritance diagram for FischerAfterTimeControl:  Name of the time control.
QString getDescription ()  Description of the time control.
+QIcon getIcon () + Icon of the time control.
ClocksWidgetinitGame (bool useLastSettings)  Init new game.
@@ -116,6 +118,29 @@ Inheritance diagram for FischerAfterTimeControl: + +
+
+ + + + + + + + +
QIcon FischerAfterTimeControl::getIcon ( )  [virtual]
+
+
+ +

Icon of the time control.

+ +

Reimplemented from TimeControl.

+ +

Definition at line 37 of file fischeraftertimecontrol.cpp.

+ +
+
@@ -167,7 +192,7 @@ Inheritance diagram for FischerAfterTimeControl:

Implements TimeControl.

-

Definition at line 37 of file fischeraftertimecontrol.cpp.

+

Definition at line 42 of file fischeraftertimecontrol.cpp.

@@ -190,7 +215,7 @@ Inheritance diagram for FischerAfterTimeControl: -
Generated on Thu Aug 19 21:04:21 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:34 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/class_fischer_clock-members.html b/www/html/class_fischer_clock-members.html index ceb0038..f0668fa 100644 --- a/www/html/class_fischer_clock-members.html +++ b/www/html/class_fischer_clock-members.html @@ -117,7 +117,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 19 21:04:21 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:34 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/class_fischer_clock.html b/www/html/class_fischer_clock.html index 5cdeb06..2c4a997 100644 --- a/www/html/class_fischer_clock.html +++ b/www/html/class_fischer_clock.html @@ -188,7 +188,7 @@ Inheritance diagram for FischerClock: -
Generated on Thu Aug 19 21:04:21 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:34 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/class_fischer_time_control-members.html b/www/html/class_fischer_time_control-members.html index a8747e9..0c6525e 100644 --- a/www/html/class_fischer_time_control-members.html +++ b/www/html/class_fischer_time_control-members.html @@ -48,7 +48,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');

FischerTimeControl Member List

This is the complete list of members for FischerTimeControl, including all inherited members. - +
FischerTimeControl()FischerTimeControl
getDescription()FischerTimeControl [virtual]
getIcon()TimeControl [inline, virtual]
getIcon()FischerTimeControl [virtual]
getName()FischerTimeControl [inline, virtual]
initGame(bool useLastSettings)FischerTimeControl [virtual]
@@ -66,7 +66,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 19 21:04:21 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:34 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/class_fischer_time_control.html b/www/html/class_fischer_time_control.html index 0d58b49..3fde346 100644 --- a/www/html/class_fischer_time_control.html +++ b/www/html/class_fischer_time_control.html @@ -66,6 +66,8 @@ Inheritance diagram for FischerTimeControl:  Name of the time control.
QString getDescription ()  Description of the time control.
+QIcon getIcon () + Icon of the time control.
ClocksWidgetinitGame (bool useLastSettings)  Init new game.
@@ -116,6 +118,29 @@ Inheritance diagram for FischerTimeControl: + +
+
+ + + + + + + + +
QIcon FischerTimeControl::getIcon ( )  [virtual]
+
+
+ +

Icon of the time control.

+ +

Reimplemented from TimeControl.

+ +

Definition at line 39 of file fischertimecontrol.cpp.

+ +
+
@@ -167,7 +192,7 @@ Inheritance diagram for FischerTimeControl:

Implements TimeControl.

-

Definition at line 39 of file fischertimecontrol.cpp.

+

Definition at line 44 of file fischertimecontrol.cpp.

@@ -190,7 +215,7 @@ Inheritance diagram for FischerTimeControl: -
Generated on Thu Aug 19 21:04:21 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:34 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/class_hour_glass_clock-members.html b/www/html/class_hour_glass_clock-members.html index 1191ade..3c9f0d6 100644 --- a/www/html/class_hour_glass_clock-members.html +++ b/www/html/class_hour_glass_clock-members.html @@ -115,7 +115,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 19 21:04:21 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:34 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/class_hour_glass_clock.html b/www/html/class_hour_glass_clock.html index 4302df3..ef99166 100644 --- a/www/html/class_hour_glass_clock.html +++ b/www/html/class_hour_glass_clock.html @@ -197,7 +197,7 @@ Inheritance diagram for HourGlassClock: -
Generated on Thu Aug 19 21:04:21 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:34 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/class_hour_glass_time_control-members.html b/www/html/class_hour_glass_time_control-members.html index 8494611..9533747 100644 --- a/www/html/class_hour_glass_time_control-members.html +++ b/www/html/class_hour_glass_time_control-members.html @@ -66,7 +66,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 19 21:04:21 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:34 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/class_hour_glass_time_control.html b/www/html/class_hour_glass_time_control.html index 17114e1..8b7d342 100644 --- a/www/html/class_hour_glass_time_control.html +++ b/www/html/class_hour_glass_time_control.html @@ -215,7 +215,7 @@ Inheritance diagram for HourGlassTimeControl: -
Generated on Thu Aug 19 21:04:21 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:34 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/class_no_time_control-members.html b/www/html/class_no_time_control-members.html index 74bd7e5..2176552 100644 --- a/www/html/class_no_time_control-members.html +++ b/www/html/class_no_time_control-members.html @@ -66,7 +66,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 19 21:04:21 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:34 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/class_no_time_control.html b/www/html/class_no_time_control.html index 8a2e92f..0e47aa1 100644 --- a/www/html/class_no_time_control.html +++ b/www/html/class_no_time_control.html @@ -215,7 +215,7 @@ Inheritance diagram for NoTimeControl: -
Generated on Thu Aug 19 21:04:21 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:34 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/class_screen_lit_keeper-members.html b/www/html/class_screen_lit_keeper-members.html new file mode 100644 index 0000000..ddf146b --- /dev/null +++ b/www/html/class_screen_lit_keeper-members.html @@ -0,0 +1,70 @@ + + + + + +Chess Clock: Member List + + + + + + + + + +
+

ScreenLitKeeper Member List

This is the complete list of members for ScreenLitKeeper, including all inherited members. + + +
keepScreenLit(bool keepLit)ScreenLitKeeper [slot]
ScreenLitKeeper(QObject *parent=0)ScreenLitKeeper [explicit]
+ + + + +
+ +
+ +
Generated on Mon Sep 27 18:30:34 2010 for Chess Clock by  + +doxygen 1.6.3
+ + diff --git a/www/html/class_screen_lit_keeper.html b/www/html/class_screen_lit_keeper.html new file mode 100644 index 0000000..ebf07c5 --- /dev/null +++ b/www/html/class_screen_lit_keeper.html @@ -0,0 +1,143 @@ + + + + + +Chess Clock: ScreenLitKeeper Class Reference + + + + + + + + + +
+

ScreenLitKeeper Class Reference

+

Allows keeping the sreen lit by disabling the screensaver. +More...

+ +

#include <screenlitkeeper.h>

+ +

List of all members.

+ + + + + + +

Public Slots

void keepScreenLit (bool keepLit)
 Sets whether the screen is to be kept lit.

Public Member Functions

 ScreenLitKeeper (QObject *parent=0)
+

Detailed Description

+

Allows keeping the sreen lit by disabling the screensaver.

+

Works at least on N900. The sreen can be set to be kept lit or not. To use this class, you must have the following lines in your .pro file: CONFIG += mobility MOBILITY += systeminfo

+
Author:
Heli Hyvättinen
+
Date:
2010-09-07
+
Version:
1
+ +

Definition at line 47 of file screenlitkeeper.h.

+

Constructor & Destructor Documentation

+ +
+
+ + + + + + + + + +
ScreenLitKeeper::ScreenLitKeeper (QObject *  parent = 0 )  [explicit]
+
+
+ +

Definition at line 27 of file screenlitkeeper.cpp.

+ +
+
+

Member Function Documentation

+ +
+
+ + + + + + + + + +
void ScreenLitKeeper::keepScreenLit (bool  keepLit )  [slot]
+
+
+ +

Sets whether the screen is to be kept lit.

+
Parameters:
+ + +
keepLit true for keeping lit, false for allowing blanking
+
+
+ +

Definition at line 34 of file screenlitkeeper.cpp.

+ +
+
+
The documentation for this class was generated from the following files: +
+ + + + +
+ +
+ +
Generated on Mon Sep 27 18:30:34 2010 for Chess Clock by  + +doxygen 1.6.3
+ + diff --git a/www/html/class_start_widget-members.html b/www/html/class_start_widget-members.html index ed71915..1f13d38 100644 --- a/www/html/class_start_widget-members.html +++ b/www/html/class_start_widget-members.html @@ -67,7 +67,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 19 21:04:21 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:34 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/class_start_widget.html b/www/html/class_start_widget.html index ef85392..5543cb6 100644 --- a/www/html/class_start_widget.html +++ b/www/html/class_start_widget.html @@ -109,7 +109,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

Definition at line 73 of file startwidget.cpp.

+

Definition at line 74 of file startwidget.cpp.

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

Definition at line 84 of file startwidget.cpp.

+

Definition at line 85 of file startwidget.cpp.

@@ -201,7 +201,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 19 21:04:21 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:34 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/class_time_control-members.html b/www/html/class_time_control-members.html index 43bd814..9f64eb0 100644 --- a/www/html/class_time_control-members.html +++ b/www/html/class_time_control-members.html @@ -65,7 +65,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 19 21:04:21 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:34 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/class_time_control.html b/www/html/class_time_control.html index 67aac23..1533d6f 100644 --- a/www/html/class_time_control.html +++ b/www/html/class_time_control.html @@ -123,7 +123,7 @@ Inheritance diagram for TimeControl:

Icon of the time control.

-

Reimplemented in HourGlassTimeControl, and NoTimeControl.

+

Reimplemented in DelayAfterTimeControl, DelayTimeControl, FischerAfterTimeControl, FischerTimeControl, HourGlassTimeControl, and NoTimeControl.

Definition at line 43 of file timecontrol.h.

@@ -198,7 +198,7 @@ Inheritance diagram for TimeControl: -
Generated on Thu Aug 19 21:04:21 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:34 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 b54200b..9dd4694 100644 --- a/www/html/class_turn_information-members.html +++ b/www/html/class_turn_information-members.html @@ -76,7 +76,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 19 21:04:21 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:34 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 52fcd84..b34a81a 100644 --- a/www/html/class_turn_information.html +++ b/www/html/class_turn_information.html @@ -421,7 +421,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 19 21:04:21 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:34 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/class_welcome_screen_widget-members.html b/www/html/class_welcome_screen_widget-members.html index a953b64..135279d 100644 --- a/www/html/class_welcome_screen_widget-members.html +++ b/www/html/class_welcome_screen_widget-members.html @@ -62,7 +62,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 19 21:04:21 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:34 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/class_welcome_screen_widget.html b/www/html/class_welcome_screen_widget.html index 98ffd22..0c0771a 100644 --- a/www/html/class_welcome_screen_widget.html +++ b/www/html/class_welcome_screen_widget.html @@ -102,7 +102,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 19 21:04:21 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:34 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/classes.html b/www/html/classes.html index 240aee7..05ae277 100644 --- a/www/html/classes.html +++ b/www/html/classes.html @@ -49,14 +49,14 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  B  
ClocksWidget   
  F  
-
HourGlassClock   
  T  
-
BasicDialog   
  D  
-
FischerAfterClock   HourGlassTimeControl   TimeControl   
  C  
+
HourGlassClock   StartWidget   
BasicDialog   
  D  
+
FischerAfterClock   HourGlassTimeControl   
  T  
+
  C  
DelayAfterClock   FischerAfterTimeControl   
  N  
-
TurnInformation   
ChessClock   DelayAfterTimeControl   FischerClock   NoTimeControl   
  W  
-
ChessClockWidget   DelayClock   FischerTimeControl   
  S  
-
WelcomeScreenWidget   
ChessClockWindow   DelayTimeControl   
  H  
-
StartWidget   
B | C | D | F | H | N | S | T | W
+TimeControl   ChessClock   DelayAfterTimeControl   FischerClock   NoTimeControl   TurnInformation   ChessClockWidget   DelayClock   FischerTimeControl   
  S  
+
  W  
+ChessClockWindow   DelayTimeControl   
  H  
+ScreenLitKeeper   WelcomeScreenWidget   
B | C | D | F | H | N | S | T | W
-
Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/clockswidget_8cpp.html b/www/html/clockswidget_8cpp.html index 889e551..97853fb 100644 --- a/www/html/clockswidget_8cpp.html +++ b/www/html/clockswidget_8cpp.html @@ -46,12 +46,20 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');

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

#include "clockswidget.h"
#include "chessclock.h"
+#include "screenlitkeeper.h"
+#include <QObject>
+#include <QSystemScreenSaver>
#include <QLabel>
#include <QPixmap>
#include <QApplication>
#include <QHBoxLayout>
#include <QVBoxLayout>
#include <QFont>
+#include <cstdlib>
+#include <QMouseEvent>
+#include <QToolButton>
+#include <QSize>
+#include <QWidget>

Go to the source code of this file.

@@ -71,7 +79,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/clockswidget_8cpp_source.html b/www/html/clockswidget_8cpp_source.html index 0a7e684..705cc89 100644 --- a/www/html/clockswidget_8cpp_source.html +++ b/www/html/clockswidget_8cpp_source.html @@ -66,137 +66,207 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); 00022 #include "clockswidget.h" 00023 #include "chessclock.h" 00024 -00025 #include <QLabel> -00026 #include <QPixmap> -00027 #include <QApplication> -00028 #include <QHBoxLayout> -00029 #include <QVBoxLayout> -00030 #include <QFont> -00031 -00032 -00033 ClocksWidget::ClocksWidget(ChessClock *white, ChessClock *black, QWidget *parent): -00034 QWidget(parent) -00035 { -00036 // Set up clocks -00037 white_ = white; -00038 black_ = black; -00039 -00040 // SET UP UI -00041 // Make layout for clocks -00042 QHBoxLayout* clockLayout = new QHBoxLayout; -00043 clockLayout->addWidget(white_ ); -00044 clockLayout->addWidget( black_ ); +00025 #include "screenlitkeeper.h" +00026 +00027 #include <QLabel> +00028 #include <QPixmap> +00029 #include <QApplication> +00030 #include <QHBoxLayout> +00031 #include <QVBoxLayout> +00032 #include <QFont> +00033 #include <cstdlib> +00034 #include <QMouseEvent> +00035 #include <QToolButton> +00036 #include <QSize> +00037 #include <QWidget> +00038 +00039 ClocksWidget::ClocksWidget(ChessClock *white, ChessClock *black, QWidget *parent): +00040 QWidget(parent) +00041 { +00042 // Set up clocks +00043 white_ = white; +00044 black_ = black; 00045 -00046 // Pause information label -00047 pauseLabel_ = new QLabel( tr("<font color=yellow>Paused. Touch to continue.</font>")); -00048 pauseLabel_->setFont( QFont("Helvetica",25)); -00049 pauseLabel_->setAlignment( Qt::AlignCenter); -00050 pauseLabel_->setVisible( false ); +00046 // SET UP UI +00047 // Make layout for clocks +00048 QHBoxLayout* clockLayout = new QHBoxLayout; +00049 clockLayout->addWidget(white_ ); +00050 clockLayout->addWidget( black_ ); 00051 -00052 // Welcome label for first touch -00053 welcomeLabel_ = new QLabel( tr("<font color=green>Welcome! Please touch to start game.<br>" -00054 "Then touch to end turn.</font>")); -00055 welcomeLabel_->setFont( QFont("Helvetica",25)); -00056 welcomeLabel_->setAlignment( Qt::AlignCenter); -00057 welcomeLabel_->setVisible( true ); // Show welcome message -00058 -00059 // Put all in layout -00060 QVBoxLayout* mainLayout = new QVBoxLayout; -00061 mainLayout->addLayout(clockLayout); -00062 mainLayout->addWidget(pauseLabel_); -00063 mainLayout->addWidget(welcomeLabel_); +00052 // Pause information label +00053 pauseLabel_ = new QLabel( tr("<font color=yellow>Paused. Touch to continue.</font>"),this); +00054 pauseLabel_->setFont( QFont("Helvetica",25)); +00055 pauseLabel_->setAlignment( Qt::AlignCenter); +00056 pauseLabel_->setVisible( false ); +00057 +00058 // Welcome label for first touch +00059 welcomeLabel_ = new QLabel( tr("<font color=green>Welcome! Please touch to start game.<br>" +00060 "Then touch to end turn.</font>"),this); +00061 welcomeLabel_->setFont( QFont("Helvetica",25)); +00062 welcomeLabel_->setAlignment( Qt::AlignCenter); +00063 welcomeLabel_->setVisible( true ); // Show welcome message 00064 -00065 setLayout( mainLayout); -00066 status_ = Welcome; -00067 -00068 // First paint -00069 white_->repaintClock(); -00070 black_->repaintClock(); +00065 // Pause button +00066 pauseButton_ = new QToolButton; +00067 pauseButton_->setIcon( QIcon(":/rc/pic/pausebutton.png")); +00068 pauseButton_->setIconSize(QSize(75,75)); +00069 connect(pauseButton_, SIGNAL(clicked()), this, SLOT(pause())); +00070 pauseButton_->setVisible(false); 00071 -00072 // Set up others -00073 white_->setAnother(black_); -00074 black_->setAnother(white_); +00072 // Put all in layout +00073 QVBoxLayout* mainLayout = new QVBoxLayout; +00074 mainLayout->addLayout(clockLayout); 00075 -00076 delayTimer_.start(); // Initial start -00077 } -00078 -00079 ClocksWidget::~ClocksWidget() -00080 { -00081 delete white_; -00082 delete black_; -00083 } -00084 -00085 void ClocksWidget::pause() -00086 { -00087 if(status_ == WhiteTurn) -00088 { -00089 status_= WhitePause; -00090 white_->pauseTurn(); -00091 pauseLabel_->setVisible(true); -00092 } -00093 else if( status_ == BlackTurn) -00094 { -00095 status_ = BlackPause; -00096 black_->pauseTurn(); -00097 pauseLabel_->setVisible(true); -00098 } -00099 } -00100 -00101 void ClocksWidget::stopPlay() -00102 { -00103 if( status_ == BlackTurn || status_ == BlackPause ) -00104 emit TurnFinished( black_->endTurn()); -00105 else if( status_ == WhiteTurn || status_ == WhitePause ) -00106 emit TurnFinished( white_->endTurn()); -00107 status_ = Stopped; -00108 } +00076 // Extra layout and widget for information +00077 QVBoxLayout* extraLayout = new QVBoxLayout; +00078 extraLayout->addWidget(pauseLabel_); +00079 extraLayout->addWidget(welcomeLabel_); +00080 +00081 QHBoxLayout* pbLayout = new QHBoxLayout; +00082 pbLayout->addStretch(); +00083 pbLayout->addWidget(pauseButton_); +00084 pbLayout->addStretch(); +00085 extraLayout->addLayout(pbLayout); +00086 +00087 QWidget* extraWidget = new QWidget(this); +00088 extraWidget->setLayout(extraLayout); +00089 // Some fun event filtering to grap clicking welcome and pause labels... +00090 extraWidget->installEventFilter(this); +00091 pauseLabel_->installEventFilter(this); +00092 welcomeLabel_->installEventFilter(this); +00093 +00094 mainLayout->addWidget(extraWidget); +00095 setLayout( mainLayout); +00096 status_ = Welcome; +00097 +00098 // First paint +00099 white_->repaintClock(); +00100 black_->repaintClock(); +00101 +00102 // Set up others +00103 white_->setAnother(black_); +00104 black_->setAnother(white_); +00105 +00106 delayTimer_.start(); // Initial start +00107 +00108 recentX = recentY = -1; 00109 -00110 -00111 void ClocksWidget::mouseReleaseEvent(QMouseEvent *event) -00112 { -00113 if( delayTimer_.elapsed() > CLICKDELAY ) // To avoid double clicks -00114 { -00115 switch( status_) -00116 { -00117 case Welcome : -00118 // Start game! -00119 welcomeLabel_->setVisible(false); -00120 white_->startTurn(); -00121 status_ = WhiteTurn; -00122 break; -00123 case WhiteTurn: -00124 // White turn finished, then black -00125 emit TurnFinished( white_->endTurn()); -00126 black_->startTurn(); -00127 status_=BlackTurn; -00128 break; -00129 case BlackTurn: -00130 // Black finished, then white -00131 emit TurnFinished( black_->endTurn()); -00132 white_->startTurn(); -00133 status_=WhiteTurn; -00134 break; -00135 case WhitePause: -00136 // Continue play -00137 pauseLabel_->setVisible(false); -00138 white_->continueTurn(); -00139 status_=WhiteTurn; -00140 break; -00141 case BlackPause: -00142 // Continue play -00143 pauseLabel_->setVisible(false); -00144 black_->continueTurn(); -00145 status_=BlackTurn; -00146 break; -00147 case Stopped: -00148 emit ClickedWhenStopped(); +00110 // ScreenLitKeeper to keep screen lit when playing +00111 keeper_ = new ScreenLitKeeper(this); +00112 } +00113 +00114 ClocksWidget::~ClocksWidget() +00115 { +00116 delete white_; +00117 delete black_; +00118 } +00119 +00120 void ClocksWidget::pause() +00121 { +00122 if(status_ == WhiteTurn) +00123 { +00124 status_= WhitePause; +00125 white_->pauseTurn(); +00126 pauseLabel_->setVisible(true); +00127 pauseButton_->setVisible(false); +00128 keeper_->keepScreenLit(false); +00129 +00130 } +00131 else if( status_ == BlackTurn) +00132 { +00133 status_ = BlackPause; +00134 black_->pauseTurn(); +00135 pauseLabel_->setVisible(true); +00136 pauseButton_->setVisible(false); +00137 keeper_->keepScreenLit(false); +00138 } +00139 } +00140 +00141 void ClocksWidget::stopPlay() +00142 { +00143 if( status_ == BlackTurn || status_ == BlackPause ) +00144 emit TurnFinished( black_->endTurn()); +00145 else if( status_ == WhiteTurn || status_ == WhitePause ) +00146 emit TurnFinished( white_->endTurn()); +00147 status_ = Stopped; +00148 } 00149 00150 -00151 } -00152 } -00153 } -00154 -00155 int const ClocksWidget::CLICKDELAY; +00151 void ClocksWidget::mouseReleaseEvent(QMouseEvent *event) +00152 { +00153 +00154 // To avoid double clicks +00155 // a) delay (default 1,2 secs) OR +00156 // b) distance more than 90 pixels in axis. +00157 if( delayTimer_.elapsed() > CLICKDELAY || +00158 std::abs( event->x() - recentX ) > 90 || +00159 std::abs( event->y() - recentY ) > 90 +00160 ) +00161 { +00162 delayTimer_.start(); // to reset delay timer! +00163 switch( status_) +00164 { +00165 case Welcome : +00166 // Start game! +00167 welcomeLabel_->setVisible(false); +00168 pauseButton_->setVisible(true); +00169 keeper_->keepScreenLit(true); +00170 white_->startTurn(); +00171 status_ = WhiteTurn; +00172 break; +00173 case WhiteTurn: +00174 // White turn finished, then black +00175 emit TurnFinished( white_->endTurn()); +00176 black_->startTurn(); +00177 status_=BlackTurn; +00178 break; +00179 case BlackTurn: +00180 // Black finished, then white +00181 emit TurnFinished( black_->endTurn()); +00182 white_->startTurn(); +00183 status_=WhiteTurn; +00184 break; +00185 case WhitePause: +00186 // Continue play +00187 keeper_->keepScreenLit(true); +00188 pauseLabel_->setVisible(false); +00189 pauseButton_->setVisible(true); +00190 white_->continueTurn(); +00191 status_=WhiteTurn; +00192 break; +00193 case BlackPause: +00194 // Continue play +00195 keeper_->keepScreenLit(false); +00196 pauseLabel_->setVisible(false); +00197 pauseButton_->setVisible(true); +00198 black_->continueTurn(); +00199 status_=BlackTurn; +00200 break; +00201 case Stopped: +00202 emit ClickedWhenStopped(); +00203 +00204 +00205 } +00206 } +00207 recentX = event->x(); +00208 recentY = event->y(); +00209 } +00210 +00211 // to grap clicking pause or welcome label +00212 bool ClocksWidget::eventFilter(QObject *obj, QEvent *event) +00213 { +00214 if (event->type() == QEvent::MouseButtonRelease) { +00215 QMouseEvent *mEvent = static_cast<QMouseEvent *>(event); +00216 mouseReleaseEvent( mEvent ); +00217 return true; +00218 } else { +00219 // standard event processing +00220 return QObject::eventFilter(obj, event); +00221 } +00222 } +00223 +00224 +00225 int const ClocksWidget::CLICKDELAY;
-
Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/clockswidget_8h.html b/www/html/clockswidget_8h.html index 252b98e..0a309b4 100644 --- a/www/html/clockswidget_8h.html +++ b/www/html/clockswidget_8h.html @@ -68,7 +68,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/clockswidget_8h_source.html b/www/html/clockswidget_8h_source.html index 516b51d..9e3a5b7 100644 --- a/www/html/clockswidget_8h_source.html +++ b/www/html/clockswidget_8h_source.html @@ -73,51 +73,59 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); 00029 class QVBoxLayout; 00030 class QLabel; 00031 class TurnInformation; -00032 -00033 class ChessClock; +00032 class QToolButton; +00033 class ScreenLitKeeper; 00034 -00045 class ClocksWidget : public QWidget -00046 { -00047 Q_OBJECT -00048 public: -00049 ClocksWidget(ChessClock* white, ChessClock* black, QWidget *parent = 0); -00050 ~ClocksWidget(); -00051 bool isPlayStarted() { return (status_!=Welcome); } -00052 -00053 protected: -00054 void mouseReleaseEvent(QMouseEvent *event); -00055 -00056 -00057 signals: -00058 void TurnFinished(TurnInformation* turnInfo); -00059 void ClickedWhenStopped(); -00060 -00061 public slots: -00063 void pause(); -00065 void stopPlay(); -00066 -00067 protected: -00068 ChessClock* white_; -00069 ChessClock* black_; -00070 -00071 QLabel* pauseLabel_; -00072 QLabel* welcomeLabel_; +00035 class ChessClock; +00036 +00047 class ClocksWidget : public QWidget +00048 { +00049 Q_OBJECT +00050 public: +00051 ClocksWidget(ChessClock* white, ChessClock* black, QWidget *parent = 0); +00052 ~ClocksWidget(); +00053 bool isPlayStarted() { return (status_!=Welcome); } +00054 +00055 protected: +00056 void mouseReleaseEvent(QMouseEvent *event); +00057 bool eventFilter(QObject *obj, QEvent *event); +00058 +00059 +00060 signals: +00061 void TurnFinished(TurnInformation* turnInfo); +00062 void ClickedWhenStopped(); +00063 +00064 public slots: +00066 void pause(); +00068 void stopPlay(); +00069 +00070 protected: +00071 ChessClock* white_; +00072 ChessClock* black_; 00073 -00074 enum GameStatus { -00075 Stopped , -00076 WhiteTurn, -00077 BlackTurn, -00078 WhitePause, -00079 BlackPause, -00080 Welcome -00081 }; -00082 -00083 GameStatus status_; -00084 QTime delayTimer_; -00086 static int const CLICKDELAY = 500 ; -00090 }; -00091 -00092 #endif // CLOCKSWIDGET_H +00074 QLabel* pauseLabel_; +00075 QLabel* welcomeLabel_; +00076 QToolButton* pauseButton_; +00077 ScreenLitKeeper* keeper_; +00078 +00079 enum GameStatus { +00080 Stopped , +00081 WhiteTurn, +00082 BlackTurn, +00083 WhitePause, +00084 BlackPause, +00085 Welcome +00086 }; +00087 +00088 GameStatus status_; +00089 QTime delayTimer_; +00091 int recentX; +00092 int recentY; +00093 +00094 static int const CLICKDELAY = 1500 ; +00098 }; +00099 +00100 #endif // CLOCKSWIDGET_H
-
Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/delayafterclock_8cpp.html b/www/html/delayafterclock_8cpp.html index 800acdd..b58ba89 100644 --- a/www/html/delayafterclock_8cpp.html +++ b/www/html/delayafterclock_8cpp.html @@ -65,7 +65,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/delayafterclock_8cpp_source.html b/www/html/delayafterclock_8cpp_source.html index e1b1035..98a442d 100644 --- a/www/html/delayafterclock_8cpp_source.html +++ b/www/html/delayafterclock_8cpp_source.html @@ -99,7 +99,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/delayafterclock_8h.html b/www/html/delayafterclock_8h.html index b4a28dd..2a3306e 100644 --- a/www/html/delayafterclock_8h.html +++ b/www/html/delayafterclock_8h.html @@ -67,7 +67,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/delayafterclock_8h_source.html b/www/html/delayafterclock_8h_source.html index 33ac129..ab2fec0 100644 --- a/www/html/delayafterclock_8h_source.html +++ b/www/html/delayafterclock_8h_source.html @@ -101,7 +101,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/delayaftertimecontrol_8cpp.html b/www/html/delayaftertimecontrol_8cpp.html index 660b846..31514de 100644 --- a/www/html/delayaftertimecontrol_8cpp.html +++ b/www/html/delayaftertimecontrol_8cpp.html @@ -68,7 +68,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/delayaftertimecontrol_8cpp_source.html b/www/html/delayaftertimecontrol_8cpp_source.html index a2c215c..6e2b11e 100644 --- a/www/html/delayaftertimecontrol_8cpp_source.html +++ b/www/html/delayaftertimecontrol_8cpp_source.html @@ -84,27 +84,32 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); 00040 return qApp->translate("Delay","Time up to special increment is added after turn"); 00041 } 00042 -00043 ClocksWidget* DelayAfterTimeControl::initGame(bool useLastSettings) +00043 QIcon DelayAfterTimeControl::getIcon() 00044 { -00045 BasicDialog dialog(getName()); -00046 dialog.disablePerTurns(); -00047 dialog.init(); -00048 -00049 if( useLastSettings || dialog.exec() == QDialog::Accepted) -00050 { -00051 dialog.store(); -00052 DelayAfterClock* white = new DelayAfterClock( true, dialog.getWhiteAddition()); -00053 white->setTimeAvailable(dialog.getWhiteInitial()); -00054 -00055 DelayAfterClock* black = new DelayAfterClock( false, dialog.getBlackAddition()); -00056 black->setTimeAvailable( dialog.getBlackInitial()); -00057 -00058 return( new ClocksWidget(white,black)); +00045 return QIcon(":/rc/pic/pauseafter.png"); +00046 } +00047 +00048 ClocksWidget* DelayAfterTimeControl::initGame(bool useLastSettings) +00049 { +00050 BasicDialog dialog(getName()); +00051 dialog.disablePerTurns(); +00052 dialog.init(); +00053 +00054 if( useLastSettings || dialog.exec() == QDialog::Accepted) +00055 { +00056 dialog.store(); +00057 DelayAfterClock* white = new DelayAfterClock( true, dialog.getWhiteAddition()); +00058 white->setTimeAvailable(dialog.getWhiteInitial()); 00059 -00060 } -00061 else -00062 return 0; -00063 } +00060 DelayAfterClock* black = new DelayAfterClock( false, dialog.getBlackAddition()); +00061 black->setTimeAvailable( dialog.getBlackInitial()); +00062 +00063 return( new ClocksWidget(white,black)); +00064 +00065 } +00066 else +00067 return 0; +00068 }
-
Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/delayaftertimecontrol_8h.html b/www/html/delayaftertimecontrol_8h.html index 496a1d0..45b2580 100644 --- a/www/html/delayaftertimecontrol_8h.html +++ b/www/html/delayaftertimecontrol_8h.html @@ -66,7 +66,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/delayaftertimecontrol_8h_source.html b/www/html/delayaftertimecontrol_8h_source.html index d837a3c..da61e7d 100644 --- a/www/html/delayaftertimecontrol_8h_source.html +++ b/www/html/delayaftertimecontrol_8h_source.html @@ -74,11 +74,12 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); 00030 DelayAfterTimeControl(); 00031 00032 QString getName(); -00033 QString getDescription(); -00034 ClocksWidget* initGame(bool useLastSettings); -00035 }; -00036 -00037 #endif // DELAYAFTERTIMECONTROL_H +00033 QIcon getIcon(); +00034 QString getDescription(); +00035 ClocksWidget* initGame(bool useLastSettings); +00036 }; +00037 +00038 #endif // DELAYAFTERTIMECONTROL_H
-
Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/delayclock_8cpp.html b/www/html/delayclock_8cpp.html index 9735ec6..e9279dc 100644 --- a/www/html/delayclock_8cpp.html +++ b/www/html/delayclock_8cpp.html @@ -65,7 +65,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/delayclock_8cpp_source.html b/www/html/delayclock_8cpp_source.html index c63277f..e228d0f 100644 --- a/www/html/delayclock_8cpp_source.html +++ b/www/html/delayclock_8cpp_source.html @@ -101,7 +101,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/delayclock_8h.html b/www/html/delayclock_8h.html index 89612e8..7cdd286 100644 --- a/www/html/delayclock_8h.html +++ b/www/html/delayclock_8h.html @@ -67,7 +67,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/delayclock_8h_source.html b/www/html/delayclock_8h_source.html index d1fd2a5..dc99e3a 100644 --- a/www/html/delayclock_8h_source.html +++ b/www/html/delayclock_8h_source.html @@ -100,7 +100,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/delaytimecontrol_8cpp.html b/www/html/delaytimecontrol_8cpp.html index c1e8478..2997a6e 100644 --- a/www/html/delaytimecontrol_8cpp.html +++ b/www/html/delaytimecontrol_8cpp.html @@ -49,6 +49,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); #include "../clockswidget.h"
#include "basicdialog.h"
#include <QApplication>
+#include <QLabel>

Go to the source code of this file.

@@ -68,7 +69,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/delaytimecontrol_8cpp_source.html b/www/html/delaytimecontrol_8cpp_source.html index 95e88d5..55efc5f 100644 --- a/www/html/delaytimecontrol_8cpp_source.html +++ b/www/html/delaytimecontrol_8cpp_source.html @@ -69,42 +69,49 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); 00025 #include "basicdialog.h" 00026 00027 #include <QApplication> -00028 -00029 DelayTimeControl::DelayTimeControl() -00030 { -00031 } -00032 -00033 QString DelayTimeControl::getName() -00034 { -00035 return qApp->translate("Delay","Delay"); -00036 } -00037 -00038 QString DelayTimeControl::getDescription() -00039 { -00040 return qApp->translate("Delay","The clock waits for the delay period before starting"); -00041 } -00042 -00043 ClocksWidget* DelayTimeControl::initGame(bool useLastSettings) -00044 { -00045 BasicDialog dialog(getName()); -00046 dialog.disablePerTurns(); -00047 dialog.init(); +00028 #include <QLabel> +00029 +00030 DelayTimeControl::DelayTimeControl() +00031 { +00032 } +00033 +00034 QString DelayTimeControl::getName() +00035 { +00036 return qApp->translate("Delay","Delay"); +00037 } +00038 +00039 QIcon DelayTimeControl::getIcon() +00040 { +00041 return QIcon(":/rc/pic/pausebefore.png"); +00042 } +00043 +00044 QString DelayTimeControl::getDescription() +00045 { +00046 return qApp->translate("Delay","The clock waits for the delay period before starting"); +00047 } 00048 -00049 if( useLastSettings || dialog.exec() == QDialog::Accepted) -00050 { -00051 dialog.store(); -00052 DelayClock* white = new DelayClock( true, dialog.getWhiteAddition()); -00053 white->setTimeAvailable(dialog.getWhiteInitial()); -00054 -00055 DelayClock* black = new DelayClock( false, dialog.getBlackAddition()); -00056 black->setTimeAvailable( dialog.getBlackInitial()); -00057 -00058 return( new ClocksWidget(white,black)); -00059 -00060 } -00061 else -00062 return 0; -00063 } +00049 ClocksWidget* DelayTimeControl::initGame(bool useLastSettings) +00050 { +00051 BasicDialog dialog(getName()); +00052 dialog.disablePerTurns(); +00053 dialog.additionLabel_->setText(qApp->translate("Delay","Delay time")); +00054 dialog.init(); +00055 +00056 if( useLastSettings || dialog.exec() == QDialog::Accepted) +00057 { +00058 dialog.store(); +00059 DelayClock* white = new DelayClock( true, dialog.getWhiteAddition()); +00060 white->setTimeAvailable(dialog.getWhiteInitial()); +00061 +00062 DelayClock* black = new DelayClock( false, dialog.getBlackAddition()); +00063 black->setTimeAvailable( dialog.getBlackInitial()); +00064 +00065 return( new ClocksWidget(white,black)); +00066 +00067 } +00068 else +00069 return 0; +00070 }
-
Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/delaytimecontrol_8h.html b/www/html/delaytimecontrol_8h.html index 5823cea..891c577 100644 --- a/www/html/delaytimecontrol_8h.html +++ b/www/html/delaytimecontrol_8h.html @@ -66,7 +66,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/delaytimecontrol_8h_source.html b/www/html/delaytimecontrol_8h_source.html index e5ab651..3f75a31 100644 --- a/www/html/delaytimecontrol_8h_source.html +++ b/www/html/delaytimecontrol_8h_source.html @@ -74,11 +74,12 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); 00030 DelayTimeControl(); 00031 00032 QString getName(); -00033 QString getDescription(); -00034 ClocksWidget* initGame(bool useLastSettings); -00035 }; -00036 -00037 #endif // DELAYTIMECONTROL_H +00033 QIcon getIcon(); +00034 QString getDescription(); +00035 ClocksWidget* initGame(bool useLastSettings); +00036 }; +00037 +00038 #endif // DELAYTIMECONTROL_H
-
Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/files.html b/www/html/files.html index fe29013..c8c9cd8 100644 --- a/www/html/files.html +++ b/www/html/files.html @@ -54,6 +54,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
+ + @@ -101,7 +103,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 19 21:04:21 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:34 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/fischerafterclock_8cpp.html b/www/html/fischerafterclock_8cpp.html index 9ca8149..c8f308c 100644 --- a/www/html/fischerafterclock_8cpp.html +++ b/www/html/fischerafterclock_8cpp.html @@ -65,7 +65,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/fischerafterclock_8cpp_source.html b/www/html/fischerafterclock_8cpp_source.html index 191f5b1..524eaed 100644 --- a/www/html/fischerafterclock_8cpp_source.html +++ b/www/html/fischerafterclock_8cpp_source.html @@ -95,7 +95,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/fischerafterclock_8h.html b/www/html/fischerafterclock_8h.html index f4dc7c7..5333035 100644 --- a/www/html/fischerafterclock_8h.html +++ b/www/html/fischerafterclock_8h.html @@ -67,7 +67,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/fischerafterclock_8h_source.html b/www/html/fischerafterclock_8h_source.html index 50790cc..ed263de 100644 --- a/www/html/fischerafterclock_8h_source.html +++ b/www/html/fischerafterclock_8h_source.html @@ -104,7 +104,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/fischeraftertimecontrol_8cpp.html b/www/html/fischeraftertimecontrol_8cpp.html index bb15d96..785517a 100644 --- a/www/html/fischeraftertimecontrol_8cpp.html +++ b/www/html/fischeraftertimecontrol_8cpp.html @@ -67,7 +67,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/fischeraftertimecontrol_8cpp_source.html b/www/html/fischeraftertimecontrol_8cpp_source.html index 627d5b5..9268b31 100644 --- a/www/html/fischeraftertimecontrol_8cpp_source.html +++ b/www/html/fischeraftertimecontrol_8cpp_source.html @@ -78,26 +78,31 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); 00034 return qApp->translate("FischerAfter","Specified time increment is added to clock after turn."); 00035 } 00036 -00037 ClocksWidget* FischerAfterTimeControl::initGame(bool useLastSettings) +00037 QIcon FischerAfterTimeControl::getIcon() 00038 { -00039 BasicDialog dialog(getName()); -00040 dialog.init(); +00039 return QIcon(":/rc/pic/addafter.png"); +00040 } 00041 -00042 if( useLastSettings || dialog.exec() == QDialog::Accepted) -00043 { -00044 dialog.store(); -00045 FischerAfterClock* white = new FischerAfterClock( true, dialog.getWhiteAddition(), dialog.getWhitePerTurns()); -00046 white->setTimeAvailable(dialog.getWhiteInitial()); -00047 -00048 FischerAfterClock* black = new FischerAfterClock( false, dialog.getBlackAddition(), dialog.getBlackPerTurns()); -00049 black->setTimeAvailable( dialog.getBlackInitial()); -00050 -00051 return( new ClocksWidget(white,black)); +00042 ClocksWidget* FischerAfterTimeControl::initGame(bool useLastSettings) +00043 { +00044 BasicDialog dialog(getName()); +00045 dialog.init(); +00046 +00047 if( useLastSettings || dialog.exec() == QDialog::Accepted) +00048 { +00049 dialog.store(); +00050 FischerAfterClock* white = new FischerAfterClock( true, dialog.getWhiteAddition(), dialog.getWhitePerTurns()); +00051 white->setTimeAvailable(dialog.getWhiteInitial()); 00052 -00053 } -00054 else -00055 return 0; -00056 } +00053 FischerAfterClock* black = new FischerAfterClock( false, dialog.getBlackAddition(), dialog.getBlackPerTurns()); +00054 black->setTimeAvailable( dialog.getBlackInitial()); +00055 +00056 return( new ClocksWidget(white,black)); +00057 +00058 } +00059 else +00060 return 0; +00061 }
-
Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/fischeraftertimecontrol_8h.html b/www/html/fischeraftertimecontrol_8h.html index 55c396a..2ba3715 100644 --- a/www/html/fischeraftertimecontrol_8h.html +++ b/www/html/fischeraftertimecontrol_8h.html @@ -67,7 +67,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/fischeraftertimecontrol_8h_source.html b/www/html/fischeraftertimecontrol_8h_source.html index b760bab..c8332bd 100644 --- a/www/html/fischeraftertimecontrol_8h_source.html +++ b/www/html/fischeraftertimecontrol_8h_source.html @@ -76,11 +76,12 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); 00032 00033 QString getName() { return qApp->translate("FischerAfter","Addition after"); } 00034 QString getDescription(); -00035 ClocksWidget* initGame( bool useLastSettings); -00036 -00037 }; -00038 -00039 #endif // FISCHERAFTERTIMECONTROL_H +00035 QIcon getIcon(); +00036 ClocksWidget* initGame( bool useLastSettings); +00037 +00038 }; +00039 +00040 #endif // FISCHERAFTERTIMECONTROL_H
-
Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/fischerclock_8cpp.html b/www/html/fischerclock_8cpp.html index b520147..c1aa2d0 100644 --- a/www/html/fischerclock_8cpp.html +++ b/www/html/fischerclock_8cpp.html @@ -65,7 +65,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/fischerclock_8cpp_source.html b/www/html/fischerclock_8cpp_source.html index e5272f5..9e80da3 100644 --- a/www/html/fischerclock_8cpp_source.html +++ b/www/html/fischerclock_8cpp_source.html @@ -95,7 +95,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/fischerclock_8h.html b/www/html/fischerclock_8h.html index a970515..e75aa22 100644 --- a/www/html/fischerclock_8h.html +++ b/www/html/fischerclock_8h.html @@ -66,7 +66,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/fischerclock_8h_source.html b/www/html/fischerclock_8h_source.html index d0ecd01..4a66924 100644 --- a/www/html/fischerclock_8h_source.html +++ b/www/html/fischerclock_8h_source.html @@ -103,7 +103,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/fischertimecontrol_8cpp.html b/www/html/fischertimecontrol_8cpp.html index 1bb74bf..9d34bf1 100644 --- a/www/html/fischertimecontrol_8cpp.html +++ b/www/html/fischertimecontrol_8cpp.html @@ -68,7 +68,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/fischertimecontrol_8cpp_source.html b/www/html/fischertimecontrol_8cpp_source.html index ae937b8..8a346c1 100644 --- a/www/html/fischertimecontrol_8cpp_source.html +++ b/www/html/fischertimecontrol_8cpp_source.html @@ -80,26 +80,31 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); 00036 return qApp->translate("Fischer","Specified time increment is added to clock before turn."); 00037 } 00038 -00039 ClocksWidget* FischerTimeControl::initGame(bool useLastSettings) +00039 QIcon FischerTimeControl::getIcon() 00040 { -00041 BasicDialog dialog(getName()); -00042 dialog.init(); +00041 return QIcon(":/rc/pic/addbefore.png"); +00042 } 00043 -00044 if( useLastSettings || dialog.exec() == QDialog::Accepted) -00045 { -00046 dialog.store(); -00047 FischerClock* white = new FischerClock( true, dialog.getWhiteAddition(), dialog.getWhitePerTurns()); -00048 white->setTimeAvailable(dialog.getWhiteInitial()); -00049 -00050 FischerClock* black = new FischerClock( false, dialog.getBlackAddition(), dialog.getBlackPerTurns()); -00051 black->setTimeAvailable( dialog.getBlackInitial()); -00052 -00053 return( new ClocksWidget(white,black)); +00044 ClocksWidget* FischerTimeControl::initGame(bool useLastSettings) +00045 { +00046 BasicDialog dialog(getName()); +00047 dialog.init(); +00048 +00049 if( useLastSettings || dialog.exec() == QDialog::Accepted) +00050 { +00051 dialog.store(); +00052 FischerClock* white = new FischerClock( true, dialog.getWhiteAddition(), dialog.getWhitePerTurns()); +00053 white->setTimeAvailable(dialog.getWhiteInitial()); 00054 -00055 } -00056 else -00057 return 0; -00058 } +00055 FischerClock* black = new FischerClock( false, dialog.getBlackAddition(), dialog.getBlackPerTurns()); +00056 black->setTimeAvailable( dialog.getBlackInitial()); +00057 +00058 return( new ClocksWidget(white,black)); +00059 +00060 } +00061 else +00062 return 0; +00063 }
-
Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/fischertimecontrol_8h.html b/www/html/fischertimecontrol_8h.html index 374c8e7..9bea1ab 100644 --- a/www/html/fischertimecontrol_8h.html +++ b/www/html/fischertimecontrol_8h.html @@ -67,7 +67,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/fischertimecontrol_8h_source.html b/www/html/fischertimecontrol_8h_source.html index fd242c8..1a9c590 100644 --- a/www/html/fischertimecontrol_8h_source.html +++ b/www/html/fischertimecontrol_8h_source.html @@ -76,10 +76,11 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); 00032 00033 QString getName() { return qApp->translate("Fischer","Addition before"); } 00034 QString getDescription(); -00035 ClocksWidget* initGame(bool useLastSettings); -00036 }; -00037 -00038 #endif // FISCHERTIMECONTROL_H +00035 QIcon getIcon(); +00036 ClocksWidget* initGame(bool useLastSettings); +00037 }; +00038 +00039 #endif // FISCHERTIMECONTROL_H
-
Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  doxygen 1.6.3
diff --git a/www/html/functions.html b/www/html/functions.html index 41a5694..5ef78af 100644 --- a/www/html/functions.html +++ b/www/html/functions.html @@ -63,6 +63,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • g
  • h
  • i
  • +
  • k
  • l
  • m
  • n
  • @@ -71,6 +72,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • s
  • t
  • u
  • +
  • v
  • w
  • ~
  • @@ -80,9 +82,15 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); Here is a list of all class members with links to the classes they belong to:

    - a -

    @@ -261,18 +272,22 @@ Here is a list of all class members with links to the classes they belong to: : TurnInformation
  • getIcon() -: HourGlassTimeControl +: FischerTimeControl +, HourGlassTimeControl , NoTimeControl , TimeControl +, DelayAfterTimeControl +, DelayTimeControl +, FischerAfterTimeControl
  • getName() : DelayAfterTimeControl , DelayTimeControl , FischerAfterTimeControl -, FischerTimeControl , HourGlassTimeControl , NoTimeControl , TimeControl +, FischerTimeControl
  • getPaused() : TurnInformation @@ -284,9 +299,9 @@ Here is a list of all class members with links to the classes they belong to: : TurnInformation
  • getTimeAvailable() -: HourGlassClock +: DelayClock +, HourGlassClock , ChessClock -, DelayClock
  • getTimePlayed() : ChessClock @@ -374,6 +389,16 @@ Here is a list of all class members with links to the classes they belong to: +

    - k -

    + +

    - l -

    • leftLabel_ : ChessClockWidget @@ -418,6 +443,9 @@ Here is a list of all class members with links to the classes they belong to: : ChessClockWindow , ClocksWidget
    • +
    • pauseButton_ +: ClocksWidget +
    • Paused : ChessClock
    • @@ -453,9 +481,15 @@ Here is a list of all class members with links to the classes they belong to:

      - r -

        +
      • recentX +: ClocksWidget +
      • +
      • recentY +: ClocksWidget +
      • repaintClock() -: ChessClock -, ChessClockWidget +: ChessClockWidget +, ChessClock
      • Running : ChessClock @@ -467,6 +501,9 @@ Here is a list of all class members with links to the classes they belong to:

        - s -

        +

        - v -

        + +

        - w -

        • Welcome : ClocksWidget @@ -650,7 +694,7 @@ Here is a list of all class members with links to the classes they belong to: -
          Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
          Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  doxygen 1.6.3
          diff --git a/www/html/functions_enum.html b/www/html/functions_enum.html index 1906349..90f9b05 100644 --- a/www/html/functions_enum.html +++ b/www/html/functions_enum.html @@ -77,7 +77,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
          Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
          Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  doxygen 1.6.3
          diff --git a/www/html/functions_eval.html b/www/html/functions_eval.html index d9874d6..c0652be 100644 --- a/www/html/functions_eval.html +++ b/www/html/functions_eval.html @@ -98,7 +98,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
          Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
          Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  doxygen 1.6.3
          diff --git a/www/html/functions_func.html b/www/html/functions_func.html index 77007fb..4cf8c8f 100644 --- a/www/html/functions_func.html +++ b/www/html/functions_func.html @@ -63,6 +63,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
        • g
        • h
        • i
        • +
        • k
        • m
        • n
        • p
        • @@ -70,6 +71,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
        • s
        • t
        • u
        • +
        • v
        • w
        • ~
        @@ -79,6 +81,12 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');  

        - a -

        +

        - k -

        + +

        - m -

        • mouseReleaseEvent() : ClocksWidget @@ -339,6 +361,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');

          - s -

          +

          - v -

          + +

          - w -

          • WelcomeScreenWidget() : WelcomeScreenWidget @@ -439,7 +471,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
            Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
            Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  doxygen 1.6.3
            diff --git a/www/html/functions_vars.html b/www/html/functions_vars.html index 02e1296..14be90e 100644 --- a/www/html/functions_vars.html +++ b/www/html/functions_vars.html @@ -61,9 +61,11 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
          • e
          • g
          • i
          • +
          • k
          • l
          • m
          • p
          • +
          • r
          • s
          • t
          • u
          • @@ -164,6 +166,13 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
          +

          - k -

          + +

          - l -

          • leftLabel_ : ChessClockWidget @@ -188,6 +197,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');

            - p -

              +
            • pauseButton_ +: ClocksWidget +
            • paused_ : TurnInformation
            • @@ -216,6 +228,16 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
            +

            - r -

            + +

            - s -

            • stack_ : ChessClockWindow @@ -316,7 +338,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
              Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
              Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  doxygen 1.6.3
              diff --git a/www/html/globals.html b/www/html/globals.html index 096ef2f..d72b5db 100644 --- a/www/html/globals.html +++ b/www/html/globals.html @@ -70,7 +70,7 @@ Here is a list of all file members with links to the files they belong to:
                -
                Generated on Thu Aug 19 21:04:21 2010 for Chess Clock by  +
                Generated on Mon Sep 27 18:30:34 2010 for Chess Clock by  doxygen 1.6.3
                diff --git a/www/html/globals_func.html b/www/html/globals_func.html index 3b426ab..c4b1d32 100644 --- a/www/html/globals_func.html +++ b/www/html/globals_func.html @@ -70,7 +70,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
                Generated on Thu Aug 19 21:04:21 2010 for Chess Clock by  +
                Generated on Mon Sep 27 18:30:34 2010 for Chess Clock by  doxygen 1.6.3
                diff --git a/www/html/hierarchy.html b/www/html/hierarchy.html index abf8fb6..2eb8d43 100644 --- a/www/html/hierarchy.html +++ b/www/html/hierarchy.html @@ -60,6 +60,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
              • ChessClockWindow
              • ClocksWidget
              • +
              • ScreenLitKeeper
              • StartWidget
              • TimeControl
                • DelayAfterTimeControl
                • @@ -88,7 +89,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
                  Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
                  Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  doxygen 1.6.3
                  diff --git a/www/html/hourglassclock_8cpp.html b/www/html/hourglassclock_8cpp.html index 986fa32..e15f10e 100644 --- a/www/html/hourglassclock_8cpp.html +++ b/www/html/hourglassclock_8cpp.html @@ -66,7 +66,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
                  Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
                  Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  doxygen 1.6.3
                  diff --git a/www/html/hourglassclock_8cpp_source.html b/www/html/hourglassclock_8cpp_source.html index 9a5f9e5..7579c7c 100644 --- a/www/html/hourglassclock_8cpp_source.html +++ b/www/html/hourglassclock_8cpp_source.html @@ -130,7 +130,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
                  Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
                  Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  doxygen 1.6.3
                  diff --git a/www/html/hourglassclock_8h.html b/www/html/hourglassclock_8h.html index d72721d..9f1defa 100644 --- a/www/html/hourglassclock_8h.html +++ b/www/html/hourglassclock_8h.html @@ -66,7 +66,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
                  Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
                  Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  doxygen 1.6.3
                  diff --git a/www/html/hourglassclock_8h_source.html b/www/html/hourglassclock_8h_source.html index 196a98d..cb52210 100644 --- a/www/html/hourglassclock_8h_source.html +++ b/www/html/hourglassclock_8h_source.html @@ -99,7 +99,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
                  Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
                  Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  doxygen 1.6.3
                  diff --git a/www/html/hourglasstimecontrol_8cpp.html b/www/html/hourglasstimecontrol_8cpp.html index 23a3ac8..68a83e1 100644 --- a/www/html/hourglasstimecontrol_8cpp.html +++ b/www/html/hourglasstimecontrol_8cpp.html @@ -69,7 +69,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
                  Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
                  Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  doxygen 1.6.3
                  diff --git a/www/html/hourglasstimecontrol_8cpp_source.html b/www/html/hourglasstimecontrol_8cpp_source.html index 273d1f4..c6b6015 100644 --- a/www/html/hourglasstimecontrol_8cpp_source.html +++ b/www/html/hourglasstimecontrol_8cpp_source.html @@ -127,7 +127,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
                  Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
                  Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  doxygen 1.6.3
                  diff --git a/www/html/hourglasstimecontrol_8h.html b/www/html/hourglasstimecontrol_8h.html index c1c8861..6497abc 100644 --- a/www/html/hourglasstimecontrol_8h.html +++ b/www/html/hourglasstimecontrol_8h.html @@ -66,7 +66,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
                  Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
                  Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  doxygen 1.6.3
                  diff --git a/www/html/hourglasstimecontrol_8h_source.html b/www/html/hourglasstimecontrol_8h_source.html index 262759a..e8c95d7 100644 --- a/www/html/hourglasstimecontrol_8h_source.html +++ b/www/html/hourglasstimecontrol_8h_source.html @@ -95,7 +95,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
                  Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
                  Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  doxygen 1.6.3
                  diff --git a/www/html/index.html b/www/html/index.html index 3f537f8..bf6d6db 100644 --- a/www/html/index.html +++ b/www/html/index.html @@ -38,7 +38,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
                  -

                  Chess Clock

                  0.1

                  Author:
                  Arto Hyvättinen
                  +

                  Chess Clock

                  0.1

                  Author:
                  Arto Hyvättinen
                  +
                  Version:
                  1.1

                  Chess Clock

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

                  Copyright © Arto Hyvättinen 2010

                  @@ -60,7 +61,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
                  -
                  Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
                  Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  doxygen 1.6.3
                  diff --git a/www/html/main_8cpp.html b/www/html/main_8cpp.html index e222e4e..a142c3a 100644 --- a/www/html/main_8cpp.html +++ b/www/html/main_8cpp.html @@ -78,7 +78,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
                  -

                  Definition at line 52 of file main.cpp.

                  +

                  Definition at line 53 of file main.cpp.

                  @@ -97,7 +97,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
                  Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
                  Generated on Mon Sep 27 18:30:33 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 c64d7c6..e67b6aa 100644 --- a/www/html/main_8cpp_source.html +++ b/www/html/main_8cpp_source.html @@ -64,27 +64,27 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); 00020 **************************************************************************/ 00021 00022 -00049 #include <QtGui/QApplication> -00050 #include "chessclockwindow.h" -00051 -00052 int main(int argc, char *argv[]) -00053 { -00054 QApplication a(argc, argv); -00055 a.setApplicationName( a.tr("Chess Clock","Application name") ); -00056 a.setOrganizationName("Chess Clock"); -00057 a.setOrganizationDomain("chessclock.garage.maemo.org"); -00058 a.setApplicationVersion("0.2.0"); -00059 -00060 ChessClockWindow w; -00061 -00062 #if defined(Q_WS_S60) -00063 w.showMaximized(); -00064 #else -00065 w.show(); -00066 #endif -00067 -00068 return a.exec(); -00069 } +00050 #include <QtGui/QApplication> +00051 #include "chessclockwindow.h" +00052 +00053 int main(int argc, char *argv[]) +00054 { +00055 QApplication a(argc, argv); +00056 a.setApplicationName( a.tr("Chess Clock","Application name") ); +00057 a.setOrganizationName("Chess Clock"); +00058 a.setOrganizationDomain("chessclock.garage.maemo.org"); +00059 a.setApplicationVersion("1.1.0"); +00060 +00061 ChessClockWindow w; +00062 +00063 #if defined(Q_WS_S60) +00064 w.showMaximized(); +00065 #else +00066 w.show(); +00067 #endif +00068 +00069 return a.exec(); +00070 }
                  -
                  Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
                  Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  doxygen 1.6.3
                  diff --git a/www/html/notimecontrol_8cpp.html b/www/html/notimecontrol_8cpp.html index f54085e..cd425d3 100644 --- a/www/html/notimecontrol_8cpp.html +++ b/www/html/notimecontrol_8cpp.html @@ -69,7 +69,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
                  Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
                  Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  doxygen 1.6.3
                  diff --git a/www/html/notimecontrol_8cpp_source.html b/www/html/notimecontrol_8cpp_source.html index 3413aa9..b4ef259 100644 --- a/www/html/notimecontrol_8cpp_source.html +++ b/www/html/notimecontrol_8cpp_source.html @@ -124,7 +124,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
                  Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
                  Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  doxygen 1.6.3
                  diff --git a/www/html/notimecontrol_8h.html b/www/html/notimecontrol_8h.html index 79dd874..c6937eb 100644 --- a/www/html/notimecontrol_8h.html +++ b/www/html/notimecontrol_8h.html @@ -67,7 +67,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
                  Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
                  Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  doxygen 1.6.3
                  diff --git a/www/html/notimecontrol_8h_source.html b/www/html/notimecontrol_8h_source.html index cc28ea8..9f3ddc4 100644 --- a/www/html/notimecontrol_8h_source.html +++ b/www/html/notimecontrol_8h_source.html @@ -96,7 +96,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
                  Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
                  Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  doxygen 1.6.3
                  diff --git a/www/html/pages.html b/www/html/pages.html index 7509891..61f923c 100644 --- a/www/html/pages.html +++ b/www/html/pages.html @@ -57,7 +57,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
                  Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
                  Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  doxygen 1.6.3
                  diff --git a/www/html/screenlitkeeper_8cpp.html b/www/html/screenlitkeeper_8cpp.html new file mode 100644 index 0000000..af54427 --- /dev/null +++ b/www/html/screenlitkeeper_8cpp.html @@ -0,0 +1,71 @@ + + + + + +Chess Clock: /holvi/arto/ohjelmointi/ChessClock/chessclock/classes/screenlitkeeper.cpp File Reference + + + + + + + + + +
                  +

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

                  #include "screenlitkeeper.h"
                  + +

                  Go to the source code of this file.

                  +
  • /holvi/arto/ohjelmointi/ChessClock/chessclock/classes/chessclockwidget.h [code]
    /holvi/arto/ohjelmointi/ChessClock/chessclock/classes/clockswidget.cpp [code]
    /holvi/arto/ohjelmointi/ChessClock/chessclock/classes/clockswidget.h [code]
    /holvi/arto/ohjelmointi/ChessClock/chessclock/classes/screenlitkeeper.cpp [code]
    /holvi/arto/ohjelmointi/ChessClock/chessclock/classes/screenlitkeeper.h [code]
    /holvi/arto/ohjelmointi/ChessClock/chessclock/classes/startwidget.cpp [code]
    /holvi/arto/ohjelmointi/ChessClock/chessclock/classes/startwidget.h [code]
    /holvi/arto/ohjelmointi/ChessClock/chessclock/classes/timecontrol.h [code]
    +
    +
    + + + + +
    + +
    + +
    Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  + +doxygen 1.6.3
    + + diff --git a/www/html/screenlitkeeper_8cpp_source.html b/www/html/screenlitkeeper_8cpp_source.html new file mode 100644 index 0000000..f5c253a --- /dev/null +++ b/www/html/screenlitkeeper_8cpp_source.html @@ -0,0 +1,127 @@ + + + + + +Chess Clock: /holvi/arto/ohjelmointi/ChessClock/chessclock/classes/screenlitkeeper.cpp Source File + + + + + + + + + + + + + +
    + +
    + +
    Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  + +doxygen 1.6.3
    + + diff --git a/www/html/screenlitkeeper_8h.html b/www/html/screenlitkeeper_8h.html new file mode 100644 index 0000000..d020c27 --- /dev/null +++ b/www/html/screenlitkeeper_8h.html @@ -0,0 +1,75 @@ + + + + + +Chess Clock: /holvi/arto/ohjelmointi/ChessClock/chessclock/classes/screenlitkeeper.h File Reference + + + + + + + + + +
    +

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

    #include <QObject>
    +#include <QSystemScreenSaver>
    + +

    Go to the source code of this file.

    + + + + +

    Classes

    class  ScreenLitKeeper
     Allows keeping the sreen lit by disabling the screensaver. More...
    +
    + + + + +
    + +
    + +
    Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  + +doxygen 1.6.3
    + + diff --git a/www/html/screenlitkeeper_8h_source.html b/www/html/screenlitkeeper_8h_source.html new file mode 100644 index 0000000..faf7746 --- /dev/null +++ b/www/html/screenlitkeeper_8h_source.html @@ -0,0 +1,114 @@ + + + + + +Chess Clock: /holvi/arto/ohjelmointi/ChessClock/chessclock/classes/screenlitkeeper.h Source File + + + + + + + + + + + + + +
    + +
    + +
    Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  + +doxygen 1.6.3
    + + diff --git a/www/html/search/all_61.html b/www/html/search/all_61.html index a97b19b..89f2f32 100644 --- a/www/html/search/all_61.html +++ b/www/html/search/all_61.html @@ -7,45 +7,57 @@
    Loading...
    +
    +
    + about + ChessClockWindow +
    +
    +
    +
    + aboutQt + ChessClockWindow +
    +
    - additionLabel_ + additionLabel_ BasicDialog
    - addPause + addPause TurnInformation
    - addTimeControl + addTimeControl StartWidget
    - another_ + another_ ChessClock
    diff --git a/www/html/search/all_65.html b/www/html/search/all_65.html index 921a197..cae06e9 100644 --- a/www/html/search/all_65.html +++ b/www/html/search/all_65.html @@ -30,6 +30,12 @@ BasicDialog
    +
    +
    + eventFilter + ClocksWidget +
    +
    Searching...
    No Matches
    + + + diff --git a/www/html/search/all_70.html b/www/html/search/all_70.html index 5001261..4f9f813 100644 --- a/www/html/search/all_70.html +++ b/www/html/search/all_70.html @@ -16,66 +16,72 @@ +
    +
    + pauseButton_ + ClocksWidget +
    +
    - Paused + Paused ChessClock
    - paused_ + paused_ TurnInformation
    - pauseLabel_ + pauseLabel_ ClocksWidget
    - pauseTurn + pauseTurn ChessClock
    - perTurnLabel_ + perTurnLabel_ BasicDialog
    - picActive_ + picActive_ ChessClockWidget
    - picLoser_ + picLoser_ ChessClockWidget
    - picPassive_ + picPassive_ ChessClockWidget
    - pictureLabel_ + pictureLabel_ ChessClockWidget
    diff --git a/www/html/search/all_72.html b/www/html/search/all_72.html index 8f4bba5..36edecd 100644 --- a/www/html/search/all_72.html +++ b/www/html/search/all_72.html @@ -7,24 +7,36 @@
    Loading...
    +
    +
    + recentX + ClocksWidget +
    +
    +
    +
    + recentY + ClocksWidget +
    +
    - Running + Running ChessClock
    - RunningStatus + RunningStatus ChessClock
    diff --git a/www/html/search/all_73.html b/www/html/search/all_73.html index 7297774..3f80614 100644 --- a/www/html/search/all_73.html +++ b/www/html/search/all_73.html @@ -7,112 +7,131 @@
    Loading...
    + + +
    - selectControl + selectControl StartWidget
    - selected + selected StartWidget
    - setAnother + setAnother ChessClock
    - setEquals + setEquals BasicDialog
    - setGreenTime + setGreenTime ChessClockWidget
    - stack_ + stack_ ChessClockWindow
    - start_ + start_ ChessClockWindow
    - startGame + startGame ChessClockWindow
    - Stopped + Stopped ClocksWidget
    - stopPlay + stopPlay ClocksWidget
    - store + store BasicDialog
    diff --git a/www/html/search/all_76.html b/www/html/search/all_76.html new file mode 100644 index 0000000..fe9bf27 --- /dev/null +++ b/www/html/search/all_76.html @@ -0,0 +1,26 @@ + + + + + + + +
    +
    Loading...
    +
    +
    + visitWeb + ChessClockWindow +
    +
    +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/www/html/search/classes_73.html b/www/html/search/classes_73.html index 445824d..a13416d 100644 --- a/www/html/search/classes_73.html +++ b/www/html/search/classes_73.html @@ -7,9 +7,14 @@
    Loading...
    +
    Searching...
    diff --git a/www/html/search/files_73.html b/www/html/search/files_73.html index 0a81e88..45d49f4 100644 --- a/www/html/search/files_73.html +++ b/www/html/search/files_73.html @@ -7,14 +7,24 @@
    Loading...
    + +
    Searching...
    diff --git a/www/html/search/functions_61.html b/www/html/search/functions_61.html index 2976362..4f834d7 100644 --- a/www/html/search/functions_61.html +++ b/www/html/search/functions_61.html @@ -7,24 +7,36 @@
    Loading...
    +
    +
    + about + ChessClockWindow +
    +
    +
    +
    + aboutQt + ChessClockWindow +
    +
    - addPause + addPause TurnInformation
    - addTimeControl + addTimeControl StartWidget
    diff --git a/www/html/search/functions_65.html b/www/html/search/functions_65.html index df5cb8e..56e7c13 100644 --- a/www/html/search/functions_65.html +++ b/www/html/search/functions_65.html @@ -18,6 +18,12 @@
    +
    +
    + eventFilter + ClocksWidget +
    +
    Searching...
    No Matches
    +
    + + diff --git a/www/html/search/functions_73.html b/www/html/search/functions_73.html index 8607765..06a6cff 100644 --- a/www/html/search/functions_73.html +++ b/www/html/search/functions_73.html @@ -7,72 +7,78 @@
    Loading...
    +
    +
    + ScreenLitKeeper + ScreenLitKeeper +
    +
    - selectControl + selectControl StartWidget
    - selected + selected StartWidget
    - setAnother + setAnother ChessClock
    - setEquals + setEquals BasicDialog
    - setGreenTime + setGreenTime ChessClockWidget
    - startGame + startGame ChessClockWindow
    - StartWidget + StartWidget StartWidget
    - stopPlay + stopPlay ClocksWidget
    - store + store BasicDialog
    diff --git a/www/html/search/functions_76.html b/www/html/search/functions_76.html new file mode 100644 index 0000000..fe9bf27 --- /dev/null +++ b/www/html/search/functions_76.html @@ -0,0 +1,26 @@ + + + + + + + +
    +
    Loading...
    +
    +
    + visitWeb + ChessClockWindow +
    +
    +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/www/html/search/search.js b/www/html/search/search.js index 8898709..c080412 100644 --- a/www/html/search/search.js +++ b/www/html/search/search.js @@ -7,11 +7,11 @@ var indexSectionsWithContent = { - 0: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111111001110101111010000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + 0: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111111011110101111110000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", 1: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011101010000010000110010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", 2: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011101010000110000110010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", - 3: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111111000110101111010000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", - 4: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111110101001100100111010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + 3: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111111010110101111110000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + 4: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111110101011100101111010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", 5: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", 6: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000010101100010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" }; diff --git a/www/html/search/variables_6b.html b/www/html/search/variables_6b.html new file mode 100644 index 0000000..32b093e --- /dev/null +++ b/www/html/search/variables_6b.html @@ -0,0 +1,26 @@ + + + + + + + +
    +
    Loading...
    +
    +
    + keeper_ + ClocksWidget +
    +
    +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/www/html/search/variables_70.html b/www/html/search/variables_70.html index b2ed08f..9f62965 100644 --- a/www/html/search/variables_70.html +++ b/www/html/search/variables_70.html @@ -7,54 +7,60 @@
    Loading...
    +
    +
    + pauseButton_ + ClocksWidget +
    +
    - paused_ + paused_ TurnInformation
    - pauseLabel_ + pauseLabel_ ClocksWidget
    - perTurnLabel_ + perTurnLabel_ BasicDialog
    - picActive_ + picActive_ ChessClockWidget
    - picLoser_ + picLoser_ ChessClockWidget
    - picPassive_ + picPassive_ ChessClockWidget
    - pictureLabel_ + pictureLabel_ ChessClockWidget
    diff --git a/www/html/search/variables_72.html b/www/html/search/variables_72.html new file mode 100644 index 0000000..1492efb --- /dev/null +++ b/www/html/search/variables_72.html @@ -0,0 +1,32 @@ + + + + + + + +
    +
    Loading...
    +
    +
    + recentX + ClocksWidget +
    +
    +
    +
    + recentY + ClocksWidget +
    +
    +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/www/html/startwidget_8cpp.html b/www/html/startwidget_8cpp.html index e3bb5bf..8e49ba2 100644 --- a/www/html/startwidget_8cpp.html +++ b/www/html/startwidget_8cpp.html @@ -71,7 +71,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    -
    Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
    Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  doxygen 1.6.3
    diff --git a/www/html/startwidget_8cpp_source.html b/www/html/startwidget_8cpp_source.html index 5578648..4f9b1f4 100644 --- a/www/html/startwidget_8cpp_source.html +++ b/www/html/startwidget_8cpp_source.html @@ -86,53 +86,54 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); 00042 QLabel* logoLabel = new QLabel; 00043 logoLabel->setPixmap( QPixmap(":/rc/pic/logo.png")); 00044 -00045 QLabel* introLabel = new QLabel( tr("Select game mode")); +00045 QLabel* introLabel = new QLabel( tr("<b>Select game mode &rarr;</b>")); 00046 introLabel->setWordWrap(true); 00047 00048 QVBoxLayout* leftLayout = new QVBoxLayout; 00049 leftLayout->addWidget(titleLabel); -00050 leftLayout->addWidget(logoLabel); -00051 leftLayout->addWidget(copyLabel); -00052 -00053 modeSelect_ = new QListWidget(); -00054 modeSelect_->setViewMode(QListView::IconMode); -00055 modeSelect_->setMovement(QListView::Static); -00056 modeSelect_->setSelectionMode(QAbstractItemView::NoSelection); -00057 modeSelect_->setIconSize(QSize(64,64 )); -00058 -00059 connect( modeSelect_, SIGNAL(itemClicked(QListWidgetItem*)),this,SLOT(selectControl(QListWidgetItem*))); -00060 -00061 QVBoxLayout* rightLayout = new QVBoxLayout; -00062 rightLayout->addWidget(introLabel); -00063 rightLayout->addWidget(modeSelect_); -00064 -00065 QHBoxLayout* layout = new QHBoxLayout; -00066 layout->addLayout(leftLayout); -00067 layout->addLayout(rightLayout); -00068 +00050 leftLayout->addWidget(introLabel); +00051 leftLayout->addWidget(logoLabel); +00052 leftLayout->addWidget(copyLabel); +00053 +00054 modeSelect_ = new QListWidget(); +00055 modeSelect_->setViewMode(QListView::ListMode); +00056 modeSelect_->setMovement(QListView::Static); +00057 modeSelect_->setSelectionMode(QAbstractItemView::NoSelection); +00058 modeSelect_->setIconSize(QSize(40,40 )); +00059 +00060 connect( modeSelect_, SIGNAL(itemClicked(QListWidgetItem*)),this,SLOT(selectControl(QListWidgetItem*))); +00061 +00062 // QVBoxLayout* rightLayout = new QVBoxLayout; +00063 // rightLayout->addWidget(introLabel); +00064 // rightLayout->addWidget(modeSelect_); +00065 +00066 QHBoxLayout* layout = new QHBoxLayout; +00067 layout->addLayout(leftLayout); +00068 layout->addWidget(modeSelect_); 00069 -00070 setLayout( layout ); -00071 } -00072 -00073 void StartWidget::addTimeControl(TimeControl *tc) -00074 { -00075 timeControls_.append(tc); -00076 QListWidgetItem* item = new QListWidgetItem(modeSelect_); -00077 item->setText( tc->getName()); -00078 item->setIcon( tc->getIcon()); -00079 // Store index to UserRole -00080 item->setData(Qt::UserRole, timeControls_.size()-1); -00081 -00082 } -00083 -00084 void StartWidget::selectControl(QListWidgetItem *item) -00085 { -00086 int index=item->data(Qt::UserRole).toInt(); -00087 TimeControl* tc=timeControls_.at(index); -00088 emit selected(tc); -00089 -00090 } -00091 +00070 +00071 setLayout( layout ); +00072 } +00073 +00074 void StartWidget::addTimeControl(TimeControl *tc) +00075 { +00076 timeControls_.append(tc); +00077 QListWidgetItem* item = new QListWidgetItem(modeSelect_); +00078 item->setText( tc->getName()); +00079 item->setIcon( tc->getIcon()); +00080 // Store index to UserRole +00081 item->setData(Qt::UserRole, timeControls_.size()-1); +00082 +00083 } +00084 +00085 void StartWidget::selectControl(QListWidgetItem *item) +00086 { +00087 int index=item->data(Qt::UserRole).toInt(); +00088 TimeControl* tc=timeControls_.at(index); +00089 emit selected(tc); +00090 +00091 } +00092
    -
    Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
    Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  doxygen 1.6.3
    diff --git a/www/html/startwidget_8h.html b/www/html/startwidget_8h.html index 5aa9e2f..5315086 100644 --- a/www/html/startwidget_8h.html +++ b/www/html/startwidget_8h.html @@ -68,7 +68,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
    Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
    Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  doxygen 1.6.3
    diff --git a/www/html/startwidget_8h_source.html b/www/html/startwidget_8h_source.html index 5da179f..956373f 100644 --- a/www/html/startwidget_8h_source.html +++ b/www/html/startwidget_8h_source.html @@ -108,7 +108,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
    Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
    Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  doxygen 1.6.3
    diff --git a/www/html/timecontrol_8h.html b/www/html/timecontrol_8h.html index 84b708c..28e5761 100644 --- a/www/html/timecontrol_8h.html +++ b/www/html/timecontrol_8h.html @@ -68,7 +68,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
    Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
    Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  doxygen 1.6.3
    diff --git a/www/html/timecontrol_8h_source.html b/www/html/timecontrol_8h_source.html index 4f3c789..7ad6133 100644 --- a/www/html/timecontrol_8h_source.html +++ b/www/html/timecontrol_8h_source.html @@ -96,7 +96,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
    Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
    Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  doxygen 1.6.3
    diff --git a/www/html/todo.html b/www/html/todo.html index a5a3b56..3476b02 100644 --- a/www/html/todo.html +++ b/www/html/todo.html @@ -62,7 +62,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
    Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
    Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  doxygen 1.6.3
    diff --git a/www/html/turninformation_8cpp.html b/www/html/turninformation_8cpp.html index 246805e..b653b81 100644 --- a/www/html/turninformation_8cpp.html +++ b/www/html/turninformation_8cpp.html @@ -64,7 +64,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
    Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
    Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  doxygen 1.6.3
    diff --git a/www/html/turninformation_8cpp_source.html b/www/html/turninformation_8cpp_source.html index 06dcd2e..627fba9 100644 --- a/www/html/turninformation_8cpp_source.html +++ b/www/html/turninformation_8cpp_source.html @@ -116,7 +116,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
    Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
    Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  doxygen 1.6.3
    diff --git a/www/html/turninformation_8h.html b/www/html/turninformation_8h.html index 1410147..cd78f91 100644 --- a/www/html/turninformation_8h.html +++ b/www/html/turninformation_8h.html @@ -66,7 +66,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
    Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
    Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  doxygen 1.6.3
    diff --git a/www/html/turninformation_8h_source.html b/www/html/turninformation_8h_source.html index 358b77f..911a323 100644 --- a/www/html/turninformation_8h_source.html +++ b/www/html/turninformation_8h_source.html @@ -111,7 +111,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
    Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
    Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  doxygen 1.6.3
    diff --git a/www/html/welcomescreenwidget_8cpp.html b/www/html/welcomescreenwidget_8cpp.html index 7bd9712..c1481bb 100644 --- a/www/html/welcomescreenwidget_8cpp.html +++ b/www/html/welcomescreenwidget_8cpp.html @@ -69,7 +69,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
    Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
    Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  doxygen 1.6.3
    diff --git a/www/html/welcomescreenwidget_8cpp_source.html b/www/html/welcomescreenwidget_8cpp_source.html index 08605aa..d1aff26 100644 --- a/www/html/welcomescreenwidget_8cpp_source.html +++ b/www/html/welcomescreenwidget_8cpp_source.html @@ -106,7 +106,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
    Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
    Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  doxygen 1.6.3
    diff --git a/www/html/welcomescreenwidget_8h.html b/www/html/welcomescreenwidget_8h.html index 228b8d1..14540d7 100644 --- a/www/html/welcomescreenwidget_8h.html +++ b/www/html/welcomescreenwidget_8h.html @@ -67,7 +67,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
    Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
    Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  doxygen 1.6.3
    diff --git a/www/html/welcomescreenwidget_8h_source.html b/www/html/welcomescreenwidget_8h_source.html index c27d8e7..8868e78 100644 --- a/www/html/welcomescreenwidget_8h_source.html +++ b/www/html/welcomescreenwidget_8h_source.html @@ -96,7 +96,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
    Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by  +
    Generated on Mon Sep 27 18:30:33 2010 for Chess Clock by  doxygen 1.6.3
    -- 1.7.9.5