merge with mozilla-central
[mozilla-central.git] / embedding / browser / qt / src / alert.ui
blob91cf936d5a873ac171e0b71d530fc04e744cb964
1 <ui version="4.0" >
2  <class>AlertDialog</class>
3  <widget class="QDialog" name="AlertDialog" >
4   <property name="geometry" >
5    <rect>
6     <x>0</x>
7     <y>0</y>
8     <width>187</width>
9     <height>122</height>
10    </rect>
11   </property>
12   <property name="windowTitle" >
13    <string>Alert</string>
14   </property>
15   <property name="sizeGripEnabled" >
16    <bool>false</bool>
17   </property>
18   <layout class="QVBoxLayout" >
19    <item>
20     <layout class="QGridLayout" >
21      <item row="1" column="1" >
22       <spacer>
23        <property name="orientation" >
24         <enum>Qt::Vertical</enum>
25        </property>
26        <property name="sizeType" >
27         <enum>QSizePolicy::Minimum</enum>
28        </property>
29        <property name="sizeHint" >
30         <size>
31          <width>5</width>
32          <height>5</height>
33         </size>
34        </property>
35       </spacer>
36      </item>
37      <item row="0" column="1" >
38       <widget class="QLabel" name="message" >
39        <property name="enabled" >
40         <bool>true</bool>
41        </property>
42        <property name="sizePolicy" >
43         <sizepolicy vsizetype="MinimumExpanding" hsizetype="MinimumExpanding" >
44          <horstretch>0</horstretch>
45          <verstretch>0</verstretch>
46         </sizepolicy>
47        </property>
48        <property name="text" >
49         <string>alert text</string>
50        </property>
51        <property name="alignment" >
52         <set>Qt::AlignVCenter</set>
53        </property>
54        <property name="wordWrap" >
55         <bool>true</bool>
56        </property>
57       </widget>
58      </item>
59      <item row="2" column="0" >
60       <spacer>
61        <property name="orientation" >
62         <enum>Qt::Vertical</enum>
63        </property>
64        <property name="sizeType" >
65         <enum>QSizePolicy::Minimum</enum>
66        </property>
67        <property name="sizeHint" >
68         <size>
69          <width>5</width>
70          <height>5</height>
71         </size>
72        </property>
73       </spacer>
74      </item>
75      <item row="2" column="1" >
76       <widget class="QCheckBox" name="check" >
77        <property name="sizePolicy" >
78         <sizepolicy vsizetype="Fixed" hsizetype="MinimumExpanding" >
79          <horstretch>0</horstretch>
80          <verstretch>0</verstretch>
81         </sizepolicy>
82        </property>
83        <property name="text" >
84         <string>confirm</string>
85        </property>
86       </widget>
87      </item>
88      <item row="1" column="0" >
89       <spacer>
90        <property name="orientation" >
91         <enum>Qt::Vertical</enum>
92        </property>
93        <property name="sizeType" >
94         <enum>QSizePolicy::Minimum</enum>
95        </property>
96        <property name="sizeHint" >
97         <size>
98          <width>5</width>
99          <height>5</height>
100         </size>
101        </property>
102       </spacer>
103      </item>
104      <item row="0" column="0" >
105       <widget class="QLabel" name="icon" >
106        <property name="sizePolicy" >
107         <sizepolicy vsizetype="Minimum" hsizetype="Minimum" >
108          <horstretch>0</horstretch>
109          <verstretch>0</verstretch>
110         </sizepolicy>
111        </property>
112        <property name="scaledContents" >
113         <bool>false</bool>
114        </property>
115        <property name="alignment" >
116         <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
117        </property>
118        <property name="wordWrap" >
119         <bool>false</bool>
120        </property>
121       </widget>
122      </item>
123     </layout>
124    </item>
125    <item>
126     <spacer>
127      <property name="orientation" >
128       <enum>Qt::Vertical</enum>
129      </property>
130      <property name="sizeType" >
131       <enum>QSizePolicy::Fixed</enum>
132      </property>
133      <property name="sizeHint" >
134       <size>
135        <width>20</width>
136        <height>10</height>
137       </size>
138      </property>
139     </spacer>
140    </item>
141    <item>
142     <layout class="QHBoxLayout" >
143      <item>
144       <spacer>
145        <property name="orientation" >
146         <enum>Qt::Horizontal</enum>
147        </property>
148        <property name="sizeType" >
149         <enum>QSizePolicy::Expanding</enum>
150        </property>
151        <property name="sizeHint" >
152         <size>
153          <width>40</width>
154          <height>20</height>
155         </size>
156        </property>
157       </spacer>
158      </item>
159      <item>
160       <widget class="QPushButton" name="ok" >
161        <property name="text" >
162         <string>&amp;OK</string>
163        </property>
164        <property name="autoDefault" >
165         <bool>true</bool>
166        </property>
167        <property name="default" >
168         <bool>true</bool>
169        </property>
170       </widget>
171      </item>
172      <item>
173       <spacer>
174        <property name="orientation" >
175         <enum>Qt::Horizontal</enum>
176        </property>
177        <property name="sizeType" >
178         <enum>QSizePolicy::Expanding</enum>
179        </property>
180        <property name="sizeHint" >
181         <size>
182          <width>40</width>
183          <height>20</height>
184         </size>
185        </property>
186       </spacer>
187      </item>
188     </layout>
189    </item>
190   </layout>
191  </widget>
192  <layoutdefault spacing="6" margin="11" />
193  <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
194  <tabstops>
195   <tabstop>ok</tabstop>
196   <tabstop>check</tabstop>
197  </tabstops>
198  <resources/>
199  <connections>
200   <connection>
201    <sender>ok</sender>
202    <signal>clicked()</signal>
203    <receiver>AlertDialog</receiver>
204    <slot>accept()</slot>
205    <hints>
206     <hint type="sourcelabel" >
207      <x>20</x>
208      <y>20</y>
209     </hint>
210     <hint type="destinationlabel" >
211      <x>20</x>
212      <y>20</y>
213     </hint>
214    </hints>
215   </connection>
216  </connections>
217 </ui>