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 | |
Button * | m_enable_button = nullptr |
QCustomLabel * | m_compass_label = nullptr |
QCustomLineEdit * | m_grid_compass_offset = nullptr |
OrientationSensor * | m_sensor = nullptr |
ProgressWidget * | m_intensity = 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.
Class: MagneticDeclinationDialog
MagnetometerWidget | ( | QWidget * | parent = nullptr | ) |
|
protected |
|
protectedslot |
|
static |
void setSensor | ( | OrientationSensor * | sensor | ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |