TerrainParamDialog.h 747 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
#ifndef TERRAINPARAMDIALOG_H
#define TERRAINPARAMDIALOG_H

#include <QDoubleSpinBox>
#include <QDialog>
#include <QVBoxLayout>

#include "GlobalViewParams.h"

class TerrainParamDialog : public QDialog
{
    Q_OBJECT

public:
    TerrainParamDialog(QWidget* parent = 0);

    static void getTerrainParams(GlobalViewParamsPtr& globalViewParams);

private slots:
    void closeWithSaving(void);
    void closeWithoutSaving(void);

private:
    void buildLayout(QVBoxLayout* layout);

    QDoubleSpinBox* mXOffsetSpinBox;
    QDoubleSpinBox* mYOffsetSpinBox;
    QDoubleSpinBox* mZOffsetSpinBox;
29 30
    QDoubleSpinBox* mRollOffsetSpinBox;
    QDoubleSpinBox* mPitchOffsetSpinBox;
31 32 33 34
    QDoubleSpinBox* mYawOffsetSpinBox;
};

#endif // TERRAINPARAMDIALOG_H