Move dialogs layout code into separate ui file
[vlp.git] / src / edit / ui / dialogs / ProgramStructureDialog.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>ProgramStructureDialog</class>
4  <widget class="QDialog" name="ProgramStructureDialog">
5   <property name="geometry">
6    <rect>
7     <x>0</x>
8     <y>0</y>
9     <width>318</width>
10     <height>108</height>
11    </rect>
12   </property>
13   <property name="windowTitle">
14    <string>Program Structure</string>
15   </property>
16   <layout class="QVBoxLayout" name="verticalLayout">
17    <item>
18     <layout class="QHBoxLayout" name="horizontalLayout">
19      <property name="spacing">
20       <number>6</number>
21      </property>
22      <property name="topMargin">
23       <number>20</number>
24      </property>
25      <property name="bottomMargin">
26       <number>20</number>
27      </property>
28      <item>
29       <widget class="QLabel" name="label">
30        <property name="text">
31         <string>Program name</string>
32        </property>
33       </widget>
34      </item>
35      <item>
36       <widget class="QLineEdit" name="lineEdit">
37        <property name="minimumSize">
38         <size>
39          <width>200</width>
40          <height>0</height>
41         </size>
42        </property>
43       </widget>
44      </item>
45     </layout>
46    </item>
47    <item>
48     <widget class="QDialogButtonBox" name="buttonBox">
49      <property name="orientation">
50       <enum>Qt::Horizontal</enum>
51      </property>
52      <property name="standardButtons">
53       <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
54      </property>
55     </widget>
56    </item>
57   </layout>
58  </widget>
59  <resources/>
60  <connections>
61   <connection>
62    <sender>buttonBox</sender>
63    <signal>accepted()</signal>
64    <receiver>ProgramStructureDialog</receiver>
65    <slot>accept()</slot>
66    <hints>
67     <hint type="sourcelabel">
68      <x>248</x>
69      <y>254</y>
70     </hint>
71     <hint type="destinationlabel">
72      <x>157</x>
73      <y>274</y>
74     </hint>
75    </hints>
76   </connection>
77   <connection>
78    <sender>buttonBox</sender>
79    <signal>rejected()</signal>
80    <receiver>ProgramStructureDialog</receiver>
81    <slot>reject()</slot>
82    <hints>
83     <hint type="sourcelabel">
84      <x>316</x>
85      <y>260</y>
86     </hint>
87     <hint type="destinationlabel">
88      <x>286</x>
89      <y>274</y>
90     </hint>
91    </hints>
92   </connection>
93  </connections>
94 </ui>