|
@@ -60,6 +60,7 @@ Experiment::Experiment ():QMainWindow()
|
|
|
|
|
|
waLeft = new WorkArea (((screenWidth-spaceInBetween)/2), screenHeight, central);
|
|
|
waLeft->setContentsMargins(0, 0, 0, 0);
|
|
|
+ connect(waLeft, SIGNAL(click()), this, SLOT(leftImage()));
|
|
|
layoutH1->addWidget(waLeft);
|
|
|
|
|
|
QWidget *w1SpaceInBetween = new QWidget(central);
|
|
@@ -69,6 +70,7 @@ Experiment::Experiment ():QMainWindow()
|
|
|
|
|
|
waRight = new WorkArea (((screenWidth-spaceInBetween)/2), screenHeight, central);
|
|
|
waRight->setContentsMargins(0, 0, 0, 0);
|
|
|
+ connect(waRight, SIGNAL(click()), this, SLOT(rightImage()));
|
|
|
layoutH1->addWidget(waRight);
|
|
|
|
|
|
// second line of interface
|
|
@@ -265,7 +267,11 @@ Experiment::openNext (){
|
|
|
QFile fout((*resultPath)+"/"+(*suffix)+QString::fromStdString (".json"));
|
|
|
fout.open(QIODevice::WriteOnly);
|
|
|
fout.write(ba);
|
|
|
+
|
|
|
|
|
|
+ QMessageBox msgBox;
|
|
|
+ msgBox.setText("That's all folks !\n\nThank you for your participation !");
|
|
|
+ msgBox.exec();
|
|
|
QApplication::quit();
|
|
|
}
|
|
|
else
|