-
Notifications
You must be signed in to change notification settings - Fork 0
/
fenprincipale.h
49 lines (32 loc) · 1007 Bytes
/
fenprincipale.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#ifndef FENPRINCIPALE_H
#define FENPRINCIPALE_H
#include "global.h"
#include "mychamp.h"
class FenPrincipale : public QWidget
{
Q_OBJECT
public:
FenPrincipale(int n);
void keyPressEvent(QKeyEvent * event);
private slots:
void JouerLocal(int i);
void durationChanged(int duration);
void positionChanged(int progress);
void seek(int seconds);
void Reinit();
void CouperLocal();
void FonduLocal();
private:
int nbHymnes, m_duration;
const static int temps_fondu{5}, nbUsuels{14};
const char *urls[nbUsuels], *bouttons[nbUsuels];
QVBoxLayout *boxes[nbUsuels], *layBouttons, *layC, *layR, *layMarches;
MyChamp** m_hymnes;
QGroupBox *m_pistes, *m_usuels, *m_ordres, *m_accomp, *m_regl, *m_marches;
QPushButton *m_reinit, *m_quit;
QSlider *m_slider;
QLabel *m_labelDuration;
void updateDurationInfo(int currentInfo);
void setArrays();
};
#endif // FENPRINCIPALE_H