Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
@@ -0,0 +1,87 @@
|
||||
/**
|
||||
* @RDE_HEADER@
|
||||
* Declaration/Definition
|
||||
* $Id$
|
||||
* $HeadURL$
|
||||
* $Author$
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
namespace EsriRuntimeQt
|
||||
{
|
||||
class MapGraphicsView;
|
||||
}
|
||||
|
||||
// Esri
|
||||
#include <arcgis/Map.h>
|
||||
|
||||
//Uncommented layer(s) needed
|
||||
#include <arcgis/ArcGISTiledMapServiceLayer.h>
|
||||
#include <arcgis/ArcGISLocalTiledLayer.h>
|
||||
#include <arcgis/GraphicsLayer.h>
|
||||
#include <arcgis/Geoprocessor.h>
|
||||
|
||||
#include <QProgressDialog>
|
||||
#include <QLineEdit>
|
||||
|
||||
|
||||
#include <QMainWindow>
|
||||
|
||||
//#include <MapImpl/viewshed_base.h>
|
||||
|
||||
|
||||
|
||||
class mainwindow : public QMainWindow
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
mainwindow (QWidget *parent = 0);
|
||||
~mainwindow ();
|
||||
|
||||
public slots:
|
||||
void onMapReady();
|
||||
void onMousePressRelease(QMouseEvent& event);
|
||||
|
||||
void onGpExecuteComplete(const QList<EsriRuntimeQt::GPParameter*>& result);
|
||||
void onGpError(const EsriRuntimeQt::ServiceError& error);
|
||||
|
||||
void onGpSubmitJobComplete(const EsriRuntimeQt::GPJobResource& jobResource);
|
||||
void onGpJobStatusComplete(const EsriRuntimeQt::GPJobResource&);
|
||||
|
||||
void onGpResultComplete(EsriRuntimeQt::GPParameter* outputParameter);
|
||||
void onGpServiceInfoComplete(EsriRuntimeQt::GPServiceInfo serviceInfo);
|
||||
|
||||
void onGpSubmitJobAndGetResultComplete(const EsriRuntimeQt::GPJobResource&, const QList<EsriRuntimeQt::GPParameter*>& results);
|
||||
|
||||
|
||||
void onStatusUpdated(const EsriRuntimeQt::GPJobResource& jobResource, const QList<EsriRuntimeQt::GPMessage> &msgList);
|
||||
|
||||
void onGpTaskInfoComplete(const EsriRuntimeQt::GPTaskInfo&);
|
||||
|
||||
|
||||
private:
|
||||
EsriRuntimeQt::Map *m_map = nullptr;
|
||||
EsriRuntimeQt::MapGraphicsView *m_mapGraphicsView = nullptr;
|
||||
EsriRuntimeQt::ArcGISTiledMapServiceLayer* m_tiledServiceLayer;
|
||||
EsriRuntimeQt::ArcGISLocalTiledLayer *m_tiledLayer = nullptr;
|
||||
EsriRuntimeQt::GraphicsLayer *m_graphicsLayer = nullptr;
|
||||
|
||||
|
||||
EsriRuntimeQt::Geoprocessor *m_geoprocessor = nullptr;
|
||||
EsriRuntimeQt::SpatialReference m_srMap;
|
||||
QTimer *m_timer = nullptr;
|
||||
|
||||
QProgressDialog *m_progressDialog = nullptr;
|
||||
QLineEdit *m_textDistanceLineEdit = nullptr;
|
||||
QGraphicsProxyWidget *m_proxyProgressBar = nullptr;
|
||||
|
||||
bool m_inProgress = false;
|
||||
|
||||
|
||||
// SituationMap::ViewshedBase *m_viewShed = nullptr;
|
||||
|
||||
private slots:
|
||||
|
||||
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user