Version 1.55. Fixed (recently) broken saveToDir
1 <!DOCTYPE UI><UI version="3.3" stdsetdef="1">
2 <class>ExportHTMLDialog</class>
3 <author>Uwe Drechsel</author>
4 <widget class="QDialog">
6 <cstring>ExportHTMLDialog</cstring>
8 <property name="geometry">
16 <property name="caption">
17 <string>Export HTML</string>
19 <property name="modal">
23 <property name="name">
24 <cstring>unnamed</cstring>
26 <widget class="QLayoutWidget">
27 <property name="name">
28 <cstring>layout33</cstring>
31 <property name="name">
32 <cstring>unnamed</cstring>
34 <widget class="QLabel">
35 <property name="name">
36 <cstring>textLabel1</cstring>
38 <property name="text">
39 <string>Directory:</string>
42 <widget class="QLineEdit">
43 <property name="name">
44 <cstring>lineEdit1</cstring>
47 <widget class="QPushButton">
48 <property name="name">
49 <cstring>browseButton</cstring>
51 <property name="text">
52 <string>Browse</string>
57 <widget class="QButtonGroup">
58 <property name="name">
59 <cstring>buttonGroup2</cstring>
61 <property name="sizePolicy">
63 <hsizetype>3</hsizetype>
64 <vsizetype>5</vsizetype>
65 <horstretch>0</horstretch>
66 <verstretch>0</verstretch>
69 <property name="minimumSize">
75 <property name="title">
76 <string>Options</string>
79 <property name="name">
80 <cstring>unnamed</cstring>
82 <widget class="QCheckBox">
83 <property name="name">
84 <cstring>checkBox4</cstring>
86 <property name="text">
87 <string>Include image of map</string>
90 <widget class="QCheckBox">
91 <property name="name">
92 <cstring>checkBox5_2</cstring>
94 <property name="text">
95 <string>create image only</string>
98 <widget class="QCheckBox">
99 <property name="name">
100 <cstring>checkBox5</cstring>
102 <property name="text">
103 <string>use WIKI style</string>
106 <widget class="QCheckBox">
107 <property name="name">
108 <cstring>checkBox4_2</cstring>
110 <property name="text">
111 <string>use heading for URLs (instead of link target)</string>
114 <widget class="QCheckBox">
115 <property name="name">
116 <cstring>checkBox6</cstring>
118 <property name="text">
119 <string>use image of earth to mark URLs in text</string>
122 <widget class="QCheckBox">
123 <property name="name">
124 <cstring>checkBox7</cstring>
126 <property name="text">
127 <string>use default CSS file</string>
130 <widget class="QCheckBox">
131 <property name="name">
132 <cstring>checkBox3</cstring>
134 <property name="sizePolicy">
136 <hsizetype>1</hsizetype>
137 <vsizetype>0</vsizetype>
138 <horstretch>0</horstretch>
139 <verstretch>0</verstretch>
142 <property name="text">
143 <string>show output of external scripts</string>
149 <property name="name">
150 <cstring>spacer6</cstring>
152 <property name="orientation">
153 <enum>Vertical</enum>
155 <property name="sizeType">
156 <enum>Expanding</enum>
158 <property name="sizeHint">
165 <widget class="QLayoutWidget">
166 <property name="name">
167 <cstring>layout17</cstring>
170 <property name="name">
171 <cstring>unnamed</cstring>
174 <property name="name">
175 <cstring>spacer5</cstring>
177 <property name="orientation">
178 <enum>Horizontal</enum>
180 <property name="sizeType">
181 <enum>Expanding</enum>
183 <property name="sizeHint">
190 <widget class="QPushButton">
191 <property name="name">
192 <cstring>pushButton4</cstring>
194 <property name="text">
195 <string>Export</string>
197 <property name="default">
201 <widget class="QPushButton">
202 <property name="name">
203 <cstring>pushButton5</cstring>
205 <property name="text">
206 <string>Cancel</string>
215 <sender>pushButton5</sender>
216 <signal>pressed()</signal>
217 <receiver>ExportHTMLDialog</receiver>
218 <slot>reject()</slot>
221 <sender>pushButton4</sender>
222 <signal>clicked()</signal>
223 <receiver>ExportHTMLDialog</receiver>
224 <slot>accept()</slot>
227 <sender>browseButton</sender>
228 <signal>pressed()</signal>
229 <receiver>ExportHTMLDialog</receiver>
230 <slot>browseDirectory()</slot>
233 <sender>checkBox4</sender>
234 <signal>toggled(bool)</signal>
235 <receiver>ExportHTMLDialog</receiver>
236 <slot>includeImage(bool)</slot>
239 <sender>checkBox5</sender>
240 <signal>toggled(bool)</signal>
241 <receiver>ExportHTMLDialog</receiver>
242 <slot>useWIKIpressed(bool)</slot>
245 <sender>lineEdit1</sender>
246 <signal>textChanged(const QString&)</signal>
247 <receiver>ExportHTMLDialog</receiver>
248 <slot>dirChanged()</slot>
251 <sender>checkBox3</sender>
252 <signal>toggled(bool)</signal>
253 <receiver>ExportHTMLDialog</receiver>
254 <slot>showOut(bool)</slot>
257 <sender>checkBox4_2</sender>
258 <signal>toggled(bool)</signal>
259 <receiver>ExportHTMLDialog</receiver>
260 <slot>useHeadingPressed(bool)</slot>
263 <sender>checkBox5_2</sender>
264 <signal>toggled(bool)</signal>
265 <receiver>ExportHTMLDialog</receiver>
266 <slot>imgOnly(bool)</slot>
269 <sender>checkBox6</sender>
270 <signal>toggled(bool)</signal>
271 <receiver>ExportHTMLDialog</receiver>
272 <slot>useURLImagePressed(bool)</slot>
276 <include location="local" impldecl="in declaration">showtextdialog.h</include>
277 <include location="global" impldecl="in declaration">qprocess.h</include>
278 <include location="global" impldecl="in implementation">iostream</include>
279 <include location="local" impldecl="in implementation">settings.h</include>
280 <include location="global" impldecl="in implementation">qfiledialog.h</include>
281 <include location="global" impldecl="in implementation">qmessagebox.h</include>
282 <include location="local" impldecl="in implementation">file.h</include>
283 <include location="local" impldecl="in implementation">icons/flag-url.xpm</include>
284 <include location="local" impldecl="in implementation">exporthtmldialog.ui.h</include>
287 <variable>QString css;</variable>
288 <variable>QString xsl;</variable>
289 <variable>QString scriptpath;</variable>
290 <variable>QString stylepath;</variable>
291 <variable>QString dir;</variable>
292 <variable>bool image;</variable>
293 <variable>bool wikistyle;</variable>
294 <variable>QString script;</variable>
295 <variable>bool showOutput;</variable>
296 <variable>QProcess *proc;</variable>
297 <variable>ShowTextDialog *dia;</variable>
298 <variable>bool imageOnly;</variable>
299 <variable>bool useHeading;</variable>
300 <variable>bool useURLImage;</variable>
303 <slot>browseDirectory()</slot>
304 <slot>useWIKIpressed( bool b )</slot>
305 <slot>includeImage( bool b )</slot>
306 <slot>imgOnly( bool b )</slot>
307 <slot>useHeadingPressed( bool b )</slot>
308 <slot>useURLImagePressed( bool b )</slot>
309 <slot>showOut( bool b )</slot>
310 <slot>dirChanged()</slot>
311 <slot>doExport( const QString & mapname )</slot>
312 <slot returnType="QString">getDir()</slot>
313 <slot>readOutput()</slot>
316 <function access="private" specifier="non virtual">init()</function>
317 <function access="private" specifier="non virtual">destroy()</function>
320 <layoutdefaults spacing="6" margin="11"/>