![]() |
API Documentation
|
Widget for displaying the live state of a magnetometer object. More...
#include <MagnetometerWidget.h>
Public Member Functions | |
| MagnetometerWidget (QWidget *parent=nullptr) | |
| void | setSensor (OrientationSensor *sensor) |
Static Public Member Functions | |
| static void | SetMagneticCalibrationCallback (const std::function< void(PopupInfo info, OrientationSensor *sensor)> &function) |
Protected Slots | |
| void | onUpdatedSlot () |
Protected Member Functions | |
| void | init () |
Protected Attributes | |
| QCustomLabel * | m_compass_label = nullptr |
| Button * | m_enable_button = nullptr |
| QCustomLineEdit * | m_grid_compass_offset = nullptr |
| ProgressWidget * | m_intensity = nullptr |
| OrientationSensor * | m_sensor = nullptr |
Static Protected Attributes | |
| static std::function< void(PopupInfo info, OrientationSensor *sensor)> | s_magnetic_calibration_function |
Widget for displaying the live state of a magnetometer object.
| MagnetometerWidget | ( | QWidget * | parent = nullptr | ) |
|
protected |
|
protectedslot |
|
static |
| void setSensor | ( | OrientationSensor * | sensor | ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |