41 lines
700 B
C++
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_ */
|