]> git.sesse.net Git - nageru/blob - ui_mainwindow.ui
Add a minimum size to all the buttons, so they jump less around when widths are changed.
[nageru] / ui_mainwindow.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>MainWindow</class>
4  <widget class="QMainWindow" name="MainWindow">
5   <property name="geometry">
6    <rect>
7     <x>0</x>
8     <y>0</y>
9     <width>948</width>
10     <height>597</height>
11    </rect>
12   </property>
13   <property name="windowTitle">
14    <string>MainWindow</string>
15   </property>
16   <widget class="QWidget" name="centralWidget">
17    <property name="enabled">
18     <bool>true</bool>
19    </property>
20    <property name="sizePolicy">
21     <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
22      <horstretch>0</horstretch>
23      <verstretch>0</verstretch>
24     </sizepolicy>
25    </property>
26    <layout class="QGridLayout" name="gridLayout">
27     <item row="0" column="0">
28      <layout class="QVBoxLayout" name="verticalLayout" stretch="2,0,1">
29       <item>
30        <layout class="QHBoxLayout" name="me_displays" stretch="0,0,0">
31         <item>
32          <layout class="QVBoxLayout" name="verticalLayout_3">
33           <property name="leftMargin">
34            <number>0</number>
35           </property>
36           <item>
37            <widget class="GLWidget" name="me_preview">
38             <property name="sizePolicy">
39              <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
40               <horstretch>1</horstretch>
41               <verstretch>1</verstretch>
42              </sizepolicy>
43             </property>
44            </widget>
45           </item>
46           <item>
47            <widget class="QLabel" name="label">
48             <property name="text">
49              <string>Preview</string>
50             </property>
51             <property name="alignment">
52              <set>Qt::AlignCenter</set>
53             </property>
54            </widget>
55           </item>
56          </layout>
57         </item>
58         <item>
59          <layout class="QVBoxLayout" name="verticalLayout_2">
60           <item>
61            <widget class="QPushButton" name="transition_btn1">
62             <property name="minimumSize">
63              <size>
64               <width>115</width>
65               <height>0</height>
66              </size>
67             </property>
68             <property name="text">
69              <string>Cut</string>
70             </property>
71            </widget>
72           </item>
73           <item>
74            <widget class="QPushButton" name="transition_btn2">
75             <property name="minimumSize">
76              <size>
77               <width>115</width>
78               <height>0</height>
79              </size>
80             </property>
81             <property name="text">
82              <string>Fade</string>
83             </property>
84            </widget>
85           </item>
86           <item>
87            <widget class="QPushButton" name="transition_btn3">
88             <property name="minimumSize">
89              <size>
90               <width>115</width>
91               <height>0</height>
92              </size>
93             </property>
94             <property name="text">
95              <string>Wipe</string>
96             </property>
97            </widget>
98           </item>
99          </layout>
100         </item>
101         <item>
102          <layout class="QVBoxLayout" name="verticalLayout_5">
103           <property name="leftMargin">
104            <number>0</number>
105           </property>
106           <item>
107            <widget class="GLWidget" name="me_live">
108             <property name="sizePolicy">
109              <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
110               <horstretch>1</horstretch>
111               <verstretch>1</verstretch>
112              </sizepolicy>
113             </property>
114             <property name="sizeIncrement">
115              <size>
116               <width>16</width>
117               <height>9</height>
118              </size>
119             </property>
120             <property name="baseSize">
121              <size>
122               <width>16</width>
123               <height>9</height>
124              </size>
125             </property>
126            </widget>
127           </item>
128           <item>
129            <widget class="QLabel" name="label_2">
130             <property name="text">
131              <string>Live</string>
132             </property>
133             <property name="alignment">
134              <set>Qt::AlignCenter</set>
135             </property>
136            </widget>
137           </item>
138          </layout>
139         </item>
140        </layout>
141       </item>
142       <item>
143        <spacer name="verticalSpacer">
144         <property name="orientation">
145          <enum>Qt::Vertical</enum>
146         </property>
147         <property name="sizeHint" stdset="0">
148          <size>
149           <width>0</width>
150           <height>0</height>
151          </size>
152         </property>
153        </spacer>
154       </item>
155       <item>
156        <layout class="QHBoxLayout" name="horizontalLayout_5">
157         <property name="topMargin">
158          <number>0</number>
159         </property>
160         <item>
161          <widget class="GLWidget" name="preview1">
162           <property name="sizePolicy">
163            <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
164             <horstretch>1</horstretch>
165             <verstretch>1</verstretch>
166            </sizepolicy>
167           </property>
168          </widget>
169         </item>
170         <item>
171          <widget class="GLWidget" name="preview2">
172           <property name="sizePolicy">
173            <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
174             <horstretch>1</horstretch>
175             <verstretch>1</verstretch>
176            </sizepolicy>
177           </property>
178          </widget>
179         </item>
180         <item>
181          <widget class="GLWidget" name="preview3">
182           <property name="sizePolicy">
183            <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
184             <horstretch>1</horstretch>
185             <verstretch>1</verstretch>
186            </sizepolicy>
187           </property>
188          </widget>
189         </item>
190         <item>
191          <widget class="QGLWidget" name="preview4">
192           <property name="sizePolicy">
193            <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
194             <horstretch>1</horstretch>
195             <verstretch>1</verstretch>
196            </sizepolicy>
197           </property>
198          </widget>
199         </item>
200         <item>
201          <spacer name="horizontalSpacer">
202           <property name="orientation">
203            <enum>Qt::Horizontal</enum>
204           </property>
205           <property name="sizeHint" stdset="0">
206            <size>
207             <width>0</width>
208             <height>0</height>
209            </size>
210           </property>
211          </spacer>
212         </item>
213        </layout>
214       </item>
215      </layout>
216     </item>
217    </layout>
218   </widget>
219   <widget class="QMenuBar" name="menuBar">
220    <property name="geometry">
221     <rect>
222      <x>0</x>
223      <y>0</y>
224      <width>948</width>
225      <height>19</height>
226     </rect>
227    </property>
228    <widget class="QMenu" name="menuWhat">
229     <property name="title">
230      <string>Video</string>
231     </property>
232     <addaction name="exit_action"/>
233    </widget>
234    <addaction name="menuWhat"/>
235   </widget>
236   <action name="exit_action">
237    <property name="text">
238     <string>Exit</string>
239    </property>
240   </action>
241  </widget>
242  <layoutdefault spacing="6" margin="11"/>
243  <customwidgets>
244   <customwidget>
245    <class>GLWidget</class>
246    <extends>QGLWidget</extends>
247    <header>glwidget.h</header>
248   </customwidget>
249  </customwidgets>
250  <resources/>
251  <connections/>
252 </ui>