This commit is contained in:
Manuel
2019-01-21 20:58:05 +01:00
parent 621681dd05
commit 08e159eb8e
10 changed files with 303 additions and 0 deletions

24
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