Commit 7295763e authored by Flavio TARSETTI's avatar Flavio TARSETTI

[widgets][toolchaineditor] add loop processor/evaluator separator line

parent c66ba0d1
......@@ -1036,6 +1036,13 @@ class Block(QGraphicsObject):
def draw_pins_name(self, painter, _type, data, offset):
"""Paint pin with name"""
offset = offset * self.pin_height
if offset != 0:
# add processor/evaluator separator line
painter.setPen(self.pin_pen)
separator_height = self.height - self.radius + offset
painter.drawLine(
self.border, separator_height, self.custom_width, separator_height
)
for pin_name in data:
# Pin rect
painter.setBrush(self.background_brush)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment