Commit 39242a27 authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Update layout to get statecharts as a main tab

parent 53b60ee0
......@@ -78,6 +78,16 @@
</item>
</layout>
</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>
</item>
</layout>
......@@ -88,7 +98,7 @@
<x>0</x>
<y>0</y>
<width>900</width>
<height>18</height>
<height>25</height>
</rect>
</property>
<widget class="QMenu" name="menuOpenGEODE">
......@@ -141,21 +151,6 @@
</layout>
</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">
<property name="windowTitle">
<string>Data types</string>
......
This diff is collapsed.
......@@ -1949,13 +1949,13 @@ class OG_MainWindow(QtGui.QMainWindow, object):
self.scene.messages_window = messages
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:
self.statechart_view = self.findChild(SDL_View, 'statechart_view')
self.statechart_scene = SDL_Scene(context='statechart')
self.statechart_view.setScene(self.statechart_scene)
else:
statechart_dock.hide()
#else:
# statechart_dock.hide()
# Set up the dock area to display the ASN.1 Data model
#asn1_dock = self.findChild(QtGui.QDockWidget, 'datatypes_dock')
......
This diff is collapsed.
This diff is collapsed.
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