|
1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <ui version="4.0" stdsetdef="1"> |
|
3 <author></author> |
|
4 <comment></comment> |
|
5 <exportmacro></exportmacro> |
|
6 <class>HelpDemoBase</class> |
|
7 <widget class="QWidget" name="HelpDemoBase"> |
|
8 <property name="geometry"> |
|
9 <rect> |
|
10 <x>0</x> |
|
11 <y>0</y> |
|
12 <width>315</width> |
|
13 <height>346</height> |
|
14 </rect> |
|
15 </property> |
|
16 <property name="windowTitle"> |
|
17 <string>Help Example</string> |
|
18 </property> |
|
19 <layout class="QGridLayout"> |
|
20 <item row="3" column="0"> |
|
21 <layout class="QHBoxLayout"> |
|
22 <item> |
|
23 <spacer name="spacer1"> |
|
24 <property name="sizeHint"> |
|
25 <size> |
|
26 <width>301</width> |
|
27 <height>20</height> |
|
28 </size> |
|
29 </property> |
|
30 <property name="sizeType"> |
|
31 <enum>QSizePolicy::Expanding</enum> |
|
32 </property> |
|
33 <property name="orientation"> |
|
34 <enum>Qt::Horizontal</enum> |
|
35 </property> |
|
36 </spacer> |
|
37 </item> |
|
38 <item> |
|
39 <widget class="QPushButton" name="closeButton"> |
|
40 <property name="text"> |
|
41 <string>&Close</string> |
|
42 </property> |
|
43 <property name="shortcut"> |
|
44 <string>Alt+C</string> |
|
45 </property> |
|
46 <property name="autoDefault"> |
|
47 <bool>true</bool> |
|
48 </property> |
|
49 </widget> |
|
50 </item> |
|
51 </layout> |
|
52 </item> |
|
53 <item row="1" column="0"> |
|
54 <widget class="Q3Frame" name="frame5"> |
|
55 <property name="frameShape"> |
|
56 <enum>QFrame::StyledPanel</enum> |
|
57 </property> |
|
58 <property name="frameShadow"> |
|
59 <enum>QFrame::Sunken</enum> |
|
60 </property> |
|
61 <layout class="QGridLayout"> |
|
62 <item row="1" column="0" rowspan="1" colspan="2"> |
|
63 <widget class="QPushButton" name="openQAButton"> |
|
64 <property name="text"> |
|
65 <string>&Open Assistant</string> |
|
66 </property> |
|
67 <property name="shortcut"> |
|
68 <string>Alt+L</string> |
|
69 </property> |
|
70 <property name="autoDefault"> |
|
71 <bool>true</bool> |
|
72 </property> |
|
73 </widget> |
|
74 </item> |
|
75 <item row="4" column="3"> |
|
76 <widget class="QPushButton" name="displayButton"> |
|
77 <property name="text"> |
|
78 <string>&Display</string> |
|
79 </property> |
|
80 <property name="shortcut"> |
|
81 <string>Alt+D</string> |
|
82 </property> |
|
83 <property name="autoDefault"> |
|
84 <bool>true</bool> |
|
85 </property> |
|
86 </widget> |
|
87 </item> |
|
88 <item row="3" column="0" rowspan="1" colspan="4"> |
|
89 <widget class="QCheckBox" name="checkHide"> |
|
90 <property name="text"> |
|
91 <string>&Hide Sidebar when Opening</string> |
|
92 </property> |
|
93 <property name="shortcut"> |
|
94 <string>Alt+H</string> |
|
95 </property> |
|
96 </widget> |
|
97 </item> |
|
98 <item row="1" column="2" rowspan="1" colspan="2"> |
|
99 <widget class="QPushButton" name="closeQAButton"> |
|
100 <property name="text"> |
|
101 <string>C&lose Assistant</string> |
|
102 </property> |
|
103 <property name="shortcut"> |
|
104 <string>Alt+L</string> |
|
105 </property> |
|
106 <property name="autoDefault"> |
|
107 <bool>true</bool> |
|
108 </property> |
|
109 </widget> |
|
110 </item> |
|
111 <item row="4" column="0"> |
|
112 <widget class="QLabel" name="textLabel3"> |
|
113 <property name="text"> |
|
114 <string>&Filename:</string> |
|
115 </property> |
|
116 <property name="buddy" stdset="0"> |
|
117 <cstring>leFileName</cstring> |
|
118 </property> |
|
119 <property name="wordWrap"> |
|
120 <bool>false</bool> |
|
121 </property> |
|
122 </widget> |
|
123 </item> |
|
124 <item row="4" column="1" rowspan="1" colspan="2"> |
|
125 <widget class="QLineEdit" name="leFileName"/> |
|
126 </item> |
|
127 <item row="2" column="0" rowspan="1" colspan="4"> |
|
128 <widget class="QCheckBox" name="checkOnlyExampleDoc"> |
|
129 <property name="text"> |
|
130 <string>Run Qt Assistant customized for HelpDemo</string> |
|
131 </property> |
|
132 <property name="shortcut"> |
|
133 <string/> |
|
134 </property> |
|
135 </widget> |
|
136 </item> |
|
137 </layout> |
|
138 </widget> |
|
139 </item> |
|
140 <item row="0" column="0"> |
|
141 <widget class="Q3TextEdit" name="textEdit1"> |
|
142 <property name="text"> |
|
143 <string><p> |
|
144 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. |
|
145 </p></string> |
|
146 </property> |
|
147 <property name="wordWrap"> |
|
148 <enum>Q3TextEdit::WidgetWidth</enum> |
|
149 </property> |
|
150 <property name="readOnly"> |
|
151 <bool>true</bool> |
|
152 </property> |
|
153 </widget> |
|
154 </item> |
|
155 <item row="2" column="0"> |
|
156 <spacer name="spacer2"> |
|
157 <property name="sizeHint"> |
|
158 <size> |
|
159 <width>31</width> |
|
160 <height>30</height> |
|
161 </size> |
|
162 </property> |
|
163 <property name="sizeType"> |
|
164 <enum>QSizePolicy::Expanding</enum> |
|
165 </property> |
|
166 <property name="orientation"> |
|
167 <enum>Qt::Vertical</enum> |
|
168 </property> |
|
169 </spacer> |
|
170 </item> |
|
171 </layout> |
|
172 </widget> |
|
173 <layoutdefault spacing="6" margin="11"/> |
|
174 <pixmapfunction>qPixmapFromMimeSource</pixmapfunction> |
|
175 <connections> |
|
176 <connection> |
|
177 <sender>closeButton</sender> |
|
178 <signal>clicked()</signal> |
|
179 <receiver>HelpDemoBase</receiver> |
|
180 <slot>close()</slot> |
|
181 </connection> |
|
182 <connection> |
|
183 <sender>openQAButton</sender> |
|
184 <signal>clicked()</signal> |
|
185 <receiver>HelpDemoBase</receiver> |
|
186 <slot>openAssistant()</slot> |
|
187 </connection> |
|
188 <connection> |
|
189 <sender>closeQAButton</sender> |
|
190 <signal>clicked()</signal> |
|
191 <receiver>HelpDemoBase</receiver> |
|
192 <slot>closeAssistant()</slot> |
|
193 </connection> |
|
194 <connection> |
|
195 <sender>displayButton</sender> |
|
196 <signal>clicked()</signal> |
|
197 <receiver>HelpDemoBase</receiver> |
|
198 <slot>displayPage()</slot> |
|
199 </connection> |
|
200 <connection> |
|
201 <sender>checkOnlyExampleDoc</sender> |
|
202 <signal>toggled(bool)</signal> |
|
203 <receiver>HelpDemoBase</receiver> |
|
204 <slot>setAssistantArguments()</slot> |
|
205 </connection> |
|
206 <connection> |
|
207 <sender>checkHide</sender> |
|
208 <signal>toggled(bool)</signal> |
|
209 <receiver>HelpDemoBase</receiver> |
|
210 <slot>setAssistantArguments()</slot> |
|
211 </connection> |
|
212 </connections> |
|
213 </ui> |