cleanup
This commit is contained in:
24
src/imageselector.h
Normal file
24
src/imageselector.h
Normal 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
|
||||
Reference in New Issue
Block a user