|
@@ -38,6 +38,7 @@ Chronometre::Chronometre (const QString & nom, Couleur unecouleur, QTime const&
|
|
temps(tempsDepart),
|
|
temps(tempsDepart),
|
|
msTempsDepart(tempsDepart)
|
|
msTempsDepart(tempsDepart)
|
|
{
|
|
{
|
|
|
|
+ setDisabled(true);
|
|
QHBoxLayout *layoutPrincipal = new QHBoxLayout;
|
|
QHBoxLayout *layoutPrincipal = new QHBoxLayout;
|
|
labelPion = new QLabel;
|
|
labelPion = new QLabel;
|
|
pion = new QPixmap();
|
|
pion = new QPixmap();
|
|
@@ -116,10 +117,12 @@ void Chronometre::refresh () {
|
|
}
|
|
}
|
|
|
|
|
|
void Chronometre::start () {
|
|
void Chronometre::start () {
|
|
|
|
+ setEnabled(true);
|
|
timer->start ();
|
|
timer->start ();
|
|
}
|
|
}
|
|
|
|
|
|
void Chronometre::stop () {
|
|
void Chronometre::stop () {
|
|
|
|
+ setDisabled(true);
|
|
timer->stop();
|
|
timer->stop();
|
|
}
|
|
}
|
|
|
|
|