haraldhv
/
aigo
Archived
1
0
Fork 0
This repository has been archived on 2024-07-04. You can view files and clone it, but cannot push or open issues or pull requests.
aigo/qt/aigoqt.h

41 lines
700 B
C++

#ifndef _AIGOQT_H_
#define _AIGOQT_H_
#include <QMainWindow>
#include <ui_main.h>
#include <quickcam.h>
#include <QTimer>
#include <settings.h>
class AigoQt : public QMainWindow, public Ui::AigoQt
{
Q_OBJECT
public:
AigoQt(QWidget *parent = NULL);
virtual ~AigoQt( void );
private slots:
void on_buttonSetCorners_clicked( void );
void on_buttonGenerateState_clicked( void );
void on_sliderWhite_valueChanged(int value);
void on_sliderBlack_valueChanged(int value);
void on_buttonDrawPoints_clicked( void );
void handleCornerClicked(int x, int y);
void updateImage();
private:
Quickcam *cam;
QTimer *timer;
Settings settings;
};
#endif /* ifndef _AIGOQT_H_ */