Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
beat
beat.editor
Commits
7295763e
Commit
7295763e
authored
Nov 25, 2019
by
Flavio TARSETTI
Browse files
[widgets][toolchaineditor] add loop processor/evaluator separator line
parent
c66ba0d1
Changes
1
Hide whitespace changes
Inline
Side-by-side
beat/editor/widgets/toolchaineditor.py
View file @
7295763e
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment