Subversion Repository Public Repository

Fangh

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 FENETREMAP_H
#define FENETREMAP_H

#include <QtGui>
#include "IWidget.h"
#include <vector>
#include <map>

using namespace std;

class FenetreMap : public IWidget {

    Q_OBJECT

public:
   FenetreMap();
   FenetreMap(MainWindow * _parent, QString &_imageName);
   ~FenetreMap();

private slots:
    void connectEnigme1();
    void connectEnigme2();
    void connectOffrebd();
    void connectOffrebg();
    void connectOffrehd();
    void connectOffrehg();
    void connectOffrech();
    void connectMaison();

private:
    void creerBoutons();

    QPushButton *maison;
    QPushButton *tourBD;
    QPushButton *tourBG;
    QPushButton *tourHD;
    QPushButton *tourHG;
    QPushButton *chateau;
    QPushButton *enigme1;
    QPushButton *enigme2;
    IWidget * zonesEnigmes;
    QLabel *imgMap;
    QLabel *imgGob;

    std::map<QPushButton *, std::vector<const Tour *> > lesPositions;
};


#endif // FENETREMAP_H

Commits for Fangh/trunk/FenetreMap.h

Diff revisions: vs.
Revision Author Commited Message
42 Diff Diff Mily81 picture Mily81 Fri 05 Mar, 2010 01:28:16 +0000
31 Diff Diff Mily81 picture Mily81 Sun 28 Feb, 2010 14:33:05 +0000

et voilou toujours quelques pb a regarder mais fini
dans l’ensemble, Willy j’ai un bug quand je clique
sur “quitter” dans fenetre Enigme regerde si j’aurais
pas modif quelque chose sans faire exprès

27 Diff Diff Mily81 picture Mily81 Sat 27 Feb, 2010 23:46:14 +0000

Voilou encore un avancement du projet, reste plus qu’une
partie du drag and drop à finir et le déplacement du petit
gobelin

11 Diff Diff Mily81 picture Mily81 Fri 19 Feb, 2010 13:44:15 +0000

changement

10 Mily81 picture Mily81 Fri 19 Feb, 2010 13:01:31 +0000

et voilou des interfaces ...