2012-06-08 12:54:57 +00:00
|
|
|
#ifndef _PAYSAGES_QT_DIALOGEXPLORER_H_
|
|
|
|
#define _PAYSAGES_QT_DIALOGEXPLORER_H_
|
|
|
|
|
2013-11-14 20:46:47 +00:00
|
|
|
#include "desktop_global.h"
|
2013-11-12 20:34:35 +00:00
|
|
|
|
2012-06-08 12:54:57 +00:00
|
|
|
#include <QDialog>
|
2013-11-05 10:45:26 +00:00
|
|
|
|
2014-01-04 10:43:40 +00:00
|
|
|
class QSlider;
|
|
|
|
|
2012-06-08 12:54:57 +00:00
|
|
|
class DialogExplorer : public QDialog
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
2013-12-10 22:06:57 +00:00
|
|
|
explicit DialogExplorer(QWidget *parent, CameraDefinition* camera, bool camera_validable=false, Scenery* scenery=0);
|
2012-06-08 12:54:57 +00:00
|
|
|
~DialogExplorer();
|
|
|
|
|
|
|
|
protected slots:
|
|
|
|
void validateCamera();
|
2014-01-04 10:43:40 +00:00
|
|
|
void resetCamera();
|
2013-12-30 13:59:42 +00:00
|
|
|
void fovChanged(int value);
|
2012-06-08 12:54:57 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
WidgetExplorer* _wanderer;
|
2014-01-04 10:43:40 +00:00
|
|
|
QSlider* _fov;
|
2012-06-08 12:54:57 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|