123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- #ifndef DEF_MAFENETRE
- #define DEF_MAFENETRE
-
- #include <QWidget>
- class Chronometre;
- class QVBoxLayout;
- class QHBoxLayout;
- class QPushButton;
- class MaFenetre : public QWidget {
- Q_OBJECT
- public:
- MaFenetre();
- void etatBoutons (bool bouton1 , bool bouton2 , bool bouton3 , bool bouton4);
- private slots:
- void demarrer ();
- void switcher ();
- void init ();
- void arreter ();
-
- private:
- void keyReleaseEvent (QKeyEvent * evenement);
-
- bool marche;
-
- Chronometre *chrono1;
- Chronometre *chrono2;
- QHBoxLayout *layoutChrono;
- QHBoxLayout *layoutBoutons;
- QVBoxLayout *layoutComplet;
- QPushButton *boutonQuitter;
- QPushButton *boutonDemarrer;
- QPushButton *boutonSwitch;
- QPushButton *boutonArreter;
- QPushButton *boutonInit;
- QHBoxLayout *layoutBoutonSwitch;
- };
- #endif
|