#ifndef IMAGEZOOMANDGRAY_H #define IMAGEZOOMANDGRAY_H #include #include #include #include #include #include #include class ImageZoomAndGray : public QObject { Q_OBJECT public: QList imageFileNames; explicit ImageZoomAndGray(QObject* parent = nullptr); int zoomWidth() const; void setZoomWidth(int zoomWidth); int zoomHeight() const; void setZoomHeight(int zoomHeight); QString exportFolder() const; void setExportFolder(const QString& exportFolder); void startProc(); void openFolder(QString path); QImage toGray(QImage image); signals: private: int m_zoomWidth; int m_zoomHeight; QString m_exportFolder; }; #endif // IMAGEZOOMANDGRAY_H