API Documentation
|
A popup Editor dialog for showing options or information related to the orientation of an Object layer or Calibration. Objects can be set to rotate along a given axis. More...
#include <OrientationOperationsWidget.h>
Classes | |
class | GNSSCallback |
Public Slots | |
void | onCalculatedUpdatedSlot () |
void | onCopyFromExistingSlot () |
void | onSpecifiedAngleUpdatedSlot () |
void | updateOrientationCalcOptionsSlot () |
void | updateOrientationFromDialogSlot () |
Signals | |
void | updateMagneticReferenceSignal (const Angle< fltp08 > &angle) |
Signals inherited from Editor | |
void | isBusyStatusChanged () |
void | objectUpdatedSignal () |
Public Member Functions | |
virtual bool | event (QEvent *event) override |
bool | fullscreenTouch () const final override |
void | init () |
DesignObjectLookup * | lookup () |
OrientationOperations | operations () const |
OrientationOperationsWidget (uint01 dimension, const DynamicPointer< QTDesignObject > &object, QWidget *parent=nullptr) | |
OrientationOperationsWidget (uint01 dimension, DesignObjectLookup *lookup, QWidget *parent=nullptr) | |
void | setAngle (const Angle< fltp08 > &angle) |
void | setDialToModelIcon () |
void | setIsGeoReference (bool is_geo_reference) |
void | setIsMagneticReference (bool is_magnetic_reference, DesignObjectLookup *lookup) |
QSize | sizeHint () const override |
void | updateDialImages () |
void | updateValues () override |
void | updateVisibleWidgets () |
virtual | ~OrientationOperationsWidget () |
Public Member Functions inherited from Editor | |
virtual bool | allowDocking () const |
virtual Buffer< QWidget * > | bottomOptions () |
virtual String | customDialogIcon () const |
virtual TranslatedString | customDialogTitle () const |
Editor (const DynamicPointer< QTDesignObject > &object, QWidget *parent=nullptr) | |
Editor (QWidget *parent=nullptr) | |
virtual bool | isBusy () const |
virtual InterfaceOrientationController * | orientationController () const |
virtual Buffer< QWidget * > | printableWidgetOptions () |
virtual Buffer< QWidget * > | printableWidgets () |
virtual void | requestScrollEnabled (bool enabled) |
virtual void | setHorizontal (bool horizontal) |
virtual void | setTarget (const DynamicPointer< QTDesignObject > &object) |
virtual void | setup (DesignObjectDialog *, const ShowPropertiesSettings &) |
const DynamicPointer< QTDesignObject > & | target () const |
Static Public Member Functions | |
static void | SetGNSSCallback (GNSSCallback *callback) |
static void | SetGridMagnetCallback (const std::function< void(Button *)> &function) |
Static Public Attributes | |
static GNSSCallback * | s_gnss_reading_callback |
static std::function< void(Button *)> | s_magnetic_callback |
Protected Member Functions | |
bool | isPrismModel () const |
void | updateComputedPosition () |
void | updateOrientation (const Matrix< fltp08 > &matrix) |
void | updateReletiveCombos () |
void | updateTitles (OrientationOperations::AzimuthType type) |
Protected Attributes | |
const uint01 | m_dimension |
bool | m_has_offset = false |
bool | m_is_geo_reference = false |
bool | m_is_magnet_reference = false |
DesignObjectLookup * | m_lookup = nullptr |
QWidget * | m_orientation_gnss_widget = nullptr |
bool | m_use_model_icon = false |
Ui::OrientationOperationsUI * | ui |
Protected Attributes inherited from Editor | |
DynamicPointer< QTDesignObject > | m_design_object |
InterfaceOrientationController * | m_orientation_controller |
Additional Inherited Members | |
Protected Slots inherited from Editor | |
void | onDesignObjectUpdateSlot () |
A popup Editor dialog for showing options or information related to the orientation of an Object layer or Calibration. Objects can be set to rotate along a given axis.
OrientationOperationsWidget | ( | uint01 | dimension, |
const DynamicPointer< QTDesignObject > & | object, | ||
QWidget * | parent = nullptr ) |
OrientationOperationsWidget | ( | uint01 | dimension, |
DesignObjectLookup * | lookup, | ||
QWidget * | parent = nullptr ) |
|
virtual |
|
overridevirtual |
|
inlinefinaloverridevirtual |
Reimplemented from Editor.
void init | ( | ) |
|
protected |
DesignObjectLookup * lookup | ( | ) |
|
slot |
|
slot |
|
slot |
OrientationOperations operations | ( | ) | const |
void setDialToModelIcon | ( | ) |
|
static |
|
static |
void setIsGeoReference | ( | bool | is_geo_reference | ) |
void setIsMagneticReference | ( | bool | is_magnetic_reference, |
DesignObjectLookup * | lookup ) |
|
override |
|
protected |
void updateDialImages | ( | ) |
|
slot |
|
slot |
|
protected |
|
protected |
|
overridevirtual |
Implements Editor.
void updateVisibleWidgets | ( | ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
static |
|
static |
|
protected |