Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
@@ -0,0 +1,79 @@
|
||||
/**
|
||||
* @RDE_HEADER@
|
||||
* FunctionDialog
|
||||
* $Id$
|
||||
* $HeadURL$
|
||||
* $Author$
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <QObject>
|
||||
#include <QSlider>
|
||||
|
||||
|
||||
// ESRI
|
||||
#include <arcgis/Map.h>
|
||||
#include <arcgis/MapGraphicsView.h>
|
||||
#include <arcgis/GraphicsOverlay.h>
|
||||
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
namespace SituationMap
|
||||
{
|
||||
|
||||
|
||||
class SimpleEsriLayerSlider : public QSlider
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
SimpleEsriLayerSlider(const QString &layername, int min, int max)
|
||||
: QSlider(), m_layername(layername)
|
||||
{
|
||||
this->setOrientation(Qt::Horizontal);
|
||||
setMinimum(min);
|
||||
setMaximum(max);
|
||||
}
|
||||
|
||||
public:
|
||||
QString m_layername;
|
||||
};
|
||||
|
||||
|
||||
class SimpleEsriLayer : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
|
||||
SimpleEsriLayer(QWidget *parent, Esri::ArcGISRuntime::MapGraphicsView *mapView);
|
||||
virtual ~SimpleEsriLayer();
|
||||
|
||||
SimpleEsriLayer(const SimpleEsriLayer &other) = delete; // No copy
|
||||
SimpleEsriLayer &operator=(const SimpleEsriLayer &other) = delete; // No copy
|
||||
|
||||
bool updatePanel();
|
||||
private slots:
|
||||
void layerOnOff();
|
||||
void opacity(int);
|
||||
void brightness(int);
|
||||
void contrast(int);
|
||||
void gamma(int);
|
||||
|
||||
private :
|
||||
|
||||
class Private;
|
||||
/**
|
||||
* The private d-pointer to not break BC when changing internals of this class
|
||||
*/
|
||||
Private *d = nullptr;
|
||||
|
||||
};
|
||||
|
||||
|
||||
} // namespace SituationMap
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
// Q_DECLARE_METATYPE(SituationMap::GeometryType);
|
||||
|
||||
Reference in new issue
Block a user