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