A widget used for allowing the user to quickly setup an OrientationSensor for a Deployment.
More...
|
|
void | destroyedSlot () |
| | Slot called when the sensor is destroyed.
|
|
void | updatedSlot () |
| | Slot called when the sensor state is updated.
|
|
|
AlignmentWidget * | m_alignment_widget |
| | Widget for alignment configuration.
|
|
Buffer< QPointer< Button > > | m_bubble_level_buttons |
| | Collection of registered bubble level buttons.
|
|
Buffer< QPointer< Button > > | m_gyro_buttons |
| | Collection of registered gyroscope buttons.
|
|
bool | m_is_enabled = true |
| | Whether the deployment widget is currently enabled.
|
|
Buffer< QPointer< Button > > | m_magnetometer_buttons |
| | Collection of registered magnetometer buttons.
|
|
Buffer< QPointer< Button > > | m_main_buttons |
| | Collection of registered main deployment buttons.
|
|
DeploymentModeCombobox * | m_mode_combo |
| | Combobox for deployment mode selection.
|
|
OrientationSensor * | m_sensor |
| | The orientation sensor being managed.
|
A widget used for allowing the user to quickly setup an OrientationSensor for a Deployment.
Definition at line 140 of file DeploymentWidgets.h.
◆ DeploymentWidget()
| DeploymentWidget::DeploymentWidget |
( |
QWidget * | parent = nullptr | ) |
|
|
explicit |
◆ mainButtonPalette()
| QPalette DeploymentWidget::mainButtonPalette |
( |
| ) |
const |
Returns the palette currently used by the main deployment button.
- Returns
- The QPalette of the main button.
◆ setAllowModeSwitch()
| void DeploymentWidget::setAllowModeSwitch |
( |
bool | allow | ) |
|
Sets whether the user is allowed to switch deployment modes.
- Parameters
-
| [in] | allow | Whether mode switching is permitted. |
◆ setDeploymentWidgetEnabled()
| void DeploymentWidget::setDeploymentWidgetEnabled |
( |
bool | enabled | ) |
|
Enables or disables the deployment widget and its child controls.
- Parameters
-
| [in] | enabled | Whether the widget should be enabled. |
◆ setIgnoreSounds()
| void DeploymentWidget::setIgnoreSounds |
( |
bool | ignore_sounds | ) |
|
Sets whether to suppress deployment-related audio cues.
- Parameters
-
| [in] | ignore_sounds | Whether to ignore sounds. |
◆ setModelManager()
Sets the model manager used for design object lookups.
- Parameters
-
◆ setSensor()
Sets the orientation sensor to configure for deployment.
- Parameters
-
◆ setupBubbleLevelButton()
| void DeploymentWidget::setupBubbleLevelButton |
( |
Button * | button | ) |
|
Registers a button for bubble level status and control.
- Parameters
-
| [in] | button | The Button to set up for bubble level interaction. |
◆ setupGyroButton()
| void DeploymentWidget::setupGyroButton |
( |
Button * | button | ) |
|
Registers a button for gyroscope status and control.
- Parameters
-
| [in] | button | The Button to set up for gyroscope interaction. |
◆ setupMagnetometerButton()
| void DeploymentWidget::setupMagnetometerButton |
( |
Button * | button | ) |
|
Registers a button for magnetometer status and control.
- Parameters
-
| [in] | button | The Button to set up for magnetometer interaction. |
◆ setupMainButton()
| void DeploymentWidget::setupMainButton |
( |
Button * | button | ) |
|
Registers a button as the main deployment action button.
- Parameters
-
| [in] | button | The Button to set up as the main deployment button. |
◆ showBubbleLevelPopup()
| void DeploymentWidget::showBubbleLevelPopup |
( |
PopupInfo | info | ) |
|
Displays a popup with bubble level options.
- Parameters
-
| [in] | info | The PopupInfo controlling popup appearance and behavior. |
◆ showMagnetometerOptionsPopup()
| void DeploymentWidget::showMagnetometerOptionsPopup |
( |
PopupInfo | info | ) |
|
Displays a popup with magnetometer options.
- Parameters
-
| [in] | info | The PopupInfo controlling popup appearance and behavior. |
The documentation for this class was generated from the following file: