Device Emulation (contd.): Added a tab and view in the GUI for device configuration

This commit is contained in:
Srivats P 2016-02-02 18:43:48 +05:30
parent 3040c72181
commit e8030bbd01

View File

@ -47,7 +47,17 @@
<property name="bottomMargin" > <property name="bottomMargin" >
<number>0</number> <number>0</number>
</property> </property>
<item row="0" column="0" > <item row="1" column="0" >
<widget class="QTabWidget" name="portConfig" >
<property name="currentIndex" >
<number>0</number>
</property>
<widget class="QWidget" name="streamsTab" >
<attribute name="title" >
<string>Streams</string>
</attribute>
<layout class="QVBoxLayout" >
<item>
<layout class="QHBoxLayout" > <layout class="QHBoxLayout" >
<item> <item>
<widget class="QFrame" name="frAggregate" > <widget class="QFrame" name="frAggregate" >
@ -133,7 +143,7 @@
</item> </item>
</layout> </layout>
</item> </item>
<item row="1" column="0" > <item>
<widget class="QTableView" name="tvStreamList" > <widget class="QTableView" name="tvStreamList" >
<property name="sizePolicy" > <property name="sizePolicy" >
<sizepolicy vsizetype="Expanding" hsizetype="Expanding" > <sizepolicy vsizetype="Expanding" hsizetype="Expanding" >
@ -160,6 +170,42 @@
</item> </item>
</layout> </layout>
</widget> </widget>
<widget class="QWidget" name="devicesTab" >
<attribute name="title" >
<string>Devices</string>
</attribute>
<layout class="QHBoxLayout" >
<item>
<widget class="QTableView" name="deviceGroupList" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Expanding" hsizetype="Expanding" >
<horstretch>0</horstretch>
<verstretch>1</verstretch>
</sizepolicy>
</property>
<property name="contextMenuPolicy" >
<enum>Qt::ActionsContextMenu</enum>
</property>
<property name="frameShape" >
<enum>QFrame::StyledPanel</enum>
</property>
<property name="lineWidth" >
<number>1</number>
</property>
<property name="selectionMode" >
<enum>QAbstractItemView::ExtendedSelection</enum>
</property>
<property name="selectionBehavior" >
<enum>QAbstractItemView::SelectRows</enum>
</property>
</widget>
</item>
</layout>
</widget>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="portGroupDetail" > <widget class="QWidget" name="portGroupDetail" >
<layout class="QHBoxLayout" > <layout class="QHBoxLayout" >
<item> <item>