|
1 <!DOCTYPE UI><UI version="3.2" stdsetdef="1"> |
|
2 <class>HelpDemoBase</class> |
|
3 <widget class="QWidget"> |
|
4 <property name="name"> |
|
5 <cstring>HelpDemoBase</cstring> |
|
6 </property> |
|
7 <property name="geometry"> |
|
8 <rect> |
|
9 <x>0</x> |
|
10 <y>0</y> |
|
11 <width>315</width> |
|
12 <height>346</height> |
|
13 </rect> |
|
14 </property> |
|
15 <property name="caption"> |
|
16 <string>Help Example</string> |
|
17 </property> |
|
18 <grid> |
|
19 <property name="name"> |
|
20 <cstring>unnamed</cstring> |
|
21 </property> |
|
22 <widget class="QLayoutWidget" row="3" column="0"> |
|
23 <property name="name"> |
|
24 <cstring>layout2</cstring> |
|
25 </property> |
|
26 <hbox> |
|
27 <property name="name"> |
|
28 <cstring>unnamed</cstring> |
|
29 </property> |
|
30 <spacer> |
|
31 <property name="name"> |
|
32 <cstring>spacer1</cstring> |
|
33 </property> |
|
34 <property name="orientation"> |
|
35 <enum>Horizontal</enum> |
|
36 </property> |
|
37 <property name="sizeType"> |
|
38 <enum>Expanding</enum> |
|
39 </property> |
|
40 <property name="sizeHint"> |
|
41 <size> |
|
42 <width>301</width> |
|
43 <height>20</height> |
|
44 </size> |
|
45 </property> |
|
46 </spacer> |
|
47 <widget class="QPushButton"> |
|
48 <property name="name"> |
|
49 <cstring>closeButton</cstring> |
|
50 </property> |
|
51 <property name="text"> |
|
52 <string>&Close</string> |
|
53 </property> |
|
54 <property name="accel"> |
|
55 <string>Alt+C</string> |
|
56 </property> |
|
57 <property name="autoDefault"> |
|
58 <bool>true</bool> |
|
59 </property> |
|
60 </widget> |
|
61 </hbox> |
|
62 </widget> |
|
63 <widget class="QFrame" row="1" column="0"> |
|
64 <property name="name"> |
|
65 <cstring>frame5</cstring> |
|
66 </property> |
|
67 <property name="frameShape"> |
|
68 <enum>StyledPanel</enum> |
|
69 </property> |
|
70 <property name="frameShadow"> |
|
71 <enum>Sunken</enum> |
|
72 </property> |
|
73 <grid> |
|
74 <property name="name"> |
|
75 <cstring>unnamed</cstring> |
|
76 </property> |
|
77 <widget class="QPushButton" row="1" column="0" rowspan="1" colspan="2"> |
|
78 <property name="name"> |
|
79 <cstring>openQAButton</cstring> |
|
80 </property> |
|
81 <property name="text"> |
|
82 <string>&Open Assistant</string> |
|
83 </property> |
|
84 <property name="accel"> |
|
85 <string>Alt+L</string> |
|
86 </property> |
|
87 <property name="autoDefault"> |
|
88 <bool>true</bool> |
|
89 </property> |
|
90 </widget> |
|
91 <widget class="QPushButton" row="4" column="3"> |
|
92 <property name="name"> |
|
93 <cstring>displayButton</cstring> |
|
94 </property> |
|
95 <property name="text"> |
|
96 <string>&Display</string> |
|
97 </property> |
|
98 <property name="accel"> |
|
99 <string>Alt+D</string> |
|
100 </property> |
|
101 <property name="autoDefault"> |
|
102 <bool>true</bool> |
|
103 </property> |
|
104 </widget> |
|
105 <widget class="QCheckBox" row="3" column="0" rowspan="1" colspan="4"> |
|
106 <property name="name"> |
|
107 <cstring>checkHide</cstring> |
|
108 </property> |
|
109 <property name="text"> |
|
110 <string>&Hide Sidebar when Opening</string> |
|
111 </property> |
|
112 <property name="accel"> |
|
113 <string>Alt+H</string> |
|
114 </property> |
|
115 </widget> |
|
116 <widget class="QPushButton" row="1" column="2" rowspan="1" colspan="2"> |
|
117 <property name="name"> |
|
118 <cstring>closeQAButton</cstring> |
|
119 </property> |
|
120 <property name="text"> |
|
121 <string>C&lose Assistant</string> |
|
122 </property> |
|
123 <property name="accel"> |
|
124 <string>Alt+L</string> |
|
125 </property> |
|
126 <property name="autoDefault"> |
|
127 <bool>true</bool> |
|
128 </property> |
|
129 </widget> |
|
130 <widget class="QLabel" row="4" column="0"> |
|
131 <property name="name"> |
|
132 <cstring>textLabel3</cstring> |
|
133 </property> |
|
134 <property name="text"> |
|
135 <string>&Filename:</string> |
|
136 </property> |
|
137 <property name="buddy" stdset="0"> |
|
138 <cstring>leFileName</cstring> |
|
139 </property> |
|
140 </widget> |
|
141 <widget class="QLineEdit" row="4" column="1" rowspan="1" colspan="2"> |
|
142 <property name="name"> |
|
143 <cstring>leFileName</cstring> |
|
144 </property> |
|
145 </widget> |
|
146 <widget class="QCheckBox" row="2" column="0" rowspan="1" colspan="4"> |
|
147 <property name="name"> |
|
148 <cstring>checkOnlyExampleDoc</cstring> |
|
149 </property> |
|
150 <property name="text"> |
|
151 <string>Run Qt Assistant customized for HelpDemo</string> |
|
152 </property> |
|
153 <property name="accel"> |
|
154 <string></string> |
|
155 </property> |
|
156 </widget> |
|
157 </grid> |
|
158 </widget> |
|
159 <widget class="QTextEdit" row="0" column="0"> |
|
160 <property name="name"> |
|
161 <cstring>textEdit1</cstring> |
|
162 </property> |
|
163 <property name="text"> |
|
164 <string><p> |
|
165 This example demonstrates how Qt Assistant can be used as a help system for your application. If the button <i>"Run Qt Assistant customized for HelpDemo"</i> is checked Qt Assistant will be customized for this application. |
|
166 </p></string> |
|
167 </property> |
|
168 <property name="wordWrap"> |
|
169 <enum>WidgetWidth</enum> |
|
170 </property> |
|
171 <property name="readOnly"> |
|
172 <bool>true</bool> |
|
173 </property> |
|
174 </widget> |
|
175 <spacer row="2" column="0"> |
|
176 <property name="name"> |
|
177 <cstring>spacer2</cstring> |
|
178 </property> |
|
179 <property name="orientation"> |
|
180 <enum>Vertical</enum> |
|
181 </property> |
|
182 <property name="sizeType"> |
|
183 <enum>Expanding</enum> |
|
184 </property> |
|
185 <property name="sizeHint"> |
|
186 <size> |
|
187 <width>31</width> |
|
188 <height>30</height> |
|
189 </size> |
|
190 </property> |
|
191 </spacer> |
|
192 </grid> |
|
193 </widget> |
|
194 <connections> |
|
195 <connection> |
|
196 <sender>closeButton</sender> |
|
197 <signal>clicked()</signal> |
|
198 <receiver>HelpDemoBase</receiver> |
|
199 <slot>close()</slot> |
|
200 </connection> |
|
201 <connection> |
|
202 <sender>openQAButton</sender> |
|
203 <signal>clicked()</signal> |
|
204 <receiver>HelpDemoBase</receiver> |
|
205 <slot>openAssistant()</slot> |
|
206 </connection> |
|
207 <connection> |
|
208 <sender>closeQAButton</sender> |
|
209 <signal>clicked()</signal> |
|
210 <receiver>HelpDemoBase</receiver> |
|
211 <slot>closeAssistant()</slot> |
|
212 </connection> |
|
213 <connection> |
|
214 <sender>displayButton</sender> |
|
215 <signal>clicked()</signal> |
|
216 <receiver>HelpDemoBase</receiver> |
|
217 <slot>displayPage()</slot> |
|
218 </connection> |
|
219 <connection> |
|
220 <sender>checkOnlyExampleDoc</sender> |
|
221 <signal>toggled(bool)</signal> |
|
222 <receiver>HelpDemoBase</receiver> |
|
223 <slot>setAssistantArguments()</slot> |
|
224 </connection> |
|
225 <connection> |
|
226 <sender>checkHide</sender> |
|
227 <signal>toggled(bool)</signal> |
|
228 <receiver>HelpDemoBase</receiver> |
|
229 <slot>setAssistantArguments()</slot> |
|
230 </connection> |
|
231 </connections> |
|
232 <slots> |
|
233 <slot>displayPage()</slot> |
|
234 <slot>openAssistant()</slot> |
|
235 <slot>closeAssistant()</slot> |
|
236 <slot>setAssistantArguments()</slot> |
|
237 </slots> |
|
238 <layoutdefaults spacing="6" margin="11"/> |
|
239 </UI> |