Commit cb492905 authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Add data dictionary area

parent 2a0781ca
......@@ -166,6 +166,22 @@
</layout>
</widget>
</widget>
<widget class="QDockWidget" name="datadict_dock">
<property name="windowTitle">
<string>Data dictionary</string>
</property>
<attribute name="dockWidgetArea">
<number>2</number>
</attribute>
<widget class="QWidget" name="dockWidgetContents_3">
<layout class="QGridLayout" name="gridLayout_3">
<item row="0" column="0">
<widget class="QTreeView" name="datadict"/>
</item>
</layout>
</widget>
</widget>
<action name="actionOpen">
<property name="text">
<string>Open</string>
......
This diff is collapsed.
......@@ -2117,7 +2117,9 @@ class OG_MainWindow(QtGui.QMainWindow, object):
self.statechart_view.setScene(self.statechart_scene)
# 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')
dict_dock = self.findChild(QtGui.QDockWidget, 'datadict_dock')
self.tabifyDockWidget(asn1_dock, dict_dock)
self.datatypes_view = self.findChild(SDL_View, 'datatypes_view')
self.datatypes_scene = SDL_Scene(context='asn1')
self.datatypes_view.setScene(self.datatypes_scene)
......
# $ANTLR 3.1.3 Mar 17, 2009 19:23:44 sdl92.g 2016-08-18 19:27:26
# $ANTLR 3.1.3 Mar 17, 2009 19:23:44 sdl92.g 2016-08-22 10:32:25
import sys
from antlr3 import *
......
# $ANTLR 3.1.3 Mar 17, 2009 19:23:44 sdl92.g 2016-08-18 19:27:24
# $ANTLR 3.1.3 Mar 17, 2009 19:23:44 sdl92.g 2016-08-22 10:32:23
 
import sys
from antlr3 import *
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