![]() |
NDEVR
API Documentation
|
Allows the user to select Coordinates using the CoordinateBoundsSelector selector. More...
Public Member Functions | |
| CoordinateSelector (QWidget *parent=nullptr) | |
| Constructs a CoordinateSelector widget. | |
| Bounds< 2, fltp08 > | currentBounds () const override |
| Returns the current geographic bounds in WGS84 decimal degrees. | |
| Bounds< 2, Angle< fltp08 > > | currentBoundsAngle () const override |
| Returns the current geographic bounds as angles. | |
| String | currentURL () const |
| Returns the current URL loaded in the web view. | |
| void | initPage () |
| Initializes the embedded web page for coordinate selection. | |
| virtual void | setCurrentBounds (const Bounds< 2, Angle< fltp08 > > &wgs84_bounds) override |
| Sets the current geographic bounds as angles. | |
| virtual void | setCurrentBounds (const Bounds< 2, fltp08 > &wgs84_bounds) override |
| Sets the current geographic bounds in WGS84 decimal degrees. | |
| Public Member Functions inherited from CoordinateBoundsSelector | |
| void | canceledSignal () |
| Emitted when the user cancels the bounds selection. | |
| void | finishedSignal () |
| Emitted when the user finishes selecting bounds. | |
Protected Attributes | |
| QWebEngineView * | m_web_view |
| The embedded web engine view used for coordinate selection. | |
Additional Inherited Members | |
| Static Public Member Functions inherited from CoordinateBoundsSelector | |
| static bool | CanCreateCoordinateSelector () |
| Returns whether a coordinate selector creator has been registered. | |
| static CoordinateBoundsSelector * | CreateCoordinateSelector (QWidget *parent=nullptr) |
| Creates a new CoordinateBoundsSelector using the registered creator. | |
| static void | RegisterCreator (std::function< CoordinateBoundsSelector *(QWidget *parent)> creator) |
| Registers a factory function for creating CoordinateBoundsSelector instances. | |
| Static Protected Attributes inherited from CoordinateBoundsSelector | |
| static std::function< CoordinateBoundsSelector *(QWidget *parent)> | s_create_coordinate_selector |
| Factory function for creating selector instances. | |
Allows the user to select Coordinates using the CoordinateBoundsSelector selector.
Definition at line 11 of file CoordinateSelector.h.
| CoordinateSelector::CoordinateSelector | ( | QWidget * | parent = nullptr | ) |
Constructs a CoordinateSelector widget.
| [in] | parent | The optional parent widget. |
Returns the current geographic bounds in WGS84 decimal degrees.
Implements CoordinateBoundsSelector.
Returns the current geographic bounds as angles.
Implements CoordinateBoundsSelector.
| String CoordinateSelector::currentURL | ( | ) | const |
Returns the current URL loaded in the web view.
|
overridevirtual |
Sets the current geographic bounds as angles.
| [in] | wgs84_bounds | The 2D bounding box in Angle units to set. |
Implements CoordinateBoundsSelector.
|
overridevirtual |
Sets the current geographic bounds in WGS84 decimal degrees.
| [in] | wgs84_bounds | The 2D bounding box to set. |
Implements CoordinateBoundsSelector.