You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
630 B
36 lines
630 B
6 months ago
|
#ifndef ALBUM_H
|
||
|
#define ALBUM_H
|
||
|
|
||
|
#include <QMainWindow>
|
||
|
#include <QPropertyAnimation>
|
||
|
#include <QParallelAnimationGroup>
|
||
|
#include <QDebug>
|
||
|
#include <QMouseEvent>
|
||
|
#include <QString>
|
||
|
|
||
|
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
|