API Documentation
Loading...
Searching...
No Matches
MagneticDeclinationDialog.h
Go to the documentation of this file.
1#pragma once
2#include "DLLInfo.h"
3#include <NDEVR/QCustomDial.h>
4#include <NDEVR/QCustomLineEdit.h>
5#include <NDEVR/Button.h>
6#include <NDEVR/MagnetometerCalibrationDialog.h>
7#include <NDEVR/CoordinateOptions.h>
8#include <NDEVR/ApplicationResource.h>
9#include <QVBoxLayout>
10class QGroupBox;
11namespace NDEVR
12{
13 class OrientationOperationsWidget;
14 class DesignObjectLookup;
15 class OrientationSensor;
16 class MagnetometerWidget;
17
18 /**--------------------------------------------------------------------------------------------------
19 \brief Dialog which allows user to set or calculate the magnetic declination. https://en.wikipedia.org/wiki/Magnetic_declination
20 \ingroup Hardware Magnetometer Widget Dialog
21 **/
51}
#define HARDWARE_WIDGETS_API
Definition DLLInfo.h:56
The primary angle storage class for this API. Stores an angle in an optimized format.
Definition StringStream.h:540
A core widget that allows the user to click one of many button types.
Definition Button.h:66
A core class where all Design Objects including models, materials, and geometries are stored....
Definition DesignObjectLookup.h:65
Dialog which allows user to set or calculate the magnetic declination. https://en....
Definition MagneticDeclinationDialog.h:23
QGroupBox * m_magnetic_value_group
Definition MagneticDeclinationDialog.h:46
void updateMagneticReference(const Angle< fltp08 > &angle)
Button * m_finish_button
Definition MagneticDeclinationDialog.h:38
void showMagnetometerOptionsPopup(PopupInfo info)
MagneticDeclinationDialog(DesignObjectLookup *lookup, QWidget *parent=nullptr)
Button * m_web_lookup
Definition MagneticDeclinationDialog.h:37
static void SetSensor(OrientationSensor *sensor)
Button * m_magnetometer_button
Definition MagneticDeclinationDialog.h:40
static QPointer< OrientationSensor > s_magnetic_reading_callback
Definition MagneticDeclinationDialog.h:49
QCustomLineEdit * m_magnetic_angle
Definition MagneticDeclinationDialog.h:42
QCustomLineEdit * m_line_edit
Definition MagneticDeclinationDialog.h:41
OrientationOperationsWidget * m_ops_widget
Definition MagneticDeclinationDialog.h:44
QGroupBox * m_magnetic_reading_group
Definition MagneticDeclinationDialog.h:45
void onFinishedSignal(PopupInfo info)
static void RegisterDialog(DesignObjectLookup *lookup)
Button * m_measure_button
Definition MagneticDeclinationDialog.h:39
Widget for displaying the live state of a magnetometer object.
Definition MagnetometerWidget.h:17
A popup Editor dialog for showing options or information related to the orientation of an Object laye...
Definition OrientationOperationsWidget.h:49
Used to report the orientation of a Hardware object within 3D space.
Definition OrientationSensor.h:86
A line edit allows users to enter and edit a single line of plain text with useful editing functions,...
Definition QCustomLineEdit.h:56
Definition ACIColor.h:37
Defines for a given type (such as sint04, fltp08, UUID, etc) a maximum, minimum, and reserved 'invali...
Definition BaseValues.hpp:233
Class which is used to pass arguments and requests for creating a popup dialog or widget....
Definition PopupInfo.h:15