1
0
Fork 0
Diplomový projekt
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.
 
 
 
 
 
raytracer/imgview.h

22 lines
414 B

#ifndef IMGVIEW_H
#define IMGVIEW_H
#include <QLabel>
class ImgView : public QLabel
{
Q_OBJECT
QList<QImage> frames;
int current;
public:
explicit ImgView(QWidget *parent = 0);
void setFrames(QList<QImage> _frames);
int numFrames();
void saveFrames(const QString &path);
public slots:
void nextFrame();
void prevFrame();
void showFrame(int frame);
};
#endif // IMGVIEW_H