#ifndef EXPERIMENT_HPP #define EXPERIMENT_HPP #include #include #include #include #include #include #include #include "WorkArea.hpp" class Experiment: public QMainWindow { Q_OBJECT private: const int spaceInBetween = 20; const int time = 100; const int maxProgressBar = 100; const QString *suffix_IA = new QString("_algo"); int screenWidth, screenHeight; char algo_side; bool dNFixed; bool expeInit; QMenu *fileMenu; QAction *startAct; QAction *exitAct; WorkArea *waLeft; WorkArea *waRight; QPushButton *leftButton, *rightButton; QProgressBar *progressBar; QTimer *timer; QStringList *filenames; QStringList *filenames_json; int openedImage; QString *suffix; QStringList *choice; void createActions (); void createMenus (); private slots: void start (); void leftImage(); void rightImage(); public: Experiment (); void openNext (); }; #endif