#ifndef ALBUM_H #define ALBUM_H #include #include #include #include #include #include QT_BEGIN_NAMESPACE namespace Ui { class album; } QT_END_NAMESPACE class album : public QMainWindow { Q_OBJECT public: album(QWidget *parent = nullptr); ~album(); bool eventFilter(QObject *watch, QEvent *evn); //事件监听函数 private: Ui::album *ui; /*图片的标号*/ int image_num; /*图片的路劲*/ QString image_path; int image_max=10; int i; void album_init(); }; #endif // ALBUM_H