PageRenderTime 221ms CodeModel.GetById 89ms app.highlight 10ms RepoModel.GetById 81ms app.codeStats 0ms

/src/breakpad/CrashReporter/CrashReporter.ui

http://github.com/tomahawk-player/tomahawk
Unknown | 257 lines | 257 code | 0 blank | 0 comment | 0 complexity | 6cbd19ee0d8c0e469e8f7c9740847f54 MD5 | raw file
  1<?xml version="1.0" encoding="UTF-8"?>
  2<ui version="4.0">
  3 <class>CrashReporter</class>
  4 <widget class="QDialog" name="CrashReporter">
  5  <property name="windowModality">
  6   <enum>Qt::ApplicationModal</enum>
  7  </property>
  8  <property name="geometry">
  9   <rect>
 10    <x>0</x>
 11    <y>0</y>
 12    <width>376</width>
 13    <height>216</height>
 14   </rect>
 15  </property>
 16  <property name="sizePolicy">
 17   <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
 18    <horstretch>0</horstretch>
 19    <verstretch>0</verstretch>
 20   </sizepolicy>
 21  </property>
 22  <property name="windowTitle">
 23   <string>Tomahawk Crash Reporter</string>
 24  </property>
 25  <property name="modal">
 26   <bool>false</bool>
 27  </property>
 28  <layout class="QVBoxLayout">
 29   <property name="spacing">
 30    <number>6</number>
 31   </property>
 32   <property name="margin">
 33    <number>9</number>
 34   </property>
 35   <item>
 36    <layout class="QHBoxLayout" name="hboxLayout">
 37     <property name="spacing">
 38      <number>12</number>
 39     </property>
 40     <property name="margin">
 41      <number>0</number>
 42     </property>
 43     <item>
 44      <widget class="QLabel" name="logoLabel">
 45       <property name="sizePolicy">
 46        <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
 47         <horstretch>0</horstretch>
 48         <verstretch>0</verstretch>
 49        </sizepolicy>
 50       </property>
 51       <property name="minimumSize">
 52        <size>
 53         <width>55</width>
 54         <height>55</height>
 55        </size>
 56       </property>
 57       <property name="maximumSize">
 58        <size>
 59         <width>55</width>
 60         <height>55</height>
 61        </size>
 62       </property>
 63       <property name="text">
 64        <string/>
 65       </property>
 66       <property name="alignment">
 67        <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
 68       </property>
 69      </widget>
 70     </item>
 71     <item>
 72      <widget class="QLabel" name="topLabel">
 73       <property name="sizePolicy">
 74        <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
 75         <horstretch>0</horstretch>
 76         <verstretch>0</verstretch>
 77        </sizepolicy>
 78       </property>
 79       <property name="text">
 80        <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Sorry!&lt;/span&gt; Tomahawk crashed. Please tell us about it! Tomahawk has created an error report for you that can help improve the stability in the future. You can now send this report directly to the Tomahawk developers.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
 81       </property>
 82       <property name="textFormat">
 83        <enum>Qt::RichText</enum>
 84       </property>
 85       <property name="wordWrap">
 86        <bool>true</bool>
 87       </property>
 88      </widget>
 89     </item>
 90     <item>
 91      <spacer>
 92       <property name="orientation">
 93        <enum>Qt::Horizontal</enum>
 94       </property>
 95       <property name="sizeType">
 96        <enum>QSizePolicy::Fixed</enum>
 97       </property>
 98       <property name="sizeHint" stdset="0">
 99        <size>
100         <width>6</width>
101         <height>6</height>
102        </size>
103       </property>
104      </spacer>
105     </item>
106    </layout>
107   </item>
108   <item>
109    <layout class="QHBoxLayout" name="hboxLayout1">
110     <property name="spacing">
111      <number>-1</number>
112     </property>
113     <item>
114      <spacer name="horizontalSpacer">
115       <property name="orientation">
116        <enum>Qt::Horizontal</enum>
117       </property>
118       <property name="sizeHint" stdset="0">
119        <size>
120         <width>40</width>
121         <height>20</height>
122        </size>
123       </property>
124      </spacer>
125     </item>
126     <item>
127      <widget class="QPushButton" name="sendButton">
128       <property name="text">
129        <string>Send this report</string>
130       </property>
131      </widget>
132     </item>
133     <item>
134      <widget class="QPushButton" name="dontSendButton">
135       <property name="text">
136        <string>Don't send</string>
137       </property>
138      </widget>
139     </item>
140    </layout>
141   </item>
142   <item>
143    <layout class="QVBoxLayout" name="vboxLayout1">
144     <property name="spacing">
145      <number>0</number>
146     </property>
147     <property name="margin">
148      <number>0</number>
149     </property>
150     <item>
151      <widget class="QLabel" name="progressLabel">
152       <property name="sizePolicy">
153        <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
154         <horstretch>0</horstretch>
155         <verstretch>0</verstretch>
156        </sizepolicy>
157       </property>
158       <property name="text">
159        <string/>
160       </property>
161      </widget>
162     </item>
163     <item>
164      <layout class="QHBoxLayout">
165       <property name="spacing">
166        <number>9</number>
167       </property>
168       <property name="margin">
169        <number>0</number>
170       </property>
171       <item>
172        <widget class="QProgressBar" name="progressBar">
173         <property name="value">
174          <number>24</number>
175         </property>
176         <property name="orientation">
177          <enum>Qt::Horizontal</enum>
178         </property>
179        </widget>
180       </item>
181       <item>
182        <widget class="QPushButton" name="button">
183         <property name="sizePolicy">
184          <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
185           <horstretch>0</horstretch>
186           <verstretch>0</verstretch>
187          </sizepolicy>
188         </property>
189         <property name="text">
190          <string>Abort</string>
191         </property>
192         <property name="default">
193          <bool>true</bool>
194         </property>
195        </widget>
196       </item>
197      </layout>
198     </item>
199    </layout>
200   </item>
201   <item>
202    <widget class="QLabel" name="bottomLabel">
203     <property name="sizePolicy">
204      <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
205       <horstretch>0</horstretch>
206       <verstretch>0</verstretch>
207      </sizepolicy>
208     </property>
209     <property name="text">
210      <string>You can disable sending crash reports in the configuration dialog.</string>
211     </property>
212     <property name="textFormat">
213      <enum>Qt::PlainText</enum>
214     </property>
215     <property name="wordWrap">
216      <bool>false</bool>
217     </property>
218    </widget>
219   </item>
220  </layout>
221 </widget>
222 <resources/>
223 <connections>
224  <connection>
225   <sender>button</sender>
226   <signal>clicked()</signal>
227   <receiver>CrashReporter</receiver>
228   <slot>accept()</slot>
229   <hints>
230    <hint type="sourcelabel">
231     <x>426</x>
232     <y>203</y>
233    </hint>
234    <hint type="destinationlabel">
235     <x>247</x>
236     <y>195</y>
237    </hint>
238   </hints>
239  </connection>
240  <connection>
241   <sender>dontSendButton</sender>
242   <signal>clicked()</signal>
243   <receiver>CrashReporter</receiver>
244   <slot>reject()</slot>
245   <hints>
246    <hint type="sourcelabel">
247     <x>380</x>
248     <y>117</y>
249    </hint>
250    <hint type="destinationlabel">
251     <x>218</x>
252     <y>122</y>
253    </hint>
254   </hints>
255  </connection>
256 </connections>
257</ui>