34#include <NDEVR/Unit.h>
35#include <NDEVR/Pointer.h>
46 class QCustomComboBox;
47 class QTResourceListener;
55 void setAutosize(
bool auto_size);
56 void setAllowSubUnit(
bool allow_sub_unit);
57 void hideSurfaceVolumeUnit();
59 void hideDefaultButtons();
60 void resetToDefaultUnits();
61 void hideSpacialLabels();
62 void hideCoordinateMode();
63 void removeScrollArea();
64 void refreshUnitsDialog();
68 void updateComboContents();
76 bool event(QEvent* event)
override;
79 void updateFromUnit();
82 void updateSpacialUnitFromUISlot();
83 void updateOrientationUnitFromUISlot();
84 void updateSurfaceAreaUnitFromUISlot();
85 void updateVolumeUnitFromUISlot();
86 void updateWeightUnitFromUISlot();
91 bool m_update_posted =
false;
92 Ui::UnitsDialogUI*
ui;
The equivelent of std::vector but with a bit more control. The basic array unit of the library.
Definition Buffer.hpp:64
Definition GraphicsPipeline.h:42
Definition Pointer.hpp:303
Definition QCustomCombobox.h:47
Definition UnitManager.h:126
Definition UnitsDialog.h:49
Ui::UnitsDialogUI * ui
Definition UnitsDialog.h:92
UnitManager * m_manager
Definition UnitsDialog.h:88
bool m_allow_sub_unit
Definition UnitsDialog.h:90
QTResourceListener * m_resource_listener
Definition UnitsDialog.h:89
UnitType
Definition Unit.h:10
Definition FontEditor.h:6