NDEVR
API Documentation
GNSSQualityOptionsWidget

A widget that allows the user to edit quality-dependent GNSS reading settings such as sample count, sample time, color, and take-reading permission. More...

Public Member Functions

 GNSSQualityOptionsWidget ()
 Constructs the quality options widget.
void editedSignal ()
 Emitted when any setting is edited by the user.
GNSSQualitySettings getSettings () const
 Returns the current settings from the widget fields.
void setOptions (GNSSQuality quality, const GNSSQualitySettings &settings)
 Populates the widget with settings for the given quality level.
void setTakeReadingActive (bool active)
 Enables or disables the take-reading settings.

Protected Member Functions

void init ()
 Initializes the UI elements and signal connections.

Protected Attributes

Ui::GNSSQualityOptionsUI * ui
 The auto-generated UI form.

Detailed Description

A widget that allows the user to edit quality-dependent GNSS reading settings such as sample count, sample time, color, and take-reading permission.

Definition at line 15 of file GNSSQualityOptionsWidget.h.

Member Function Documentation

◆ getSettings()

GNSSQualitySettings GNSSQualityOptionsWidget::getSettings ( ) const

Returns the current settings from the widget fields.

Returns
The GNSS quality settings.

◆ setOptions()

void GNSSQualityOptionsWidget::setOptions ( GNSSQuality quality,
const GNSSQualitySettings & settings )

Populates the widget with settings for the given quality level.

Parameters
[in]qualityThe GNSS quality level.
[in]settingsThe quality settings to display.

◆ setTakeReadingActive()

void GNSSQualityOptionsWidget::setTakeReadingActive ( bool active)

Enables or disables the take-reading settings.

Parameters
[in]activeWhether take-reading controls should be active.

The documentation for this class was generated from the following file: