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