Allows the user to select a coordinate projection from a list of ones available.
More...
|
| void | coordinateProjectionTableSelected (int row, int column) |
| | Handles selection of a row in the projection table.
|
| INIFactory | getINIFactory () |
| | Creates an INI factory for reading/writing settings.
|
|
void | init () |
| | Initializes the UI components and connections.
|
|
void | readINI () |
| | Reads the recent projections list from an INI file.
|
|
void | saveINI () |
| | Saves the recent projections list to an INI file.
|
| void | setupTable (QTableWidget *widget, const Buffer< UUID > &projections) |
| | Populates a table widget with projection entries.
|
| virtual void | showEvent (QShowEvent *event) override |
| | Handles the show event to refresh data when the widget becomes visible.
|
|
void | tabChangedSlot () |
| | Handles tab changes in the chooser widget.
|
| void | updateSearch (bool finished, bool allow_download=true) |
| | Updates the search results based on the current filter text.
|
|
void | updateTables () |
| | Updates all projection tables with current data.
|
|
|
bool | m_has_loaded_authorities = false |
| | Whether projection authority data has been loaded.
|
|
UUID | m_projection |
| | The currently selected projection UUID.
|
|
Ui::CoordinateProjectionChooserUI * | ui |
| | The Qt UI form instance.
|
Allows the user to select a coordinate projection from a list of ones available.
Definition at line 17 of file CoordinateProjectionChooser.h.
◆ CoordinateProjectionChooser()
| CoordinateProjectionChooser::CoordinateProjectionChooser |
( |
QWidget * | parent = nullptr | ) |
|
◆ acceptedSignal()
| void CoordinateProjectionChooser::acceptedSignal |
( |
const UUID | id | ) |
|
Emitted when the user accepts a projection selection.
- Parameters
-
| [in] | id | The UUID of the accepted projection. |
◆ coordinateProjectionTableSelected()
| void CoordinateProjectionChooser::coordinateProjectionTableSelected |
( |
int | row, |
|
|
int | column ) |
|
protected |
Handles selection of a row in the projection table.
- Parameters
-
| [in] | row | The selected row index. |
| [in] | column | The selected column index. |
◆ getINIFactory()
| INIFactory CoordinateProjectionChooser::getINIFactory |
( |
| ) |
|
|
protected |
Creates an INI factory for reading/writing settings.
- Returns
- The configured INIFactory.
◆ setProjection()
| void CoordinateProjectionChooser::setProjection |
( |
UUID | projection_id | ) |
|
Sets the currently selected projection.
- Parameters
-
| [in] | projection_id | The UUID of the projection to select. |
◆ setupTable()
| void CoordinateProjectionChooser::setupTable |
( |
QTableWidget * | widget, |
|
|
const Buffer< UUID > & | projections ) |
|
protected |
Populates a table widget with projection entries.
- Parameters
-
| [in] | widget | The table widget to populate. |
| [in] | projections | The projection UUIDs to display. |
◆ showEvent()
| virtual void CoordinateProjectionChooser::showEvent |
( |
QShowEvent * | event | ) |
|
|
overrideprotectedvirtual |
Handles the show event to refresh data when the widget becomes visible.
- Parameters
-
◆ updateSearch()
| void CoordinateProjectionChooser::updateSearch |
( |
bool | finished, |
|
|
bool | allow_download = true ) |
|
protected |
Updates the search results based on the current filter text.
- Parameters
-
| [in] | finished | Whether the search text input is complete. |
| [in] | allow_download | Whether to allow downloading missing projection definitions. |
The documentation for this class was generated from the following file: