This commit is contained in:
Manuel
2019-01-21 21:00:00 +01:00
parent 08e159eb8e
commit 39047e6470
8 changed files with 1 additions and 1 deletions

24
src/imageselector.h Normal file
View File

@@ -0,0 +1,24 @@
#ifndef IMAGESELECTOR_H
#define IMAGESELECTOR_H
#include <QObject>
#include <QTimer>
#include <iostream>
class MainWindow;
class ImageSelector : public QObject
{
Q_OBJECT
public:
ImageSelector(MainWindow& w, unsigned int timeout, std::string path);
void start();
public slots:
void updateImage();
private:
MainWindow& window;
unsigned int timeout;
std::string path;
QTimer timer;
};
#endif // IMAGESELECTOR_H