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