New relase with auto-rotaion and fixed setting dialog in portrait mode.
[quick-widgets] / quickwidgetsettings.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>QuickWidgetSettings</class>
4  <widget class="QDialog" name="QuickWidgetSettings">
5   <property name="geometry">
6    <rect>
7     <x>0</x>
8     <y>0</y>
9     <width>173</width>
10     <height>149</height>
11    </rect>
12   </property>
13   <property name="windowTitle">
14    <string>QtQuick Widget Selection</string>
15   </property>
16   <layout class="QVBoxLayout" name="verticalLayout">
17    <item>
18     <layout class="QGridLayout" name="gridLayout">
19      <property name="sizeConstraint">
20       <enum>QLayout::SetNoConstraint</enum>
21      </property>
22      <item row="0" column="0">
23       <layout class="QHBoxLayout" name="horizontalLayout">
24        <property name="sizeConstraint">
25         <enum>QLayout::SetNoConstraint</enum>
26        </property>
27        <item>
28         <widget class="QPushButton" name="fileButton">
29          <property name="text">
30           <string>qml</string>
31          </property>
32         </widget>
33        </item>
34        <item>
35         <widget class="QLineEdit" name="fileEdit"/>
36        </item>
37       </layout>
38      </item>
39      <item row="2" column="0">
40       <widget class="QCheckBox" name="sizingCheckBox">
41        <property name="text">
42         <string>Fixed Size</string>
43        </property>
44       </widget>
45      </item>
46      <item row="3" column="0">
47       <layout class="QHBoxLayout" name="horizontalLayout_2">
48        <item>
49         <spacer name="horizontalSpacer">
50          <property name="orientation">
51           <enum>Qt::Horizontal</enum>
52          </property>
53          <property name="sizeType">
54           <enum>QSizePolicy::Expanding</enum>
55          </property>
56          <property name="sizeHint" stdset="0">
57           <size>
58            <width>13</width>
59            <height>20</height>
60           </size>
61          </property>
62         </spacer>
63        </item>
64        <item>
65         <widget class="QLineEdit" name="widthEdit">
66          <property name="enabled">
67           <bool>false</bool>
68          </property>
69         </widget>
70        </item>
71        <item>
72         <widget class="QLabel" name="label">
73          <property name="text">
74           <string>x</string>
75          </property>
76          <property name="alignment">
77           <set>Qt::AlignCenter</set>
78          </property>
79         </widget>
80        </item>
81        <item>
82         <widget class="QLineEdit" name="heightEdit">
83          <property name="enabled">
84           <bool>false</bool>
85          </property>
86         </widget>
87        </item>
88        <item>
89         <spacer name="horizontalSpacer_2">
90          <property name="orientation">
91           <enum>Qt::Horizontal</enum>
92          </property>
93          <property name="sizeHint" stdset="0">
94           <size>
95            <width>40</width>
96            <height>20</height>
97           </size>
98          </property>
99         </spacer>
100        </item>
101       </layout>
102      </item>
103      <item row="1" column="0">
104       <widget class="QCheckBox" name="autoRotateCheckBox">
105        <property name="text">
106         <string>Auto-rotate</string>
107        </property>
108       </widget>
109      </item>
110     </layout>
111    </item>
112    <item>
113     <widget class="QDialogButtonBox" name="buttonBox">
114      <property name="standardButtons">
115       <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
116      </property>
117     </widget>
118    </item>
119   </layout>
120  </widget>
121  <resources/>
122  <connections>
123   <connection>
124    <sender>sizingCheckBox</sender>
125    <signal>toggled(bool)</signal>
126    <receiver>widthEdit</receiver>
127    <slot>setEnabled(bool)</slot>
128    <hints>
129     <hint type="sourcelabel">
130      <x>180</x>
131      <y>120</y>
132     </hint>
133     <hint type="destinationlabel">
134      <x>120</x>
135      <y>156</y>
136     </hint>
137    </hints>
138   </connection>
139   <connection>
140    <sender>sizingCheckBox</sender>
141    <signal>toggled(bool)</signal>
142    <receiver>heightEdit</receiver>
143    <slot>setEnabled(bool)</slot>
144    <hints>
145     <hint type="sourcelabel">
146      <x>180</x>
147      <y>120</y>
148     </hint>
149     <hint type="destinationlabel">
150      <x>257</x>
151      <y>156</y>
152     </hint>
153    </hints>
154   </connection>
155   <connection>
156    <sender>buttonBox</sender>
157    <signal>accepted()</signal>
158    <receiver>QuickWidgetSettings</receiver>
159    <slot>accept()</slot>
160    <hints>
161     <hint type="sourcelabel">
162      <x>395</x>
163      <y>310</y>
164     </hint>
165     <hint type="destinationlabel">
166      <x>399</x>
167      <y>199</y>
168     </hint>
169    </hints>
170   </connection>
171  </connections>
172 </ui>