3#include <NDEVR/OrientationSensor.h>
4#include <NDEVR/QCustomCombobox.h>
5#include <NDEVR/ResizeVisibleAnimation.h>
8 class OrientationSensor;
11 class CalibrationWidget;
44 bool m_is_showing_calibrate =
false;
83 Button* calibrationButton();
84 void setAllowEditCalibration(
bool allow);
85 void setAllowVerifyCalibration(
bool allow);
86 void setAllowNewCalibration(
bool allow);
87 void showCalibrationOptionsPopup(
PopupInfo info);
100 bool m_is_enabled =
true;
The equivelent of std::vector but with a bit more control. The basic array unit of the library.
Definition Buffer.hpp:59
Definition DeploymentWidgets.h:50
const String & customDeploymentSettings() const
void customDeploymentSettingsChangedSignal()
DeploymentLengthCombobox(QWidget *parent=nullptr)
static TranslatedString DistanceValueString(fltp08 value, bool show_only_native)
void setLengths(const Buffer< fltp08 > &lengths)
void updateDistanceDropdown()
void setCustomDeploymentSettings(const String &settings)
String m_custom_deployment_settings
Definition DeploymentWidgets.h:64
Definition DeploymentWidgets.h:21
uint04 m_rodded_mode_index
Definition DeploymentWidgets.h:38
DeploymentModeCombobox(QWidget *parent=nullptr)
void roddedModeChosen(bool has_calculated_yaw)
OrientationSensor * m_sensor
Definition DeploymentWidgets.h:46
uint04 m_free_hanging_index
Definition DeploymentWidgets.h:41
void setSensor(OrientationSensor *sensor)
void fixedHeadingChosen(bool has_calculated_yaw)
uint04 m_gyro_mode_index
Definition DeploymentWidgets.h:42
uint04 m_compass_and_gyro_mode_index
Definition DeploymentWidgets.h:40
GyroState m_last_gyro_state
Definition DeploymentWidgets.h:45
uint04 m_compass_mode_index
Definition DeploymentWidgets.h:39
void deploymentModeChoosenSlot()
uint04 m_fixed_mode_index
Definition DeploymentWidgets.h:37
void gyroModeChosen(bool use_compass, bool is_free_hanging=false)
void optionsChangedSignal()
uint04 m_mode_count
Definition DeploymentWidgets.h:43
Definition DeploymentWidgets.h:15
static constexpr const char * DeploymentLengthUnitName()
Definition DeploymentWidgets.h:18
static DynamicPointer< CustomUnit > DeploymentLengthUnit()
Provides a modifiable pointer that has shared ownership of a dynamically allocated object.
Definition Pointer.hpp:319
Used to report the orientation of a Hardware object within 3D space.
Definition OrientationSensor.h:88
A compact way to present a list of options to the user.
Definition QCustomCombobox.h:53
Definition QTModelManager.h:94
The core String class for the software.
Definition String.h:47
Any text displayed to the user should be defined as a TranslatedString which allows the.
Definition TranslatedString.h:13
uint32_t uint04
-Defines an alias representing a 4 byte, unsigned integer -Can represent exact integer values 0 throu...
Definition BaseValues.hpp:94
GyroState
Definition OrientationSensor.h:39
double fltp08
Defines an alias representing an 8 byte floating-point number.
Definition BaseValues.hpp:146