The main GPS configuration dialog providing connection management, satellite status display, quality indicators, and file-based GPS input.
More...
|
| | GPSDialog (GPSSensor *sensor, QWidget *parent=nullptr) |
| | Constructs the GPS dialog for the given sensor.
|
|
| ~GPSDialog () |
| | Destructor.
|
|
void | acceptedSignal () |
| | Emitted when the user accepts the dialog.
|
| void | addConfigCallback (GNSSConfigCallback *callback) |
| | Adds a configuration callback option to the dialog.
|
| void | addTab (QWidget *tab) |
| | Adds a tab widget to the dialog's tab bar.
|
| virtual bool | event (QEvent *event) override |
| | Handles generic events for the dialog.
|
| GPSSensor * | gps () |
| | Returns the GPS sensor being configured.
|
| virtual void | hideEvent (QHideEvent *event) override |
| | Handles the dialog hide event.
|
|
void | newGPSSignal () |
| | Emitted when a new GPS sensor is chosen.
|
| void | paintEvent (QPaintEvent *) override |
| | Paints the dialog background.
|
| void | setGPSSensor (GPSSensor *sensor) |
| | Sets the GPS sensor for this dialog.
|
| void | showAcceptButton (bool show_accept) |
| | Shows or hides the accept button at the bottom of the dialog.
|
| virtual void | showEvent (QShowEvent *event) override |
| | Handles the dialog show event.
|
| QSize | sizeHint () const override |
| | Returns the preferred size for this dialog.
|
The main GPS configuration dialog providing connection management, satellite status display, quality indicators, and file-based GPS input.
Definition at line 31 of file GPSDialog.h.
◆ GPSDialog()
| GPSDialog::GPSDialog |
( |
GPSSensor * | sensor, |
|
|
QWidget * | parent = nullptr ) |
|
explicit |
Constructs the GPS dialog for the given sensor.
- Parameters
-
| [in] | sensor | The GPS sensor to configure. |
| [in] | parent | Optional parent widget. |
◆ addConfigCallback()
Adds a configuration callback option to the dialog.
- Parameters
-
| [in] | callback | The configuration callback to add. |
◆ addTab()
| void GPSDialog::addTab |
( |
QWidget * | tab | ) |
|
Adds a tab widget to the dialog's tab bar.
- Parameters
-
| [in] | tab | The widget to add as a tab. |
◆ event()
| virtual bool GPSDialog::event |
( |
QEvent * | event | ) |
|
|
overridevirtual |
◆ gps()
Returns the GPS sensor being configured.
- Returns
- Pointer to the GPS sensor.
◆ hideEvent()
| virtual void GPSDialog::hideEvent |
( |
QHideEvent * | event | ) |
|
|
overridevirtual |
Handles the dialog hide event.
- Parameters
-
References event().
◆ mainContainer()
Returns the main container widget of this dialog.
- Returns
- Pointer to the container widget.
◆ paintEvent()
| void GPSDialog::paintEvent |
( |
QPaintEvent * | | ) |
|
|
override |
Paints the dialog background.
- Parameters
-
| [in] | event | The paint event. |
◆ setAutoConnect()
| void GPSDialog::setAutoConnect |
( |
bool | autoconnect | ) |
|
|
protected |
Sets whether the GPS should auto-connect on startup.
- Parameters
-
| [in] | autoconnect | Whether to auto-connect. |
◆ setConnectionInfo()
Sets the connection info for the GPS sensor.
- Parameters
-
| [in] | info | The connection info to apply. |
◆ setGPSSensor()
| void GPSDialog::setGPSSensor |
( |
GPSSensor * | sensor | ) |
|
Sets the GPS sensor for this dialog.
- Parameters
-
| [in] | sensor | The GPS sensor to configure. |
◆ showAcceptButton()
| void GPSDialog::showAcceptButton |
( |
bool | show_accept | ) |
|
Shows or hides the accept button at the bottom of the dialog.
- Parameters
-
| [in] | show_accept | Whether to show the accept button. |
◆ showEvent()
| virtual void GPSDialog::showEvent |
( |
QShowEvent * | event | ) |
|
|
overridevirtual |
Handles the dialog show event.
- Parameters
-
References event().
◆ sizeHint()
| QSize GPSDialog::sizeHint |
( |
| ) |
const |
|
override |
Returns the preferred size for this dialog.
- Returns
- The recommended size hint.
The documentation for this class was generated from the following file: