3#include "GPSInterface/Headers/GPSSensor.h"
12 class BluetoothConnectionDialog;
20 class CAzimuthElevationWnd;
91 void onPositionSensorUpdated();
93 void onOrientationSensorUpdated();
95 void updateDialogConnectionSlot();
97 void satelliteInfoChangedSlot();
108 Ui::GPSDialogUI*
ui =
nullptr;
The equivelent of std::vector but with a bit more control.
A bar chart widget that displays per-satellite signal quality (SNR) with animated transitions and con...
Used to, given a Connection, generate an appropriate ConnectionDialog to allow adjustment of paramete...
A virtual dialog that provides an interface that allows the user to adjust certain parameters for a C...
A dialog that allows the user to set a Coordinate projection for the current project.
A hash-based key-value store, useful for quick associative lookups.
A dialog designed to allow the user to navigate a filesytem and select or create one or more files or...
Buffer< ConnectionDialogFactory * > m_connection_dialog_factories
Factories for creating connection dialogs.
FileChooserDialog * m_file_chooser_dialog
File chooser for GPS file selection.
GPSSensor * gps()
Returns the GPS sensor being configured.
ContainerWidgetBase * mainContainer() const
Returns the main container widget of this dialog.
void disconnectGNSS()
Disconnects the current GNSS connection.
void addTab(QWidget *tab)
Adds a tab widget to the dialog's tab bar.
void showAcceptButton(bool show_accept)
Shows or hides the accept button at the bottom of the dialog.
void setGPSSensor(GPSSensor *sensor)
Sets the GPS sensor for this dialog.
Ui::GPSDialogUI * ui
The auto-generated UI form.
void setAutoConnect(bool autoconnect)
Sets whether the GPS should auto-connect on startup.
virtual void showEvent(QShowEvent *event) override
Handles the dialog show event.
Buffer< Button * > m_connection_buttons
Buttons for each connection type.
GPSDialog(GPSSensor *sensor, QWidget *parent=nullptr)
Constructs the GPS dialog for the given sensor.
virtual void hideEvent(QHideEvent *event) override
Handles the dialog hide event.
QSize sizeHint() const override
Returns the preferred size for this dialog.
void paintEvent(QPaintEvent *) override
Paints the dialog background.
virtual bool event(QEvent *event) override
Handles generic events for the dialog.
void addConfigCallback(GNSSConfigCallback *callback)
Adds a configuration callback option to the dialog.
InfoPipe * m_log
Log for status messages.
Buffer< GNSSConfigCallback * > m_config_callbacks
Registered configuration callbacks.
void newGPSSignal()
Emitted when a new GPS sensor is chosen.
void setConnectionInfo(ConnectionInfo info)
Sets the connection info for the GPS sensor.
QPixmap m_background
Background image for the dialog.
Buffer< ConnectionDialog * > m_connection_dialogs
Active connection dialog instances.
void acceptedSignal()
Emitted when the user accepts the dialog.
Dictionary< String, QCustomLabel * > m_stream_speed_widgets
Labels showing stream speed per connection.
GPSSensor * m_sensor
The GPS sensor being configured.
A GPS sensor implementation that receives NMEA data from serial connections, files,...
A light-weight base class for Log that allows processes to update, without the need for additional in...
Displays translated text.
A wrapper around DesignObjectLookup that provides signal and slot functionality and adds rendering ca...
A ConnectionDialog that allows the user to modify a Serial port connection.
Any text displayed to the user should be defined as a TranslatedString which allows the program to lo...
The primary namespace for the NDEVR SDK.
A structure designed to store information about a specific Connection.
Callback descriptor for GNSS configuration options displayed in the GPS dialog.
std::function< void()> on_selected
Function invoked when the option is selected.
TranslatedString title
The display title for the configuration option.