Changeset View
Changeset View
Standalone View
Standalone View
src/widgets/movementwidget.h
Show First 20 Lines • Show All 81 Lines • ▼ Show 20 Line(s) | 40 | signals: | |||
---|---|---|---|---|---|
82 | * AtCore::setRelativePosition() | 82 | * AtCore::setRelativePosition() | ||
83 | * AtCore::move(axis, value) | 83 | * AtCore::move(axis, value) | ||
84 | * AtCore::setAbsolutePosition() | 84 | * AtCore::setAbsolutePosition() | ||
85 | * @param axis: the axis to move. | 85 | * @param axis: the axis to move. | ||
86 | * @param value: the value to move it by. | 86 | * @param value: the value to move it by. | ||
87 | */ | 87 | */ | ||
88 | void relativeMove(const QLatin1Char &axis, const double &value); | 88 | void relativeMove(const QLatin1Char &axis, const double &value); | ||
89 | 89 | | |||
90 | /** | ||||
91 | * @brief A Change of units was requested from the AxisControl | ||||
92 | * This should connect to a function that calls AtCore::setUnits | ||||
93 | * @param units: 0=Metric 1=Imperial | ||||
94 | */ | ||||
95 | void unitsChanged(int units); | ||||
96 | | ||||
90 | private: | 97 | private: | ||
91 | QComboBox *comboMoveAxis = nullptr; | 98 | QComboBox *comboMoveAxis = nullptr; | ||
92 | QDoubleSpinBox *sbMoveAxis = nullptr; | 99 | QDoubleSpinBox *sbMoveAxis = nullptr; | ||
93 | }; | 100 | }; |