source: src-qt4/pc-softwaremanager/ErrorDialog.ui @ c71b68c

9.2-releasereleng/10.0releng/10.0.1releng/10.0.2
Last change on this file since c71b68c was c71b68c, checked in by Ken Moore <ken@…>, 12 months ago

Add a bunch of error loggin to the backend processes, and also add a new dialog for displaying these error logs. Also fix the detection of an update failure.

  • Property mode set to 100644
File size: 3.4 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<ui version="4.0">
3 <class>ErrorDialog</class>
4 <widget class="QDialog" name="ErrorDialog">
5  <property name="geometry">
6   <rect>
7    <x>0</x>
8    <y>0</y>
9    <width>404</width>
10    <height>171</height>
11   </rect>
12  </property>
13  <property name="windowTitle">
14   <string>Dialog</string>
15  </property>
16  <property name="windowIcon">
17   <iconset resource="SoftwareManager.qrc">
18    <normaloff>:/icons/dialog-cancel.png</normaloff>:/icons/dialog-cancel.png</iconset>
19  </property>
20  <property name="modal">
21   <bool>true</bool>
22  </property>
23  <layout class="QVBoxLayout" name="verticalLayout">
24   <item>
25    <layout class="QHBoxLayout" name="horizontalLayout">
26     <item>
27      <widget class="QLabel" name="label_icon">
28       <property name="sizePolicy">
29        <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
30         <horstretch>0</horstretch>
31         <verstretch>0</verstretch>
32        </sizepolicy>
33       </property>
34       <property name="text">
35        <string/>
36       </property>
37       <property name="pixmap">
38        <pixmap resource="SoftwareManager.qrc">:/icons/dialog-cancel.png</pixmap>
39       </property>
40       <property name="scaledContents">
41        <bool>false</bool>
42       </property>
43      </widget>
44     </item>
45     <item>
46      <widget class="QLabel" name="label">
47       <property name="text">
48        <string notr="true">Error Message</string>
49       </property>
50       <property name="alignment">
51        <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
52       </property>
53       <property name="wordWrap">
54        <bool>true</bool>
55       </property>
56      </widget>
57     </item>
58    </layout>
59   </item>
60   <item>
61    <spacer name="verticalSpacer">
62     <property name="orientation">
63      <enum>Qt::Vertical</enum>
64     </property>
65     <property name="sizeHint" stdset="0">
66      <size>
67       <width>20</width>
68       <height>0</height>
69      </size>
70     </property>
71    </spacer>
72   </item>
73   <item>
74    <widget class="QCheckBox" name="checkBox">
75     <property name="text">
76      <string>Show Error Log</string>
77     </property>
78    </widget>
79   </item>
80   <item>
81    <widget class="QTextEdit" name="textEdit">
82     <property name="lineWrapMode">
83      <enum>QTextEdit::NoWrap</enum>
84     </property>
85     <property name="textInteractionFlags">
86      <set>Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set>
87     </property>
88    </widget>
89   </item>
90   <item>
91    <widget class="QDialogButtonBox" name="buttonBox">
92     <property name="orientation">
93      <enum>Qt::Horizontal</enum>
94     </property>
95     <property name="standardButtons">
96      <set>QDialogButtonBox::Close</set>
97     </property>
98    </widget>
99   </item>
100  </layout>
101 </widget>
102 <resources>
103  <include location="SoftwareManager.qrc"/>
104 </resources>
105 <connections>
106  <connection>
107   <sender>buttonBox</sender>
108   <signal>accepted()</signal>
109   <receiver>ErrorDialog</receiver>
110   <slot>accept()</slot>
111   <hints>
112    <hint type="sourcelabel">
113     <x>248</x>
114     <y>254</y>
115    </hint>
116    <hint type="destinationlabel">
117     <x>157</x>
118     <y>274</y>
119    </hint>
120   </hints>
121  </connection>
122  <connection>
123   <sender>buttonBox</sender>
124   <signal>rejected()</signal>
125   <receiver>ErrorDialog</receiver>
126   <slot>reject()</slot>
127   <hints>
128    <hint type="sourcelabel">
129     <x>316</x>
130     <y>260</y>
131    </hint>
132    <hint type="destinationlabel">
133     <x>286</x>
134     <y>274</y>
135    </hint>
136   </hints>
137  </connection>
138 </connections>
139</ui>
Note: See TracBrowser for help on using the repository browser.