Fix Qt6 deprecated APIs: QCheckBox::checkStateChanged, ExploratoryLocationViewshed

- Replace QCheckBox::stateChanged with checkStateChanged in:
  - lts_dialog.cpp
  - simple_esri_layer.cpp (2 occurrences)
  - layer_control_widget.cpp
  - symbol_dialog.cpp
- Replace LocationViewshed with ExploratoryLocationViewshed (ArcGIS SDK v300):
  - viewshed_analysis.h/.cpp
  - ViewshedLocation.h/.cpp
  - function_dialog.cpp (include)
- Update ViewshedLocation member variable type to ExploratoryLocationViewshed

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
torstenandCopilot committed 2026-10-13 14:41:33 +02:00
1 parent e581d1e91c
commit 124fbb4de8
1079 files changed
+111705 -17

No files matched your search

@@ -16,7 +16,7 @@
#include <AnalysisOverlay.h>
#include <AnalysisListModel.h>
#include <LocationViewshed.h>
#include <ExploratoryLocationViewshed.h>
// Qt
#include <QDebug>
@@ -72,7 +72,7 @@ bool ViewshedAnalysis::execute(const QPointF &viewshedPoint_map_degree, double o
for (int i = 0; i < m_viewsheds.size(); ++i)
{
Esri::ArcGISRuntime::LocationViewshed *viewshed = m_viewsheds[i];
Esri::ArcGISRuntime::ExploratoryLocationViewshed *viewshed = m_viewsheds[i];
if (viewshed)
{
@@ -80,7 +80,7 @@ bool ViewshedAnalysis::execute(const QPointF &viewshedPoint_map_degree, double o
delete viewshed;
}
viewshed = new Esri::ArcGISRuntime::LocationViewshed(viewshedCenter
viewshed = new Esri::ArcGISRuntime::ExploratoryLocationViewshed(viewshedCenter
, heading
, 90.0 // pitch limited to 180
, deltaHeading // horizontalAngle limited to 120, from release 100.3 maximum is 360 here