|
|
@ -81,9 +81,12 @@ class GuiBlockHandle(QtWidgets.QGraphicsRectItem): |
|
|
|
self.idText.setFlags(QtWidgets.QGraphicsItem.ItemIgnoresParentOpacity) |
|
|
|
""" |
|
|
|
|
|
|
|
if self.staticExportItem["completeDuration"] >= 3 * api.D1: #cosmetics |
|
|
|
if self.staticExportItem["completeDuration"] >= 16 * api.D1: #cosmetics |
|
|
|
self.startLabel = QtWidgets.QGraphicsSimpleTextItem(self.staticExportItem["name"]) |
|
|
|
self.endLabel = QtWidgets.QGraphicsSimpleTextItem(self.staticExportItem["name"] + translate("musicstructures", " end ")) |
|
|
|
elif self.staticExportItem["completeDuration"] >= 8 * api.D1: #cosmetics |
|
|
|
self.startLabel = QtWidgets.QGraphicsSimpleTextItem(self.staticExportItem["name"]) |
|
|
|
self.endLabel = QtWidgets.QGraphicsSimpleTextItem("") |
|
|
|
else: |
|
|
|
self.startLabel = QtWidgets.QGraphicsSimpleTextItem("") |
|
|
|
self.endLabel = QtWidgets.QGraphicsSimpleTextItem("") |
|
|
|