@ -1085,9 +1085,15 @@ class TrackLabelEditor(QtWidgets.QGraphicsScene):
menu.exec_(pos)
classTrackLabel(QtWidgets.QGraphicsRectItem):
"""One track label with color, name line edit etc.
Onlygetsthedatawhenupdate()iscalled.
"""
def__init__(self,parentScene,width,height):
super().__init__(0,0,width,height)
self.parentScene=parentScene
self.exportDict=None#set in self.update
self.statusMessage=self.parentScene.parentView.parentMainWindow.statusBar().showMessage#a version with the correct path of this is in every class of Patroneo
self.setPen(QtGui.QPen(QtCore.Qt.NoPen))
@ -1097,23 +1103,35 @@ class TrackLabel(QtWidgets.QGraphicsRectItem):