65 lines
880 B
C++
Executable File
65 lines
880 B
C++
Executable File
|
|
|
|
|
|
#pragma once
|
|
|
|
#include "plan_editor_internal.h"
|
|
|
|
#include <LtsWidgets/lts_dialog.h>
|
|
|
|
#include <QtCore/QObject>
|
|
|
|
|
|
namespace SituationMap
|
|
{
|
|
|
|
class Map;
|
|
|
|
namespace RB
|
|
{
|
|
class Rubberband;
|
|
}
|
|
}
|
|
|
|
|
|
namespace PlanEditor
|
|
{
|
|
class PlanEditor;
|
|
|
|
class MetaDataDialog : public LtsWidgets::LtsDialog
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
|
|
explicit MetaDataDialog(PlanEditor *planEditor
|
|
, SituationMap::GeometryModel *geometryModel
|
|
, SituationMap::Map *map
|
|
, QWidget *parent
|
|
);
|
|
|
|
virtual ~MetaDataDialog();
|
|
|
|
protected:
|
|
|
|
bool apply() override;
|
|
|
|
private:
|
|
void retranslate() override;
|
|
|
|
class Internal;
|
|
|
|
Internal *m_internal;
|
|
|
|
private slots:
|
|
|
|
void onGetMinScaleFromMap(bool);
|
|
void onGetMaxScaleFromMap(bool);
|
|
|
|
void onScaleTo(bool);
|
|
|
|
};
|
|
|
|
|
|
}
|