|
@@ -30,7 +30,8 @@
|
|
|
#include <QFont>
|
|
|
|
|
|
Chronometre::Chronometre (const QString & nom , QWidget * parent = 0) : QGroupBox (nom , parent) {
|
|
|
- heure = 0;
|
|
|
+ setFlat(false);
|
|
|
+ heure = 0;
|
|
|
minute = 0;
|
|
|
seconde = 0;
|
|
|
centieme = 0;
|
|
@@ -47,14 +48,16 @@ Chronometre::Chronometre (const QString & nom , QWidget * parent = 0) : QGroupBo
|
|
|
ecranCentieme->setFont(font);
|
|
|
|
|
|
ecranLayout = new QHBoxLayout;
|
|
|
- ecranLayout->addWidget(ecranHeure, Qt::AlignLeft);
|
|
|
+ ecranLayout->addWidget(ecranHeure);
|
|
|
ecranLayout->addWidget(new QLabel(":"));
|
|
|
- ecranLayout->addWidget(ecranMinute , Qt::AlignLeft);
|
|
|
+ ecranLayout->addWidget(ecranMinute);
|
|
|
ecranLayout->addWidget(new QLabel(":"));
|
|
|
- ecranLayout->addWidget(ecranSeconde, Qt::AlignLeft);
|
|
|
+ ecranLayout->addWidget(ecranSeconde);
|
|
|
ecranLayout->addWidget(new QLabel(":"));
|
|
|
- ecranLayout->addWidget(ecranCentieme, Qt::AlignLeft);
|
|
|
-
|
|
|
+ ecranLayout->addWidget(ecranCentieme);
|
|
|
+ ecranLayout->addSpacing(40);
|
|
|
+ //ecranLayout->addStretch(-1);
|
|
|
+
|
|
|
setLayout (ecranLayout);
|
|
|
|
|
|
affichage();
|