Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
+77
@@ -0,0 +1,77 @@
|
||||
/**
|
||||
**
|
||||
** @RDE_HEADER@
|
||||
** plan_overlay_view.h
|
||||
** $Id$
|
||||
** $HeadURL$
|
||||
** $Author$
|
||||
**
|
||||
** -----------------------------------------------------------------------------------------------
|
||||
**
|
||||
** Hardware-Environment: Intel-PC
|
||||
** Software-Environment: Windows 7, Qt 5.7. ArcGIS 100
|
||||
**
|
||||
** Language ........: C++ 11
|
||||
**
|
||||
** -----------------------------------------------------------------------------------------------
|
||||
**
|
||||
** Author ...........: Jörg Turla, SPD G, Tel. 3132
|
||||
**
|
||||
** -----------------------------------------------------------------------------------------------
|
||||
**
|
||||
** Notes .........:
|
||||
**
|
||||
** 11.07.2017, JT : First edition for use with Qt5
|
||||
**
|
||||
** -----------------------------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <QtWidgets/QTableView>
|
||||
|
||||
|
||||
namespace PlanOverlaysPlugin
|
||||
{
|
||||
class PlanOverlayModel;
|
||||
|
||||
class PlanOverlayView final : public QTableView
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
|
||||
explicit PlanOverlayView(PlanOverlayModel *model, QWidget *parent = nullptr);
|
||||
~PlanOverlayView();
|
||||
|
||||
signals:
|
||||
|
||||
void requestReloadPlanById(int planId);
|
||||
void requestReloadPlanByName(const QString &planName);
|
||||
void requestUnloadPlan(int planId);
|
||||
|
||||
void requestMinScale(int planId, const QString &planName);
|
||||
void requestMaxScale(int planId, const QString &planName);
|
||||
|
||||
public slots:
|
||||
|
||||
void onSetMinScale();
|
||||
void onSetMaxScale();
|
||||
void onChangeLayerOrderUp();
|
||||
void onChangeLayerOrderDown();
|
||||
void onChangeLayerOpacity(int);
|
||||
|
||||
void onReloadOverlayById();
|
||||
void onReloadOverlayByName();
|
||||
void onUnloadOverlay();
|
||||
|
||||
protected:
|
||||
|
||||
void onLayoutChanged();
|
||||
|
||||
int getPlanKeyIdOfRow(int row) const;
|
||||
QString getPlanNameOfRow(int row) const;
|
||||
|
||||
}; // PlanOverlayView
|
||||
|
||||
} // namespace PlanOverlaysPlugin
|
||||
Reference in new issue
Block a user