Device Emulation (contd.): Changed the default app window size and ports-list/port-detail split to minimize scroll bars; a larger height would be better but capped it to 1024x600 (netbook resolution)

This commit is contained in:
Srivats P 2016-03-22 18:27:36 +05:30
parent 0e32a1942d
commit ce7aee54e5
2 changed files with 14 additions and 10 deletions

View File

@ -5,8 +5,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>700</width>
<height>550</height>
<width>1024</width>
<height>600</height>
</rect>
</property>
<property name="windowTitle" >
@ -17,14 +17,6 @@
</property>
<widget class="QWidget" name="centralwidget" />
<widget class="QMenuBar" name="menubar" >
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
<width>700</width>
<height>21</height>
</rect>
</property>
<widget class="QMenu" name="menuFile" >
<property name="title" >
<string>&amp;File</string>

View File

@ -22,6 +22,12 @@
<bool>false</bool>
</property>
<widget class="QTreeView" name="tvPortList" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Expanding" hsizetype="Expanding" >
<horstretch>1</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="contextMenuPolicy" >
<enum>Qt::ActionsContextMenu</enum>
</property>
@ -30,6 +36,12 @@
</property>
</widget>
<widget class="QStackedWidget" name="swDetail" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Preferred" hsizetype="Preferred" >
<horstretch>2</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="currentIndex" >
<number>0</number>
</property>