initial import
[vym] / exporthtmldialog.ui
1 <!DOCTYPE UI><UI version="3.3" stdsetdef="1">
2 <class>ExportHTMLDialog</class>
3 <author>Uwe Drechsel</author>
4 <widget class="QDialog">
5     <property name="name">
6         <cstring>ExportHTMLDialog</cstring>
7     </property>
8     <property name="geometry">
9         <rect>
10             <x>0</x>
11             <y>0</y>
12             <width>375</width>
13             <height>346</height>
14         </rect>
15     </property>
16     <property name="caption">
17         <string>Export HTML</string>
18     </property>
19     <property name="modal">
20         <bool>false</bool>
21     </property>
22     <vbox>
23         <property name="name">
24             <cstring>unnamed</cstring>
25         </property>
26         <widget class="QLayoutWidget">
27             <property name="name">
28                 <cstring>layout33</cstring>
29             </property>
30             <hbox>
31                 <property name="name">
32                     <cstring>unnamed</cstring>
33                 </property>
34                 <widget class="QLabel">
35                     <property name="name">
36                         <cstring>textLabel1</cstring>
37                     </property>
38                     <property name="text">
39                         <string>Directory:</string>
40                     </property>
41                 </widget>
42                 <widget class="QLineEdit">
43                     <property name="name">
44                         <cstring>lineEdit1</cstring>
45                     </property>
46                 </widget>
47                 <widget class="QPushButton">
48                     <property name="name">
49                         <cstring>browseButton</cstring>
50                     </property>
51                     <property name="text">
52                         <string>Browse</string>
53                     </property>
54                 </widget>
55             </hbox>
56         </widget>
57         <widget class="QButtonGroup">
58             <property name="name">
59                 <cstring>buttonGroup2</cstring>
60             </property>
61             <property name="sizePolicy">
62                 <sizepolicy>
63                     <hsizetype>3</hsizetype>
64                     <vsizetype>5</vsizetype>
65                     <horstretch>0</horstretch>
66                     <verstretch>0</verstretch>
67                 </sizepolicy>
68             </property>
69             <property name="minimumSize">
70                 <size>
71                     <width>0</width>
72                     <height>230</height>
73                 </size>
74             </property>
75             <property name="title">
76                 <string>Options</string>
77             </property>
78             <vbox>
79                 <property name="name">
80                     <cstring>unnamed</cstring>
81                 </property>
82                 <widget class="QCheckBox">
83                     <property name="name">
84                         <cstring>checkBox4</cstring>
85                     </property>
86                     <property name="text">
87                         <string>Include image of map</string>
88                     </property>
89                 </widget>
90                 <widget class="QCheckBox">
91                     <property name="name">
92                         <cstring>checkBox5_2</cstring>
93                     </property>
94                     <property name="text">
95                         <string>create image only</string>
96                     </property>
97                 </widget>
98                 <widget class="QCheckBox">
99                     <property name="name">
100                         <cstring>checkBox5</cstring>
101                     </property>
102                     <property name="text">
103                         <string>use WIKI style</string>
104                     </property>
105                 </widget>
106                 <widget class="QCheckBox">
107                     <property name="name">
108                         <cstring>checkBox4_2</cstring>
109                     </property>
110                     <property name="text">
111                         <string>use heading for URLs (instead of link target)</string>
112                     </property>
113                 </widget>
114                 <widget class="QCheckBox">
115                     <property name="name">
116                         <cstring>checkBox6</cstring>
117                     </property>
118                     <property name="text">
119                         <string>use image of earth to mark URLs in text</string>
120                     </property>
121                 </widget>
122                 <widget class="QCheckBox">
123                     <property name="name">
124                         <cstring>checkBox7</cstring>
125                     </property>
126                     <property name="text">
127                         <string>use default CSS file</string>
128                     </property>
129                 </widget>
130                 <widget class="QCheckBox">
131                     <property name="name">
132                         <cstring>checkBox3</cstring>
133                     </property>
134                     <property name="sizePolicy">
135                         <sizepolicy>
136                             <hsizetype>1</hsizetype>
137                             <vsizetype>0</vsizetype>
138                             <horstretch>0</horstretch>
139                             <verstretch>0</verstretch>
140                         </sizepolicy>
141                     </property>
142                     <property name="text">
143                         <string>show output of external scripts</string>
144                     </property>
145                 </widget>
146             </vbox>
147         </widget>
148         <spacer>
149             <property name="name">
150                 <cstring>spacer6</cstring>
151             </property>
152             <property name="orientation">
153                 <enum>Vertical</enum>
154             </property>
155             <property name="sizeType">
156                 <enum>Expanding</enum>
157             </property>
158             <property name="sizeHint">
159                 <size>
160                     <width>21</width>
161                     <height>60</height>
162                 </size>
163             </property>
164         </spacer>
165         <widget class="QLayoutWidget">
166             <property name="name">
167                 <cstring>layout17</cstring>
168             </property>
169             <hbox>
170                 <property name="name">
171                     <cstring>unnamed</cstring>
172                 </property>
173                 <spacer>
174                     <property name="name">
175                         <cstring>spacer5</cstring>
176                     </property>
177                     <property name="orientation">
178                         <enum>Horizontal</enum>
179                     </property>
180                     <property name="sizeType">
181                         <enum>Expanding</enum>
182                     </property>
183                     <property name="sizeHint">
184                         <size>
185                             <width>61</width>
186                             <height>21</height>
187                         </size>
188                     </property>
189                 </spacer>
190                 <widget class="QPushButton">
191                     <property name="name">
192                         <cstring>pushButton4</cstring>
193                     </property>
194                     <property name="text">
195                         <string>Export</string>
196                     </property>
197                     <property name="default">
198                         <bool>true</bool>
199                     </property>
200                 </widget>
201                 <widget class="QPushButton">
202                     <property name="name">
203                         <cstring>pushButton5</cstring>
204                     </property>
205                     <property name="text">
206                         <string>Cancel</string>
207                     </property>
208                 </widget>
209             </hbox>
210         </widget>
211     </vbox>
212 </widget>
213 <connections>
214     <connection>
215         <sender>pushButton5</sender>
216         <signal>pressed()</signal>
217         <receiver>ExportHTMLDialog</receiver>
218         <slot>reject()</slot>
219     </connection>
220     <connection>
221         <sender>pushButton4</sender>
222         <signal>clicked()</signal>
223         <receiver>ExportHTMLDialog</receiver>
224         <slot>accept()</slot>
225     </connection>
226     <connection>
227         <sender>browseButton</sender>
228         <signal>pressed()</signal>
229         <receiver>ExportHTMLDialog</receiver>
230         <slot>browseDirectory()</slot>
231     </connection>
232     <connection>
233         <sender>checkBox4</sender>
234         <signal>toggled(bool)</signal>
235         <receiver>ExportHTMLDialog</receiver>
236         <slot>includeImage(bool)</slot>
237     </connection>
238     <connection>
239         <sender>checkBox5</sender>
240         <signal>toggled(bool)</signal>
241         <receiver>ExportHTMLDialog</receiver>
242         <slot>useWIKIpressed(bool)</slot>
243     </connection>
244     <connection>
245         <sender>lineEdit1</sender>
246         <signal>textChanged(const QString&amp;)</signal>
247         <receiver>ExportHTMLDialog</receiver>
248         <slot>dirChanged()</slot>
249     </connection>
250     <connection>
251         <sender>checkBox3</sender>
252         <signal>toggled(bool)</signal>
253         <receiver>ExportHTMLDialog</receiver>
254         <slot>showOut(bool)</slot>
255     </connection>
256     <connection>
257         <sender>checkBox4_2</sender>
258         <signal>toggled(bool)</signal>
259         <receiver>ExportHTMLDialog</receiver>
260         <slot>useHeadingPressed(bool)</slot>
261     </connection>
262     <connection>
263         <sender>checkBox5_2</sender>
264         <signal>toggled(bool)</signal>
265         <receiver>ExportHTMLDialog</receiver>
266         <slot>imgOnly(bool)</slot>
267     </connection>
268     <connection>
269         <sender>checkBox6</sender>
270         <signal>toggled(bool)</signal>
271         <receiver>ExportHTMLDialog</receiver>
272         <slot>useURLImagePressed(bool)</slot>
273     </connection>
274 </connections>
275 <includes>
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>
285 </includes>
286 <variables>
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>
301 </variables>
302 <slots>
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 &amp; mapname )</slot>
312     <slot returnType="QString">getDir()</slot>
313     <slot>readOutput()</slot>
314 </slots>
315 <functions>
316     <function access="private" specifier="non virtual">init()</function>
317     <function access="private" specifier="non virtual">destroy()</function>
318 </functions>
319 <pixmapinproject/>
320 <layoutdefaults spacing="6" margin="11"/>
321 </UI>