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

44 lines
746 B
C++

#ifndef _AIGOQT_H_
#define _AIGOQT_H_
#include <QMainWindow>
#include <ui_main.h>
#include <quickcam.h>
#include <staticcam.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:
StaticCam *cam;
QTimer *timer;
Settings settings;
SDL_Surface *copy;
};
#endif /* ifndef _AIGOQT_H_ */