diff --git a/data/parcours2.json b/data/parcours2.json
index 6ed3056..8e4e563 100644
--- a/data/parcours2.json
+++ b/data/parcours2.json
@@ -1,19 +1,14 @@
{
- "name": "Chemin des Saveurs",
"city": "Bourg en Bresse",
- "departement": 1,
+ "departement": "1",
"difficulty": 3,
"duration": 3.8,
- "length": 24.6,
- "description": "Parcours gourmand et culturel entre ville et campagne, à la découverte des trésors cachés de Bourg en Bresse.",
"image": "data/parcours1.png",
+ "length": 24.6,
+ "name": "Chemin des",
"steps": [
{
- "numero": 1,
- "title": "Départ au centre-ville",
- "GPS": "N 46 12.321 E 5 13.245",
- "indice": "Sous la grande horloge, cherchez la plaque dorée.",
- "reponse": "Horloge",
+ "GPS": "N 46 12.321 E 5 13.245",
"dialogue": [
{
"personnage": "Clémentine",
@@ -23,14 +18,13 @@
"personnage": "Léo",
"texte": "Regardez cette magnifique horloge, elle date du XIXe siècle !"
}
- ]
+ ],
+ "numero": 1,
+ "reponse": 0,
+ "title": "Départ au centre-ville"
},
{
- "numero": 2,
- "title": "Marché couvert",
- "GPS": "N 46 12.500 E 5 13.800",
- "indice": "Le nombre de colonnes à l'entrée principale vous donnera la solution.",
- "reponse": 6,
+ "GPS": "N 46 12.500 E 5 13.800",
"dialogue": [
{
"personnage": "Aurélie",
@@ -40,14 +34,13 @@
"personnage": "Sami",
"texte": "Combien de colonnes vois-tu à l'entrée ?"
}
- ]
+ ],
+ "numero": 2,
+ "reponse": 6,
+ "title": "Marché couvert"
},
{
- "numero": 3,
- "title": "Au bord de la Reyssouze",
- "GPS": "N 46 12.900 E 5 13.900",
- "indice": "Sous le vieux pont de pierre, cherchez une gravure effacée.",
- "reponse": "1912",
+ "GPS": "N 46 12.900 E 5 13.900",
"dialogue": [
{
"personnage": "Juliette",
@@ -57,14 +50,13 @@
"personnage": "Marc",
"texte": "Regarde cette inscription ancienne sur la pierre, tu arrives à la lire ?"
}
- ]
+ ],
+ "numero": 3,
+ "reponse": 0,
+ "title": "Au bord de la Reyssouze"
},
{
- "numero": 4,
- "title": "Arrivée à l'abbaye",
- "GPS": "N 46 13.024 E 5 14.160",
- "indice": "L'année inscrite au-dessus du portail principal.",
- "reponse": 1655,
+ "GPS": "N 46 13.024 E 5 14.160",
"dialogue": [
{
"personnage": "Claire",
@@ -74,7 +66,10 @@
"personnage": "Nathalie",
"texte": "C'est ici la dernière étape. Observez bien la date !"
}
- ]
+ ],
+ "numero": 4,
+ "reponse": 1655,
+ "title": "Arrivée à l'abbaye"
}
]
}
diff --git a/mainwindow.cpp b/mainwindow.cpp
index 11ca58c..9129fa2 100644
--- a/mainwindow.cpp
+++ b/mainwindow.cpp
@@ -22,7 +22,7 @@ MainWindow::MainWindow(QWidget *parent)
, Clipboard(QGuiApplication::clipboard())
{
ui->setupUi(this);
- currentPath = new Path();
+ //currentPath = new Path();
connect(ui->titleEdit, &QLineEdit::editingFinished, this, [this]() {
static QString previousText;
diff --git a/mainwindow.ui b/mainwindow.ui
index bc8e24e..d69d464 100644
--- a/mainwindow.ui
+++ b/mainwindow.ui
@@ -79,7 +79,7 @@
- QFrame::NoFrame
+ QFrame::Shape::NoFrame
-
@@ -124,7 +124,7 @@
-
-
+
@@ -333,7 +333,7 @@
- QFrame::NoFrame
+ QFrame::Shape::NoFrame
-
@@ -480,7 +480,7 @@
0
0
800
- 21
+ 23