#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; int screenWidth, screenHeight; QMenu *fileMenu; QAction *openAct; QAction *exitAct; WorkArea *waLeft; WorkArea *waRight; QPushButton *leftButton, *rightButton; QProgressBar *progressBar; QTimer *timer; QStringList *filenames; QStringList *filenames_json; int openedImage; QString *suffix_IA = new QString("_algo"); QString *suffix; void createActions (); void createMenus (); private slots: void open (); void leftImage(); void rightImage(); // void progressBarValueChanged(int value); // void ticTimer(); public: Experiment (); void openNext (); }; #endif