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
2ab40c93
Commit
2ab40c93
authored
Aug 28, 2016
by
Maxime Perrotin
Browse files
List labels in data dictionary
parent
0bcd6c94
Changes
1
Hide whitespace changes
Inline
Side-by-side
opengeode/opengeode.py
View file @
2ab40c93
...
...
@@ -2289,7 +2289,8 @@ class OG_MainWindow(QtGui.QMainWindow, object):
state
=
QtGui
.
QTreeWidgetItem
(
states
,
[
each
,
'refactor'
])
state
.
setForeground
(
1
,
Qt
.
blue
)
map
(
partial
(
add_elem
,
labels
),
sorted
(
context
.
labels
))
map
(
partial
(
add_elem
,
labels
),
sorted
(
l
.
inputString
for
l
in
context
.
labels
))
map
(
partial
(
add_elem
,
timers
),
sorted
(
context
.
timers
))
for
var
,
(
sort
,
_
)
in
context
.
variables
.
viewitems
():
...
...
@@ -2302,7 +2303,8 @@ class OG_MainWindow(QtGui.QMainWindow, object):
for
var
,
(
sort
,
_
)
in
context
.
variables
.
viewitems
():
QtGui
.
QTreeWidgetItem
(
dcl
,
[
var
,
sort
.
ReferencedTypeName
])
map
(
partial
(
add_elem
,
timers
),
sorted
(
context
.
timers
))
map
(
partial
(
add_elem
,
labels
),
sorted
(
context
.
labels
))
map
(
partial
(
add_elem
,
labels
),
sorted
(
l
.
inputString
for
l
in
context
.
labels
))
refresh_signals
(
out_sig
,
context
.
output_signals
)
self
.
datadict
.
resizeColumnToContents
(
0
)
...
...
Write
Preview
Supports
Markdown
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