#ifndef PICTURE_H #define PICTURE_H #include #include #include #include "ui_picture.h" #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include namespace Ui { class Picture; class Preview; } class Picture : public QMainWindow { Q_OBJECT public: explicit Picture(QWidget *parent = nullptr); ~Picture(); private slots: void changeDirectory(); void fillList(); void on_cd_clicked(); void on_refresh_clicked(); void on_clearLog_clicked(); void on_processButton_clicked(); void on_processButton_pressed(); void on_fileList_currentItemChanged(QListWidgetItem *current, QListWidgetItem *previous); private: Ui::Picture *ui; QDir directory; protected: void dragEnterEvent(QDragEnterEvent *event); void dropEvent(QDropEvent *event); }; #endif // PICTURE_H