Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
Executable
+89
@@ -0,0 +1,89 @@
|
||||
/**
|
||||
**
|
||||
** @RDE_HEADER@
|
||||
** Dialog to define some meta data of a plan.
|
||||
** $Id$
|
||||
** $HeadURL$
|
||||
** $Author$
|
||||
**
|
||||
** -----------------------------------------------------------------------------------------------
|
||||
**
|
||||
** Hardware-Environment: Intel-PC
|
||||
** Software-Environment: Windows 7, Qt 5.4. ArcGIS 100
|
||||
**
|
||||
** Language ........: C++ 11
|
||||
**
|
||||
** -----------------------------------------------------------------------------------------------
|
||||
**
|
||||
** Author ...........: Jörg Turla, SPD G, Tel. 3132
|
||||
**
|
||||
** -----------------------------------------------------------------------------------------------
|
||||
**
|
||||
** Notes .........:
|
||||
**
|
||||
** 24.02.2017, JT : First edition for use with Qt5
|
||||
**
|
||||
** -----------------------------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
#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);
|
||||
|
||||
}; // SelectionWorker
|
||||
|
||||
|
||||
} // namespace MetaDataDialog
|
||||
Reference in new issue
Block a user