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
39242a27
Commit
39242a27
authored
Oct 30, 2015
by
Maxime Perrotin
Browse files
Update layout to get statecharts as a main tab
parent
53b60ee0
Changes
5
Expand all
Show whitespace changes
Inline
Side-by-side
opengeode.ui
View file @
39242a27
...
@@ -78,6 +78,16 @@
...
@@ -78,6 +78,16 @@
</item>
</item>
</layout>
</layout>
</widget>
</widget>
<widget
class=
"QWidget"
name=
"Statechart"
>
<property
name=
"windowTitle"
>
<string>
Statechart (F4 to update)
</string>
</property>
<layout
class=
"QHBoxLayout"
name=
"horizontalLayout"
>
<item>
<widget
class=
"SDL_View"
name=
"statechart_view"
/>
</item>
</layout>
</widget>
</widget>
</widget>
</item>
</item>
</layout>
</layout>
...
@@ -88,7 +98,7 @@
...
@@ -88,7 +98,7 @@
<x>
0
</x>
<x>
0
</x>
<y>
0
</y>
<y>
0
</y>
<width>
900
</width>
<width>
900
</width>
<height>
18
</height>
<height>
25
</height>
</rect>
</rect>
</property>
</property>
<widget
class=
"QMenu"
name=
"menuOpenGEODE"
>
<widget
class=
"QMenu"
name=
"menuOpenGEODE"
>
...
@@ -141,21 +151,6 @@
...
@@ -141,21 +151,6 @@
</layout>
</layout>
</widget>
</widget>
</widget>
</widget>
<widget
class=
"QDockWidget"
name=
"statechart_dock"
>
<property
name=
"windowTitle"
>
<string>
Statechart (F4 to update)
</string>
</property>
<attribute
name=
"dockWidgetArea"
>
<number>
2
</number>
</attribute>
<widget
class=
"QWidget"
name=
"dockWidgetContents_2"
>
<layout
class=
"QGridLayout"
name=
"gridLayout"
>
<item
row=
"0"
column=
"0"
>
<widget
class=
"SDL_View"
name=
"statechart_view"
/>
</item>
</layout>
</widget>
</widget>
<widget
class=
"QDockWidget"
name=
"datatypes_dock"
>
<widget
class=
"QDockWidget"
name=
"datatypes_dock"
>
<property
name=
"windowTitle"
>
<property
name=
"windowTitle"
>
<string>
Data types
</string>
<string>
Data types
</string>
...
...
opengeode/icons.py
View file @
39242a27
This diff is collapsed.
Click to expand it.
opengeode/opengeode.py
View file @
39242a27
...
@@ -1949,13 +1949,13 @@ class OG_MainWindow(QtGui.QMainWindow, object):
...
@@ -1949,13 +1949,13 @@ class OG_MainWindow(QtGui.QMainWindow, object):
self
.
scene
.
messages_window
=
messages
self
.
scene
.
messages_window
=
messages
messages
.
itemClicked
.
connect
(
self
.
view
.
show_item
)
messages
.
itemClicked
.
connect
(
self
.
view
.
show_item
)
statechart_dock
=
self
.
findChild
(
QtGui
.
QDockWidget
,
'statechart_dock'
)
#
statechart_dock = self.findChild(QtGui.QDockWidget, 'statechart_dock')
if
graphviz
:
if
graphviz
:
self
.
statechart_view
=
self
.
findChild
(
SDL_View
,
'statechart_view'
)
self
.
statechart_view
=
self
.
findChild
(
SDL_View
,
'statechart_view'
)
self
.
statechart_scene
=
SDL_Scene
(
context
=
'statechart'
)
self
.
statechart_scene
=
SDL_Scene
(
context
=
'statechart'
)
self
.
statechart_view
.
setScene
(
self
.
statechart_scene
)
self
.
statechart_view
.
setScene
(
self
.
statechart_scene
)
else
:
#
else:
statechart_dock
.
hide
()
#
statechart_dock.hide()
# Set up the dock area to display the ASN.1 Data model
# Set up the dock area to display the ASN.1 Data model
#asn1_dock = self.findChild(QtGui.QDockWidget, 'datatypes_dock')
#asn1_dock = self.findChild(QtGui.QDockWidget, 'datatypes_dock')
...
...
opengeode/sdl92Lexer.py
View file @
39242a27
This diff is collapsed.
Click to expand it.
opengeode/sdl92Parser.py
View file @
39242a27
This diff is collapsed.
Click to expand it.
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