3#include <NDEVR/OrientationSensor.h>
4#include <NDEVR/QCustomComboBox.h>
5#include <NDEVR/ResizeVisibleAnimation.h>
11 class AlignmentWidget;
214 Button* calibrationButton();
219 void setAllowEditAlignment(
bool allow);
224 void setAllowVerifyAlignment(
bool allow);
229 void setAllowNewAlignment(
bool allow);
234 void showCalibrationOptionsPopup(
PopupInfo info);
The equivelent of std::vector but with a bit more control.
A program-defined unit that can be used for some specific task different from a program-wide unit.
void customDeploymentSettingsChangedSignal()
Emitted when custom deployment settings change.
void updateDistanceDropdown()
Updates the distance dropdown to reflect current settings and unit preferences.
void setLengths(const Buffer< fltp08 > &lengths)
Sets the available deployment segment lengths.
String m_custom_deployment_settings
Stores custom deployment configuration settings.
const String & customDeploymentSettings() const
Returns the custom deployment settings string.
static TranslatedString DistanceValueString(fltp08 value, bool show_only_native)
Formats a distance value as a translated string for display.
DeploymentLengthCombobox(QWidget *parent=nullptr)
Constructs a DeploymentLengthCombobox.
void setCustomDeploymentSettings(const String &settings)
Sets the custom deployment settings string.
Provides a list of options for the user to select how to perform a particular Deployment.
uint04 m_compass_mode_index
Index of the compass-only mode in the combobox.
void fixedHeadingChosen(bool has_calculated_yaw)
Configures the sensor for fixed heading deployment mode.
uint04 m_compass_and_gyro_mode_index
Index of the compass and gyro combined mode.
DeploymentModeCombobox(QWidget *parent=nullptr)
Constructs a DeploymentModeCombobox.
uint04 m_gyro_mode_index
Index of the gyro-only mode in the combobox.
void updatedSlot()
Slot called when the sensor state is updated.
uint04 m_free_hanging_index
Index of the free-hanging mode in the combobox.
void roddedModeChosen(bool has_calculated_yaw)
Configures the sensor for rodded deployment mode.
GyroState m_last_gyro_state
The last known gyroscope state from the sensor.
OrientationSensor * m_sensor
The orientation sensor being configured.
uint04 m_mode_count
Total number of available deployment modes.
void optionsChangedSignal()
Emitted when the available deployment mode options change.
bool m_is_showing_calibrate
Whether the calibration option is currently shown.
uint04 m_rodded_mode_index
Index of the rodded mode in the combobox.
void setSensor(OrientationSensor *sensor)
Sets the orientation sensor whose deployment modes will be displayed.
void gyroModeChosen(bool use_compass, bool is_free_hanging=false)
Configures the sensor for gyroscope-based deployment mode.
uint04 m_fixed_mode_index
Index of the fixed heading mode in the combobox.
uint04 modeCount() const
Returns the number of available deployment modes.
void deploymentModeChoosenSlot()
Slot called when the user selects a deployment mode.
A CustomUnit that is used to define the length of a Deployment.
static constexpr StringView DeploymentLengthUnitName()
Returns the name identifier for the deployment length unit.
static DynamicPointer< CustomUnit > DeploymentLengthUnit()
Returns the CustomUnit used for deployment length measurements.
static void SetupDeploymentLengthUnit()
Registers the deployment length unit with the unit system.
Provides a modifiable pointer that has shared ownership of a dynamically allocated object.
Forward declaration for design object lookup service.
QCustomComboBox(QWidget *parent=nullptr)
Constructs a QCustomComboBox with the given parent widget.
A wrapper around DesignObjectLookup that provides signal and slot functionality and adds rendering ca...
The core String View class for the NDEVR API.
The core String class for the NDEVR API.
Any text displayed to the user should be defined as a TranslatedString which allows the program to lo...
Manages all windows and logic surrounding dialogs and views for displaying and managing any environme...
The primary namespace for the NDEVR SDK.
uint32_t uint04
-Defines an alias representing a 4 byte, unsigned integer -Can represent exact integer values 0 throu...
double fltp08
Defines an alias representing an 8 byte floating-point number.
GyroState
Used by OrientationSensor to display the current state of any available gyro.