Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
OpenGEODE
Commits
3ac9f575
Commit
3ac9f575
authored
Oct 29, 2015
by
Maxime Perrotin
Browse files
Improve colors when states are nested in statecharts
parent
6db01ee9
Changes
1
Hide whitespace changes
Inline
Side-by-side
opengeode/Statechart.py
View file @
3ac9f575
...
...
@@ -424,6 +424,8 @@ def render_statechart(scene, graphtree=None, keep_pos=False, dump_gfx=''):
shape
=
node
.
get
(
'shape'
)
try
:
node_symbol
=
lookup
[
shape
](
node
,
graph
)
if
graphtree
[
'children'
]:
node_symbol
.
setBrush
(
QtGui
.
QBrush
(
QtGui
.
QColor
(
249
,
249
,
249
)))
G_SYMBOLS
.
add
(
node_symbol
)
node_symbols
.
append
(
node_symbol
)
scene
.
addItem
(
node_symbol
)
...
...
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