Mercurial > repos > IBBoard.WarFoundry.GUI.QtSharp
comparison qt-gui/MainWindowLayout.ui @ 33:be876c03054f
Re #245: Create unit tab implementation
* Add stub widget
* Record which unit tabs are open
* Remove two default tabs
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 07 Aug 2010 15:40:37 +0000 |
parents | 55d4f16c982b |
children |
comparison
equal
deleted
inserted
replaced
32:e405b43a405b | 33:be876c03054f |
---|---|
37 </widget> | 37 </widget> |
38 <widget class="QTabWidget" name="unitTabs"> | 38 <widget class="QTabWidget" name="unitTabs"> |
39 <property name="minimumSize"> | 39 <property name="minimumSize"> |
40 <size> | 40 <size> |
41 <width>500</width> | 41 <width>500</width> |
42 <height>0</height> | 42 <height>200</height> |
43 </size> | 43 </size> |
44 </property> | 44 </property> |
45 <property name="tabShape"> | |
46 <enum>QTabWidget::Rounded</enum> | |
47 </property> | |
45 <property name="currentIndex"> | 48 <property name="currentIndex"> |
46 <number>0</number> | 49 <number>-1</number> |
47 </property> | 50 </property> |
48 <widget class="QWidget" name="tab"> | 51 <property name="elideMode"> |
49 <attribute name="title"> | 52 <enum>Qt::ElideMiddle</enum> |
50 <string>Tab 1</string> | 53 </property> |
51 </attribute> | 54 <property name="documentMode"> |
52 </widget> | 55 <bool>false</bool> |
53 <widget class="QWidget" name="tab_2"> | 56 </property> |
54 <attribute name="title"> | 57 <property name="tabsClosable"> |
55 <string>Tab 2</string> | 58 <bool>true</bool> |
56 </attribute> | 59 </property> |
57 </widget> | 60 <property name="movable"> |
61 <bool>true</bool> | |
62 </property> | |
58 </widget> | 63 </widget> |
59 </widget> | 64 </widget> |
60 </item> | 65 </item> |
61 </layout> | 66 </layout> |
62 </widget> | 67 </widget> |