2012-01-27 23:01:21 +00:00
|
|
|
#ifndef _PAYSAGES_QT_INPUTCAMERA_H_
|
|
|
|
#define _PAYSAGES_QT_INPUTCAMERA_H_
|
|
|
|
|
|
|
|
#include <QWidget>
|
|
|
|
#include "baseinput.h"
|
|
|
|
|
|
|
|
#include "../lib_paysages/camera.h"
|
|
|
|
|
|
|
|
class InputCamera:public BaseInput
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
InputCamera(QWidget* form, QString label, CameraDefinition* value);
|
|
|
|
|
|
|
|
public slots:
|
|
|
|
virtual void updatePreview();
|
|
|
|
virtual void applyValue();
|
|
|
|
virtual void revert();
|
|
|
|
|
|
|
|
private slots:
|
|
|
|
void editCamera();
|
|
|
|
|
|
|
|
private:
|
|
|
|
CameraDefinition* _value;
|
|
|
|
};
|
|
|
|
|
2012-07-10 15:38:12 +00:00
|
|
|
#endif
|