1.1 --- a/editxlinkdialog.ui Wed Jun 03 20:37:17 2009 +0000
1.2 +++ b/editxlinkdialog.ui Mon Mar 15 15:32:37 2010 +0000
1.3 @@ -1,126 +1,120 @@
1.4 -<ui version="4.0" >
1.5 - <author></author>
1.6 - <comment></comment>
1.7 - <exportmacro></exportmacro>
1.8 +<?xml version="1.0" encoding="UTF-8"?>
1.9 +<ui version="4.0">
1.10 <class>EditXLinkDialog</class>
1.11 - <widget class="QDialog" name="EditXLinkDialog" >
1.12 - <property name="geometry" >
1.13 + <widget class="QDialog" name="EditXLinkDialog">
1.14 + <property name="geometry">
1.15 <rect>
1.16 <x>0</x>
1.17 <y>0</y>
1.18 - <width>393</width>
1.19 - <height>206</height>
1.20 + <width>383</width>
1.21 + <height>167</height>
1.22 </rect>
1.23 </property>
1.24 - <property name="sizePolicy" >
1.25 - <sizepolicy>
1.26 - <hsizetype>5</hsizetype>
1.27 - <vsizetype>5</vsizetype>
1.28 + <property name="sizePolicy">
1.29 + <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
1.30 <horstretch>0</horstretch>
1.31 <verstretch>0</verstretch>
1.32 </sizepolicy>
1.33 </property>
1.34 - <property name="windowTitle" >
1.35 + <property name="windowTitle">
1.36 <string>Edit XLink</string>
1.37 </property>
1.38 - <layout class="QVBoxLayout" >
1.39 - <property name="margin" >
1.40 + <layout class="QVBoxLayout">
1.41 + <property name="spacing">
1.42 + <number>6</number>
1.43 + </property>
1.44 + <property name="margin">
1.45 <number>11</number>
1.46 </property>
1.47 - <property name="spacing" >
1.48 - <number>6</number>
1.49 - </property>
1.50 <item>
1.51 - <layout class="QGridLayout" >
1.52 - <property name="margin" >
1.53 + <layout class="QGridLayout">
1.54 + <property name="margin">
1.55 <number>0</number>
1.56 </property>
1.57 - <property name="spacing" >
1.58 + <property name="spacing">
1.59 <number>6</number>
1.60 </property>
1.61 - <item row="0" column="1" >
1.62 - <widget class="QSpinBox" name="widthBox" >
1.63 - <property name="sizePolicy" >
1.64 - <sizepolicy>
1.65 - <hsizetype>0</hsizetype>
1.66 - <vsizetype>0</vsizetype>
1.67 + <item row="0" column="1">
1.68 + <widget class="QSpinBox" name="widthBox">
1.69 + <property name="sizePolicy">
1.70 + <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
1.71 <horstretch>0</horstretch>
1.72 <verstretch>0</verstretch>
1.73 </sizepolicy>
1.74 </property>
1.75 - <property name="maximum" >
1.76 + <property name="minimum">
1.77 + <number>1</number>
1.78 + </property>
1.79 + <property name="maximum">
1.80 <number>15</number>
1.81 </property>
1.82 - <property name="minimum" >
1.83 - <number>1</number>
1.84 - </property>
1.85 </widget>
1.86 </item>
1.87 - <item row="0" column="0" >
1.88 - <widget class="QLabel" name="textLabel1" >
1.89 - <property name="text" >
1.90 + <item row="0" column="0">
1.91 + <widget class="QLabel" name="textLabel1">
1.92 + <property name="text">
1.93 <string>XLink width:</string>
1.94 </property>
1.95 - <property name="alignment" >
1.96 + <property name="alignment">
1.97 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
1.98 </property>
1.99 </widget>
1.100 </item>
1.101 - <item row="1" column="4" >
1.102 - <widget class="QPushButton" name="setColorHeadingButton" >
1.103 - <property name="maximumSize" >
1.104 + <item row="1" column="4">
1.105 + <widget class="QPushButton" name="setColorHeadingButton">
1.106 + <property name="maximumSize">
1.107 <size>
1.108 <width>32767</width>
1.109 <height>20</height>
1.110 </size>
1.111 </property>
1.112 - <property name="text" >
1.113 + <property name="text">
1.114 <string>Set color of heading</string>
1.115 </property>
1.116 </widget>
1.117 </item>
1.118 - <item row="1" column="1" >
1.119 - <widget class="QPushButton" name="colorButton" >
1.120 - <property name="enabled" >
1.121 + <item row="1" column="1">
1.122 + <widget class="QPushButton" name="colorButton">
1.123 + <property name="enabled">
1.124 <bool>true</bool>
1.125 </property>
1.126 - <property name="maximumSize" >
1.127 + <property name="maximumSize">
1.128 <size>
1.129 <width>50</width>
1.130 <height>20</height>
1.131 </size>
1.132 </property>
1.133 - <property name="text" >
1.134 + <property name="text">
1.135 <string/>
1.136 </property>
1.137 </widget>
1.138 </item>
1.139 - <item row="2" column="1" colspan="2" >
1.140 - <widget class="QCheckBox" name="useSettings" >
1.141 - <property name="text" >
1.142 + <item row="2" column="1" colspan="2">
1.143 + <widget class="QCheckBox" name="useSettings">
1.144 + <property name="text">
1.145 <string/>
1.146 </property>
1.147 </widget>
1.148 </item>
1.149 - <item row="1" column="0" >
1.150 - <widget class="QLabel" name="textLabel2" >
1.151 - <property name="text" >
1.152 + <item row="1" column="0">
1.153 + <widget class="QLabel" name="textLabel2">
1.154 + <property name="text">
1.155 <string>XLink color:</string>
1.156 </property>
1.157 - <property name="alignment" >
1.158 + <property name="alignment">
1.159 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
1.160 </property>
1.161 </widget>
1.162 </item>
1.163 - <item row="1" column="2" colspan="2" >
1.164 + <item row="1" column="2" colspan="2">
1.165 <spacer>
1.166 - <property name="orientation" >
1.167 + <property name="orientation">
1.168 <enum>Qt::Horizontal</enum>
1.169 </property>
1.170 - <property name="sizeType" >
1.171 + <property name="sizeType">
1.172 <enum>QSizePolicy::Expanding</enum>
1.173 </property>
1.174 - <property name="sizeHint" >
1.175 + <property name="sizeHint" stdset="0">
1.176 <size>
1.177 <width>285</width>
1.178 <height>20</height>
1.179 @@ -128,15 +122,15 @@
1.180 </property>
1.181 </spacer>
1.182 </item>
1.183 - <item row="0" column="2" colspan="2" >
1.184 + <item row="0" column="2" colspan="2">
1.185 <spacer>
1.186 - <property name="orientation" >
1.187 + <property name="orientation">
1.188 <enum>Qt::Horizontal</enum>
1.189 </property>
1.190 - <property name="sizeType" >
1.191 + <property name="sizeType">
1.192 <enum>QSizePolicy::Expanding</enum>
1.193 </property>
1.194 - <property name="sizeHint" >
1.195 + <property name="sizeHint" stdset="0">
1.196 <size>
1.197 <width>280</width>
1.198 <height>20</height>
1.199 @@ -144,25 +138,25 @@
1.200 </property>
1.201 </spacer>
1.202 </item>
1.203 - <item row="2" column="0" >
1.204 - <widget class="QLabel" name="textLabel1_2" >
1.205 - <property name="text" >
1.206 + <item row="2" column="0">
1.207 + <widget class="QLabel" name="textLabel1_2">
1.208 + <property name="text">
1.209 <string>Use as default:</string>
1.210 </property>
1.211 - <property name="alignment" >
1.212 + <property name="alignment">
1.213 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
1.214 </property>
1.215 </widget>
1.216 </item>
1.217 - <item row="2" column="3" colspan="2" >
1.218 + <item row="2" column="3" colspan="2">
1.219 <spacer>
1.220 - <property name="orientation" >
1.221 + <property name="orientation">
1.222 <enum>Qt::Horizontal</enum>
1.223 </property>
1.224 - <property name="sizeType" >
1.225 + <property name="sizeType">
1.226 <enum>QSizePolicy::Expanding</enum>
1.227 </property>
1.228 - <property name="sizeHint" >
1.229 + <property name="sizeHint" stdset="0">
1.230 <size>
1.231 <width>241</width>
1.232 <height>20</height>
1.233 @@ -174,13 +168,13 @@
1.234 </item>
1.235 <item>
1.236 <spacer>
1.237 - <property name="orientation" >
1.238 + <property name="orientation">
1.239 <enum>Qt::Vertical</enum>
1.240 </property>
1.241 - <property name="sizeType" >
1.242 + <property name="sizeType">
1.243 <enum>QSizePolicy::Expanding</enum>
1.244 </property>
1.245 - <property name="sizeHint" >
1.246 + <property name="sizeHint" stdset="0">
1.247 <size>
1.248 <width>20</width>
1.249 <height>16</height>
1.250 @@ -189,29 +183,29 @@
1.251 </spacer>
1.252 </item>
1.253 <item>
1.254 - <layout class="QHBoxLayout" >
1.255 - <property name="margin" >
1.256 + <layout class="QHBoxLayout">
1.257 + <property name="spacing">
1.258 + <number>6</number>
1.259 + </property>
1.260 + <property name="margin">
1.261 <number>0</number>
1.262 </property>
1.263 - <property name="spacing" >
1.264 - <number>6</number>
1.265 - </property>
1.266 <item>
1.267 - <widget class="QPushButton" name="deleteButton" >
1.268 - <property name="text" >
1.269 + <widget class="QPushButton" name="deleteButton">
1.270 + <property name="text">
1.271 <string>Quit and delete XLink</string>
1.272 </property>
1.273 </widget>
1.274 </item>
1.275 <item>
1.276 <spacer>
1.277 - <property name="orientation" >
1.278 + <property name="orientation">
1.279 <enum>Qt::Horizontal</enum>
1.280 </property>
1.281 - <property name="sizeType" >
1.282 + <property name="sizeType">
1.283 <enum>QSizePolicy::Expanding</enum>
1.284 </property>
1.285 - <property name="sizeHint" >
1.286 + <property name="sizeHint" stdset="0">
1.287 <size>
1.288 <width>100</width>
1.289 <height>20</height>
1.290 @@ -220,8 +214,8 @@
1.291 </spacer>
1.292 </item>
1.293 <item>
1.294 - <widget class="QPushButton" name="okButton" >
1.295 - <property name="text" >
1.296 + <widget class="QPushButton" name="okButton">
1.297 + <property name="text">
1.298 <string>Ok</string>
1.299 </property>
1.300 </widget>
1.301 @@ -230,11 +224,11 @@
1.302 </item>
1.303 </layout>
1.304 </widget>
1.305 - <layoutdefault spacing="6" margin="11" />
1.306 + <layoutdefault spacing="6" margin="11"/>
1.307 <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
1.308 <includes>
1.309 - <include location="local" >xlinkobj.h</include>
1.310 - <include location="local" >linkablemapobj.h</include>
1.311 + <include location="local">xlinkitem.h</include>
1.312 + <include location="local">linkablemapobj.h</include>
1.313 </includes>
1.314 <resources/>
1.315 <connections>
1.316 @@ -244,11 +238,11 @@
1.317 <receiver>EditXLinkDialog</receiver>
1.318 <slot>accept()</slot>
1.319 <hints>
1.320 - <hint type="sourcelabel" >
1.321 + <hint type="sourcelabel">
1.322 <x>338</x>
1.323 <y>180</y>
1.324 </hint>
1.325 - <hint type="destinationlabel" >
1.326 + <hint type="destinationlabel">
1.327 <x>196</x>
1.328 <y>102</y>
1.329 </hint>