NDEVR
API Documentation
CoordinateSelector.h
1#pragma once
2#include "NDEVR/Headers/CoordinateBoundsSelector.h"
3class QWebEngineView;
4namespace NDEVR
5{
6 class Button;
7 class String;
12 {
13 Q_OBJECT
14 public:
17 CoordinateSelector(QWidget* parent = nullptr);
19 void initPage();
31 virtual void setCurrentBounds(const Bounds<2, fltp08>& wgs84_bounds) override;
34 virtual void setCurrentBounds(const Bounds<2, Angle<fltp08>>& wgs84_bounds) override;
35 protected:
36 QWebEngineView* m_web_view;
37 };
38}
Stores an angle in an optimized internal format with support for efficient trigonometric operations.
Definition Angle.h:83
A specification of upper and lower bounds in N-dimensions.
Definition Bounds.hpp:54
A core widget that allows the user to click one of many button types.
Definition Button.h:68
A dedicated dialog for allowing the user to select bounds for a northing and easting.
virtual void setCurrentBounds(const Bounds< 2, fltp08 > &wgs84_bounds) override
Sets the current geographic bounds in WGS84 decimal degrees.
CoordinateSelector(QWidget *parent=nullptr)
Constructs a CoordinateSelector widget.
String currentURL() const
Returns the current URL loaded in the web view.
virtual void setCurrentBounds(const Bounds< 2, Angle< fltp08 > > &wgs84_bounds) override
Sets the current geographic bounds as angles.
Bounds< 2, Angle< fltp08 > > currentBoundsAngle() const override
Returns the current geographic bounds as angles.
Bounds< 2, fltp08 > currentBounds() const override
Returns the current geographic bounds in WGS84 decimal degrees.
void initPage()
Initializes the embedded web page for coordinate selection.
QWebEngineView * m_web_view
The embedded web engine view used for coordinate selection.
The core String class for the NDEVR API.
Definition String.h:95
The primary namespace for the NDEVR SDK.