1.1 --- a/editxlinkdialog.ui Wed May 18 07:39:51 2005 +0000
1.2 +++ b/editxlinkdialog.ui Thu Jul 03 14:42:18 2008 +0000
1.3 @@ -1,304 +1,259 @@
1.4 -<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
1.5 -<class>EditXLinkDialog</class>
1.6 -<widget class="QDialog">
1.7 - <property name="name">
1.8 - <cstring>EditXLinkDialog</cstring>
1.9 - </property>
1.10 - <property name="geometry">
1.11 - <rect>
1.12 - <x>0</x>
1.13 - <y>0</y>
1.14 - <width>393</width>
1.15 - <height>206</height>
1.16 - </rect>
1.17 - </property>
1.18 - <property name="sizePolicy">
1.19 +<ui version="4.0" >
1.20 + <author></author>
1.21 + <comment></comment>
1.22 + <exportmacro></exportmacro>
1.23 + <class>EditXLinkDialog</class>
1.24 + <widget class="QDialog" name="EditXLinkDialog" >
1.25 + <property name="geometry" >
1.26 + <rect>
1.27 + <x>0</x>
1.28 + <y>0</y>
1.29 + <width>393</width>
1.30 + <height>206</height>
1.31 + </rect>
1.32 + </property>
1.33 + <property name="sizePolicy" >
1.34 + <sizepolicy>
1.35 + <hsizetype>5</hsizetype>
1.36 + <vsizetype>5</vsizetype>
1.37 + <horstretch>0</horstretch>
1.38 + <verstretch>0</verstretch>
1.39 + </sizepolicy>
1.40 + </property>
1.41 + <property name="windowTitle" >
1.42 + <string>Edit XLink</string>
1.43 + </property>
1.44 + <layout class="QVBoxLayout" >
1.45 + <property name="margin" >
1.46 + <number>11</number>
1.47 + </property>
1.48 + <property name="spacing" >
1.49 + <number>6</number>
1.50 + </property>
1.51 + <item>
1.52 + <layout class="QGridLayout" >
1.53 + <property name="margin" >
1.54 + <number>0</number>
1.55 + </property>
1.56 + <property name="spacing" >
1.57 + <number>6</number>
1.58 + </property>
1.59 + <item row="0" column="1" >
1.60 + <widget class="QSpinBox" name="widthBox" >
1.61 + <property name="sizePolicy" >
1.62 <sizepolicy>
1.63 - <hsizetype>5</hsizetype>
1.64 - <vsizetype>5</vsizetype>
1.65 - <horstretch>0</horstretch>
1.66 - <verstretch>0</verstretch>
1.67 + <hsizetype>0</hsizetype>
1.68 + <vsizetype>0</vsizetype>
1.69 + <horstretch>0</horstretch>
1.70 + <verstretch>0</verstretch>
1.71 </sizepolicy>
1.72 - </property>
1.73 - <property name="caption">
1.74 - <string>Edit XLink</string>
1.75 - </property>
1.76 - <vbox>
1.77 - <property name="name">
1.78 - <cstring>unnamed</cstring>
1.79 - </property>
1.80 - <widget class="QLayoutWidget">
1.81 - <property name="name">
1.82 - <cstring>layout7</cstring>
1.83 - </property>
1.84 - <grid>
1.85 - <property name="name">
1.86 - <cstring>unnamed</cstring>
1.87 - </property>
1.88 - <widget class="QSpinBox" row="0" column="1">
1.89 - <property name="name">
1.90 - <cstring>widthBox</cstring>
1.91 - </property>
1.92 - <property name="sizePolicy">
1.93 - <sizepolicy>
1.94 - <hsizetype>0</hsizetype>
1.95 - <vsizetype>0</vsizetype>
1.96 - <horstretch>0</horstretch>
1.97 - <verstretch>0</verstretch>
1.98 - </sizepolicy>
1.99 - </property>
1.100 - <property name="maxValue">
1.101 - <number>15</number>
1.102 - </property>
1.103 - <property name="minValue">
1.104 - <number>1</number>
1.105 - </property>
1.106 - </widget>
1.107 - <widget class="QLabel" row="0" column="0">
1.108 - <property name="name">
1.109 - <cstring>textLabel1</cstring>
1.110 - </property>
1.111 - <property name="text">
1.112 - <string>XLink width:</string>
1.113 - </property>
1.114 - <property name="alignment">
1.115 - <set>AlignVCenter|AlignRight</set>
1.116 - </property>
1.117 - </widget>
1.118 - <widget class="QPushButton" row="1" column="4">
1.119 - <property name="name">
1.120 - <cstring>setColorHeadingButton</cstring>
1.121 - </property>
1.122 - <property name="maximumSize">
1.123 - <size>
1.124 - <width>32767</width>
1.125 - <height>20</height>
1.126 - </size>
1.127 - </property>
1.128 - <property name="text">
1.129 - <string>Set color of heading</string>
1.130 - </property>
1.131 - </widget>
1.132 - <widget class="QPushButton" row="1" column="1">
1.133 - <property name="name">
1.134 - <cstring>colorButton</cstring>
1.135 - </property>
1.136 - <property name="enabled">
1.137 - <bool>true</bool>
1.138 - </property>
1.139 - <property name="maximumSize">
1.140 - <size>
1.141 - <width>50</width>
1.142 - <height>20</height>
1.143 - </size>
1.144 - </property>
1.145 - <property name="text">
1.146 - <string></string>
1.147 - </property>
1.148 - </widget>
1.149 - <widget class="QCheckBox" row="2" column="1" rowspan="1" colspan="2">
1.150 - <property name="name">
1.151 - <cstring>useSettings</cstring>
1.152 - </property>
1.153 - <property name="text">
1.154 - <string></string>
1.155 - </property>
1.156 - </widget>
1.157 - <widget class="QLabel" row="1" column="0">
1.158 - <property name="name">
1.159 - <cstring>textLabel2</cstring>
1.160 - </property>
1.161 - <property name="text">
1.162 - <string>XLink color:</string>
1.163 - </property>
1.164 - <property name="alignment">
1.165 - <set>AlignVCenter|AlignRight</set>
1.166 - </property>
1.167 - </widget>
1.168 - <spacer row="1" column="2" rowspan="1" colspan="2">
1.169 - <property name="name">
1.170 - <cstring>spacer6</cstring>
1.171 - </property>
1.172 - <property name="orientation">
1.173 - <enum>Horizontal</enum>
1.174 - </property>
1.175 - <property name="sizeType">
1.176 - <enum>Expanding</enum>
1.177 - </property>
1.178 - <property name="sizeHint">
1.179 - <size>
1.180 - <width>285</width>
1.181 - <height>20</height>
1.182 - </size>
1.183 - </property>
1.184 - </spacer>
1.185 - <spacer row="0" column="2" rowspan="1" colspan="2">
1.186 - <property name="name">
1.187 - <cstring>spacer2</cstring>
1.188 - </property>
1.189 - <property name="orientation">
1.190 - <enum>Horizontal</enum>
1.191 - </property>
1.192 - <property name="sizeType">
1.193 - <enum>Expanding</enum>
1.194 - </property>
1.195 - <property name="sizeHint">
1.196 - <size>
1.197 - <width>280</width>
1.198 - <height>20</height>
1.199 - </size>
1.200 - </property>
1.201 - </spacer>
1.202 - <widget class="QLabel" row="2" column="0">
1.203 - <property name="name">
1.204 - <cstring>textLabel1_2</cstring>
1.205 - </property>
1.206 - <property name="text">
1.207 - <string>Use as default:</string>
1.208 - </property>
1.209 - <property name="alignment">
1.210 - <set>AlignVCenter|AlignRight</set>
1.211 - </property>
1.212 - </widget>
1.213 - <spacer row="2" column="3" rowspan="1" colspan="2">
1.214 - <property name="name">
1.215 - <cstring>spacer9</cstring>
1.216 - </property>
1.217 - <property name="orientation">
1.218 - <enum>Horizontal</enum>
1.219 - </property>
1.220 - <property name="sizeType">
1.221 - <enum>Expanding</enum>
1.222 - </property>
1.223 - <property name="sizeHint">
1.224 - <size>
1.225 - <width>241</width>
1.226 - <height>20</height>
1.227 - </size>
1.228 - </property>
1.229 - </spacer>
1.230 - </grid>
1.231 - </widget>
1.232 - <spacer>
1.233 - <property name="name">
1.234 - <cstring>spacer4</cstring>
1.235 - </property>
1.236 - <property name="orientation">
1.237 - <enum>Vertical</enum>
1.238 - </property>
1.239 - <property name="sizeType">
1.240 - <enum>Expanding</enum>
1.241 - </property>
1.242 - <property name="sizeHint">
1.243 - <size>
1.244 - <width>20</width>
1.245 - <height>16</height>
1.246 - </size>
1.247 - </property>
1.248 - </spacer>
1.249 - <widget class="QLayoutWidget">
1.250 - <property name="name">
1.251 - <cstring>layout4</cstring>
1.252 - </property>
1.253 - <hbox>
1.254 - <property name="name">
1.255 - <cstring>unnamed</cstring>
1.256 - </property>
1.257 - <widget class="QPushButton">
1.258 - <property name="name">
1.259 - <cstring>deleteButton</cstring>
1.260 - </property>
1.261 - <property name="text">
1.262 - <string>Delete XLink</string>
1.263 - </property>
1.264 - </widget>
1.265 - <spacer>
1.266 - <property name="name">
1.267 - <cstring>spacer11</cstring>
1.268 - </property>
1.269 - <property name="orientation">
1.270 - <enum>Horizontal</enum>
1.271 - </property>
1.272 - <property name="sizeType">
1.273 - <enum>Expanding</enum>
1.274 - </property>
1.275 - <property name="sizeHint">
1.276 - <size>
1.277 - <width>100</width>
1.278 - <height>20</height>
1.279 - </size>
1.280 - </property>
1.281 - </spacer>
1.282 - <widget class="QPushButton">
1.283 - <property name="name">
1.284 - <cstring>okButton</cstring>
1.285 - </property>
1.286 - <property name="text">
1.287 - <string>Ok</string>
1.288 - </property>
1.289 - </widget>
1.290 - </hbox>
1.291 - </widget>
1.292 - </vbox>
1.293 -</widget>
1.294 -<connections>
1.295 - <connection>
1.296 - <sender>okButton</sender>
1.297 - <signal>clicked()</signal>
1.298 - <receiver>EditXLinkDialog</receiver>
1.299 - <slot>accept()</slot>
1.300 - </connection>
1.301 - <connection>
1.302 - <sender>deleteButton</sender>
1.303 - <signal>clicked()</signal>
1.304 - <receiver>EditXLinkDialog</receiver>
1.305 - <slot>deleteButtonPressed()</slot>
1.306 - </connection>
1.307 - <connection>
1.308 - <sender>colorButton</sender>
1.309 - <signal>clicked()</signal>
1.310 - <receiver>EditXLinkDialog</receiver>
1.311 - <slot>colorButtonPressed()</slot>
1.312 - </connection>
1.313 - <connection>
1.314 - <sender>widthBox</sender>
1.315 - <signal>valueChanged(int)</signal>
1.316 - <receiver>EditXLinkDialog</receiver>
1.317 - <slot>widthChanged(int)</slot>
1.318 - </connection>
1.319 - <connection>
1.320 - <sender>setColorHeadingButton</sender>
1.321 - <signal>clicked()</signal>
1.322 - <receiver>EditXLinkDialog</receiver>
1.323 - <slot>setColorHeadingButtonPressed()</slot>
1.324 - </connection>
1.325 -</connections>
1.326 -<includes>
1.327 - <include location="global" impldecl="in implementation">qcolordialog.h</include>
1.328 - <include location="local" impldecl="in implementation">linkablemapobj.h</include>
1.329 - <include location="local" impldecl="in declaration">xlinkobj.h</include>
1.330 - <include location="local" impldecl="in declaration">mapcenterobj.h</include>
1.331 - <include location="local" impldecl="in declaration">linkablemapobj.h</include>
1.332 - <include location="local" impldecl="in implementation">editxlinkdialog.ui.h</include>
1.333 -</includes>
1.334 -<variables>
1.335 - <variable access="private">LinkableMapObj *selection;</variable>
1.336 - <variable access="private">XLinkObj *xlo;</variable>
1.337 - <variable access="private">bool delink;</variable>
1.338 -</variables>
1.339 -<slots>
1.340 - <slot access="protected">deleteButtonPressed()</slot>
1.341 - <slot access="protected">widthChanged( int w )</slot>
1.342 - <slot>setXLink( XLinkObj * xo )</slot>
1.343 - <slot>setSelection( LinkableMapObj * s )</slot>
1.344 - <slot access="protected">colorButtonPressed()</slot>
1.345 - <slot access="protected">setColorHeadingButtonPressed()</slot>
1.346 -</slots>
1.347 -<functions>
1.348 - <function access="private" specifier="non virtual">init()</function>
1.349 - <function returnType="bool">deleteXLink()</function>
1.350 - <function returnType="bool">useSettingsGlobal()</function>
1.351 -</functions>
1.352 -<pixmapinproject/>
1.353 -<layoutdefaults spacing="6" margin="11"/>
1.354 -</UI>
1.355 + </property>
1.356 + <property name="maximum" >
1.357 + <number>15</number>
1.358 + </property>
1.359 + <property name="minimum" >
1.360 + <number>1</number>
1.361 + </property>
1.362 + </widget>
1.363 + </item>
1.364 + <item row="0" column="0" >
1.365 + <widget class="QLabel" name="textLabel1" >
1.366 + <property name="text" >
1.367 + <string>XLink width:</string>
1.368 + </property>
1.369 + <property name="alignment" >
1.370 + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
1.371 + </property>
1.372 + </widget>
1.373 + </item>
1.374 + <item row="1" column="4" >
1.375 + <widget class="QPushButton" name="setColorHeadingButton" >
1.376 + <property name="maximumSize" >
1.377 + <size>
1.378 + <width>32767</width>
1.379 + <height>20</height>
1.380 + </size>
1.381 + </property>
1.382 + <property name="text" >
1.383 + <string>Set color of heading</string>
1.384 + </property>
1.385 + </widget>
1.386 + </item>
1.387 + <item row="1" column="1" >
1.388 + <widget class="QPushButton" name="colorButton" >
1.389 + <property name="enabled" >
1.390 + <bool>true</bool>
1.391 + </property>
1.392 + <property name="maximumSize" >
1.393 + <size>
1.394 + <width>50</width>
1.395 + <height>20</height>
1.396 + </size>
1.397 + </property>
1.398 + <property name="text" >
1.399 + <string/>
1.400 + </property>
1.401 + </widget>
1.402 + </item>
1.403 + <item row="2" column="1" colspan="2" >
1.404 + <widget class="QCheckBox" name="useSettings" >
1.405 + <property name="text" >
1.406 + <string/>
1.407 + </property>
1.408 + </widget>
1.409 + </item>
1.410 + <item row="1" column="0" >
1.411 + <widget class="QLabel" name="textLabel2" >
1.412 + <property name="text" >
1.413 + <string>XLink color:</string>
1.414 + </property>
1.415 + <property name="alignment" >
1.416 + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
1.417 + </property>
1.418 + </widget>
1.419 + </item>
1.420 + <item row="1" column="2" colspan="2" >
1.421 + <spacer>
1.422 + <property name="orientation" >
1.423 + <enum>Qt::Horizontal</enum>
1.424 + </property>
1.425 + <property name="sizeType" >
1.426 + <enum>QSizePolicy::Expanding</enum>
1.427 + </property>
1.428 + <property name="sizeHint" >
1.429 + <size>
1.430 + <width>285</width>
1.431 + <height>20</height>
1.432 + </size>
1.433 + </property>
1.434 + </spacer>
1.435 + </item>
1.436 + <item row="0" column="2" colspan="2" >
1.437 + <spacer>
1.438 + <property name="orientation" >
1.439 + <enum>Qt::Horizontal</enum>
1.440 + </property>
1.441 + <property name="sizeType" >
1.442 + <enum>QSizePolicy::Expanding</enum>
1.443 + </property>
1.444 + <property name="sizeHint" >
1.445 + <size>
1.446 + <width>280</width>
1.447 + <height>20</height>
1.448 + </size>
1.449 + </property>
1.450 + </spacer>
1.451 + </item>
1.452 + <item row="2" column="0" >
1.453 + <widget class="QLabel" name="textLabel1_2" >
1.454 + <property name="text" >
1.455 + <string>Use as default:</string>
1.456 + </property>
1.457 + <property name="alignment" >
1.458 + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
1.459 + </property>
1.460 + </widget>
1.461 + </item>
1.462 + <item row="2" column="3" colspan="2" >
1.463 + <spacer>
1.464 + <property name="orientation" >
1.465 + <enum>Qt::Horizontal</enum>
1.466 + </property>
1.467 + <property name="sizeType" >
1.468 + <enum>QSizePolicy::Expanding</enum>
1.469 + </property>
1.470 + <property name="sizeHint" >
1.471 + <size>
1.472 + <width>241</width>
1.473 + <height>20</height>
1.474 + </size>
1.475 + </property>
1.476 + </spacer>
1.477 + </item>
1.478 + </layout>
1.479 + </item>
1.480 + <item>
1.481 + <spacer>
1.482 + <property name="orientation" >
1.483 + <enum>Qt::Vertical</enum>
1.484 + </property>
1.485 + <property name="sizeType" >
1.486 + <enum>QSizePolicy::Expanding</enum>
1.487 + </property>
1.488 + <property name="sizeHint" >
1.489 + <size>
1.490 + <width>20</width>
1.491 + <height>16</height>
1.492 + </size>
1.493 + </property>
1.494 + </spacer>
1.495 + </item>
1.496 + <item>
1.497 + <layout class="QHBoxLayout" >
1.498 + <property name="margin" >
1.499 + <number>0</number>
1.500 + </property>
1.501 + <property name="spacing" >
1.502 + <number>6</number>
1.503 + </property>
1.504 + <item>
1.505 + <widget class="QPushButton" name="deleteButton" >
1.506 + <property name="text" >
1.507 + <string>Quit and delete XLink</string>
1.508 + </property>
1.509 + </widget>
1.510 + </item>
1.511 + <item>
1.512 + <spacer>
1.513 + <property name="orientation" >
1.514 + <enum>Qt::Horizontal</enum>
1.515 + </property>
1.516 + <property name="sizeType" >
1.517 + <enum>QSizePolicy::Expanding</enum>
1.518 + </property>
1.519 + <property name="sizeHint" >
1.520 + <size>
1.521 + <width>100</width>
1.522 + <height>20</height>
1.523 + </size>
1.524 + </property>
1.525 + </spacer>
1.526 + </item>
1.527 + <item>
1.528 + <widget class="QPushButton" name="okButton" >
1.529 + <property name="text" >
1.530 + <string>Ok</string>
1.531 + </property>
1.532 + </widget>
1.533 + </item>
1.534 + </layout>
1.535 + </item>
1.536 + </layout>
1.537 + </widget>
1.538 + <layoutdefault spacing="6" margin="11" />
1.539 + <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
1.540 + <includes>
1.541 + <include location="local" >xlinkobj.h</include>
1.542 + <include location="local" >mapcenterobj.h</include>
1.543 + <include location="local" >linkablemapobj.h</include>
1.544 + </includes>
1.545 + <resources/>
1.546 + <connections>
1.547 + <connection>
1.548 + <sender>okButton</sender>
1.549 + <signal>clicked()</signal>
1.550 + <receiver>EditXLinkDialog</receiver>
1.551 + <slot>accept()</slot>
1.552 + <hints>
1.553 + <hint type="sourcelabel" >
1.554 + <x>338</x>
1.555 + <y>180</y>
1.556 + </hint>
1.557 + <hint type="destinationlabel" >
1.558 + <x>196</x>
1.559 + <y>102</y>
1.560 + </hint>
1.561 + </hints>
1.562 + </connection>
1.563 + </connections>
1.564 +</ui>