API Documentation
Loading...
Searching...
No Matches
DeploymentWidget Class Reference

A widget used for allowing the user to quickly setup an OrientationSensor for a Deployment. More...

#include <DeploymentWidgets.h>

Inheritance diagram for DeploymentWidget:
[legend]
Collaboration diagram for DeploymentWidget:
[legend]

Signals

void requestMagnetometerCalibrationSignal ()
 

Public Member Functions

 DeploymentWidget (QWidget *parent=nullptr)
 
void setAllowModeSwitch (bool allow)
 
void setDeploymentWidgetEnabled (bool enabled)
 
void setIgnoreSounds (bool ignore_sounds)
 
void setModelManager (QTModelManager *manager)
 
void setSensor (OrientationSensor *sensor)
 
void setupGyroButton (Button *button)
 
void setupMagnetometerButton (Button *button)
 
void showMagnetometerOptionsPopup (PopupInfo info)
 

Protected Slots

void destroyedSlot ()
 
void updatedSlot ()
 

Protected Attributes

AlignmentWidget * m_calibration_widget
 
Buffer< QPointer< Button > > m_gyro_buttons
 
bool m_is_enabled = true
 
Buffer< QPointer< Button > > m_magnetometer_buttons
 
DeploymentModeComboboxm_mode_combo
 
OrientationSensorm_sensor
 

Detailed Description

A widget used for allowing the user to quickly setup an OrientationSensor for a Deployment.


Constructor & Destructor Documentation

◆ DeploymentWidget()

DeploymentWidget ( QWidget * parent = nullptr)
explicit

Member Function Documentation

◆ destroyedSlot

void destroyedSlot ( )
protectedslot

◆ requestMagnetometerCalibrationSignal

void requestMagnetometerCalibrationSignal ( )
signal

◆ setAllowModeSwitch()

void setAllowModeSwitch ( bool allow)

◆ setDeploymentWidgetEnabled()

void setDeploymentWidgetEnabled ( bool enabled)

◆ setIgnoreSounds()

void setIgnoreSounds ( bool ignore_sounds)

◆ setModelManager()

void setModelManager ( QTModelManager * manager)

◆ setSensor()

void setSensor ( OrientationSensor * sensor)

◆ setupGyroButton()

void setupGyroButton ( Button * button)

◆ setupMagnetometerButton()

void setupMagnetometerButton ( Button * button)

◆ showMagnetometerOptionsPopup()

void showMagnetometerOptionsPopup ( PopupInfo info)

◆ updatedSlot

void updatedSlot ( )
protectedslot

Member Data Documentation

◆ m_calibration_widget

AlignmentWidget* m_calibration_widget
protected

◆ m_gyro_buttons

Buffer<QPointer<Button> > m_gyro_buttons
protected

◆ m_is_enabled

bool m_is_enabled = true
protected

◆ m_magnetometer_buttons

Buffer<QPointer<Button> > m_magnetometer_buttons
protected

◆ m_mode_combo

DeploymentModeCombobox* m_mode_combo
protected

◆ m_sensor

OrientationSensor* m_sensor
protected

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