34#include "Base/Headers/Buffer.hpp"
35#include "Base/Headers/UUID.h"
36#include "Base/Headers/INIReader.h"
40 class CoordinateConverterEditor;
108 void setEditable(
bool is_editable);
112 void setProjection(
const UUID& projection);
124 std::function<void(
bool show)> m_show_chooser_callback;
127 Ui::CoordinateConverterEditor* ui;
128 UUID m_selected_id = Constant<UUID>::Invalid;
129 UUID m_table_selected_id = Constant<UUID>::Invalid;
131 bool m_is_dirty =
false;
A thread that executes a user-provided callback function concurrently.
void showSearch(bool show_search)
Shows or hides the projection search panel.
QWidget * chooser()
Gets the coordinate projection chooser widget.
void setupAsPrimary()
Configures this dialog as the primary coordinate projection editor.
QWidget * verticalDatumChooser()
Gets the vertical datum chooser widget.
void showAcceptButton(bool show)
Shows or hides the accept button.
bool event(QEvent *event) override
Handles general events for the dialog.
virtual ~CoordinateConverterDialog()
Destructor.
CoordinateConverterDialog(QWidget *parent=0)
Constructs a CoordinateConverterDialog widget.
void acceptedSignal()
Emitted when the user accepts the coordinate projection settings.
void setShowChooserCallback(std::function< void(bool show)> &show_chooser_callback)
Sets the callback for showing/hiding the projection chooser.
virtual void showEvent(QShowEvent *event) override
Handles the show event to refresh data when the widget becomes visible.
void updatedFromUISignal()
Emitted when the projection settings are updated from the UI.
void showVerticalDatumSearch(bool show)
Shows or hides the vertical datum search panel.
void resizeEvent(QResizeEvent *event) override
Handles resize events to adjust layout.
QSize minimumSizeHint() const override
Gets the minimum size hint for the dialog.
Allows the user to select a coordinate projection from a list of ones available.
A universally unique identifier (UUID) is a 128-bit number used to identify information in computer s...
A dialog that allows the user to select a vertical datum (geoid model) for elevation reference.
The primary namespace for the NDEVR SDK.