More button editor functionality added

This commit is contained in:
Daniel Carta
2024-07-25 09:58:46 -04:00
parent d0fc8d8014
commit 19cd66551a
2 changed files with 105 additions and 51 deletions
+1 -2
View File
@@ -11,7 +11,7 @@ class PathPlanner(QMainWindow):
def __init__(self):
super().__init__()
self.setWindowTitle("Auto Planner")
self.setWindowTitle("Path Planner")
self.coordinates = np.empty((0, 2), dtype=int)
self.controlPoints = []
@@ -130,7 +130,6 @@ class PathPlanner(QMainWindow):
self.drawScene()
self.buttonEditor.updateScene()
def mouseMoveEvent(self, event: QMouseEvent):
pos = self.imageLabel.mapFrom(self, event.position().toPoint())
x, y = pos.x(), pos.y()