- in Distance Plugin - modified the UI

- in Distance Plugin - implemented a new feature: multi segment distance measurement
- in Distance Plugin - the Dx, Dy, Angle and Distance values are updated real time (for non multi segment measurement)
This commit is contained in:
Marius Stanciu
2021-10-13 01:41:49 +03:00
committed by Marius
parent 287dab0170
commit 71306395fa
6 changed files with 375 additions and 232 deletions

View File

@@ -295,8 +295,12 @@ class AppTool(QtWidgets.QWidget):
s_storage.clear()
s_storage.redraw()
def on_mouse_plugin_click_release(self):
# this should be implemented in the descendents, the Plugin classes
def on_mouse_plugin_click_release(self, pos):
# this should be implemented in the descendants, the Plugin classes
pass
def on_mouse_plugin_move(self, pos):
# this should be implemented in the descendants, the Plugin classes
pass
def confirmation_message(self, accepted, minval, maxval):