paysages3d/gui_qt/inputcamera.h
2012-07-10 15:38:12 +00:00

28 lines
481 B
C++

#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;
};
#endif