Sfoglia il codice sorgente

Ajout d'un message de bienvenue

Rémi Synave 2 anni fa
parent
commit
47925e6dfb
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  1. 4 0
      csl/Experiment.cpp

+ 4 - 0
csl/Experiment.cpp

@@ -110,6 +110,10 @@ Experiment::Experiment ():QMainWindow()
   
   setFixedSize (screenWidth, screenHeight);
 
+  QMessageBox msgBox;
+  msgBox.setText("Welcome !\nYou are about to take part in an experiment.\nFor instructions, please refer to the pdf available in the same folder as this software.\n\nWhen you're ready, start the experiment with:\nFile -> Start\nor\nCTRL+S.\n\nThank you.");
+  msgBox.exec();
+
 }
 
 void