#ifndef ALBUM_H #define ALBUM_H #include #include #include #include #include #include #include "flyme/flyme.h" #include QT_BEGIN_NAMESPACE namespace Ui { class album; } QT_END_NAMESPACE class FloatingButton; class album : public QMainWindow { Q_OBJECT public: album(QWidget *parent = nullptr); ~album(); bool eventFilter(QObject *watch, QEvent *evn); //事件监听函数 QLabel *showapp; private: Ui::album *ui; /*图片的标号*/ int image_num; /*图片的路劲*/ QString image_path; FloatingButton *floatingbutton; int image_max=10; int i; void album_init(); private slots: /*悬浮球 */ void onButtonPressed(); signals: void album_close(bool t); }; #endif // ALBUM_H