editxlinkdialog.ui
changeset 153 47cd4ae30000
parent 97 0b048b6bb6f4
child 383 bf5ba1bd4764
     1.1 --- a/editxlinkdialog.ui	Thu Apr 21 19:14:38 2005 +0000
     1.2 +++ b/editxlinkdialog.ui	Tue Aug 16 17:27:34 2005 +0000
     1.3 @@ -8,7 +8,7 @@
     1.4          <rect>
     1.5              <x>0</x>
     1.6              <y>0</y>
     1.7 -            <width>607</width>
     1.8 +            <width>393</width>
     1.9              <height>206</height>
    1.10          </rect>
    1.11      </property>
    1.12 @@ -29,63 +29,54 @@
    1.13          </property>
    1.14          <widget class="QLayoutWidget">
    1.15              <property name="name">
    1.16 -                <cstring>layout5</cstring>
    1.17 +                <cstring>layout7</cstring>
    1.18              </property>
    1.19              <grid>
    1.20                  <property name="name">
    1.21                      <cstring>unnamed</cstring>
    1.22                  </property>
    1.23 -                <spacer row="0" column="2" rowspan="1" colspan="2">
    1.24 +                <widget class="QSpinBox" row="0" column="1">
    1.25                      <property name="name">
    1.26 -                        <cstring>spacer2</cstring>
    1.27 +                        <cstring>widthBox</cstring>
    1.28                      </property>
    1.29 -                    <property name="orientation">
    1.30 -                        <enum>Horizontal</enum>
    1.31 +                    <property name="sizePolicy">
    1.32 +                        <sizepolicy>
    1.33 +                            <hsizetype>0</hsizetype>
    1.34 +                            <vsizetype>0</vsizetype>
    1.35 +                            <horstretch>0</horstretch>
    1.36 +                            <verstretch>0</verstretch>
    1.37 +                        </sizepolicy>
    1.38                      </property>
    1.39 -                    <property name="sizeType">
    1.40 -                        <enum>Expanding</enum>
    1.41 +                    <property name="maxValue">
    1.42 +                        <number>15</number>
    1.43                      </property>
    1.44 -                    <property name="sizeHint">
    1.45 -                        <size>
    1.46 -                            <width>462</width>
    1.47 -                            <height>20</height>
    1.48 -                        </size>
    1.49 +                    <property name="minValue">
    1.50 +                        <number>1</number>
    1.51                      </property>
    1.52 -                </spacer>
    1.53 +                </widget>
    1.54                  <widget class="QLabel" row="0" column="0">
    1.55                      <property name="name">
    1.56                          <cstring>textLabel1</cstring>
    1.57                      </property>
    1.58                      <property name="text">
    1.59 -                        <string>Line width:</string>
    1.60 +                        <string>XLink width:</string>
    1.61                      </property>
    1.62                      <property name="alignment">
    1.63                          <set>AlignVCenter|AlignRight</set>
    1.64                      </property>
    1.65                  </widget>
    1.66 -                <spacer row="1" column="2" rowspan="1" colspan="2">
    1.67 +                <widget class="QPushButton" row="1" column="4">
    1.68                      <property name="name">
    1.69 -                        <cstring>spacer3</cstring>
    1.70 +                        <cstring>setColorHeadingButton</cstring>
    1.71                      </property>
    1.72 -                    <property name="orientation">
    1.73 -                        <enum>Horizontal</enum>
    1.74 -                    </property>
    1.75 -                    <property name="sizeType">
    1.76 -                        <enum>Expanding</enum>
    1.77 -                    </property>
    1.78 -                    <property name="sizeHint">
    1.79 +                    <property name="maximumSize">
    1.80                          <size>
    1.81 -                            <width>463</width>
    1.82 -                            <height>21</height>
    1.83 +                            <width>32767</width>
    1.84 +                            <height>20</height>
    1.85                          </size>
    1.86                      </property>
    1.87 -                </spacer>
    1.88 -                <widget class="QCheckBox" row="2" column="1" rowspan="1" colspan="2">
    1.89 -                    <property name="name">
    1.90 -                        <cstring>useSettings</cstring>
    1.91 -                    </property>
    1.92                      <property name="text">
    1.93 -                        <string>(use settings as default for new xlinks)</string>
    1.94 +                        <string>Set color of heading</string>
    1.95                      </property>
    1.96                  </widget>
    1.97                  <widget class="QPushButton" row="1" column="1">
    1.98 @@ -105,23 +96,12 @@
    1.99                          <string></string>
   1.100                      </property>
   1.101                  </widget>
   1.102 -                <widget class="QSpinBox" row="0" column="1">
   1.103 +                <widget class="QCheckBox" row="2" column="1" rowspan="1" colspan="2">
   1.104                      <property name="name">
   1.105 -                        <cstring>widthBox</cstring>
   1.106 +                        <cstring>useSettings</cstring>
   1.107                      </property>
   1.108 -                    <property name="sizePolicy">
   1.109 -                        <sizepolicy>
   1.110 -                            <hsizetype>0</hsizetype>
   1.111 -                            <vsizetype>0</vsizetype>
   1.112 -                            <horstretch>0</horstretch>
   1.113 -                            <verstretch>0</verstretch>
   1.114 -                        </sizepolicy>
   1.115 -                    </property>
   1.116 -                    <property name="maxValue">
   1.117 -                        <number>15</number>
   1.118 -                    </property>
   1.119 -                    <property name="minValue">
   1.120 -                        <number>1</number>
   1.121 +                    <property name="text">
   1.122 +                        <string></string>
   1.123                      </property>
   1.124                  </widget>
   1.125                  <widget class="QLabel" row="1" column="0">
   1.126 @@ -129,26 +109,15 @@
   1.127                          <cstring>textLabel2</cstring>
   1.128                      </property>
   1.129                      <property name="text">
   1.130 -                        <string>Line color:</string>
   1.131 +                        <string>XLink color:</string>
   1.132                      </property>
   1.133                      <property name="alignment">
   1.134                          <set>AlignVCenter|AlignRight</set>
   1.135                      </property>
   1.136                  </widget>
   1.137 -                <widget class="QLabel" row="2" column="0">
   1.138 +                <spacer row="1" column="2" rowspan="1" colspan="2">
   1.139                      <property name="name">
   1.140 -                        <cstring>textLabel1_2</cstring>
   1.141 -                    </property>
   1.142 -                    <property name="text">
   1.143 -                        <string>Default:</string>
   1.144 -                    </property>
   1.145 -                    <property name="alignment">
   1.146 -                        <set>AlignVCenter|AlignRight</set>
   1.147 -                    </property>
   1.148 -                </widget>
   1.149 -                <spacer row="2" column="3">
   1.150 -                    <property name="name">
   1.151 -                        <cstring>spacer5</cstring>
   1.152 +                        <cstring>spacer6</cstring>
   1.153                      </property>
   1.154                      <property name="orientation">
   1.155                          <enum>Horizontal</enum>
   1.156 @@ -158,8 +127,53 @@
   1.157                      </property>
   1.158                      <property name="sizeHint">
   1.159                          <size>
   1.160 -                            <width>110</width>
   1.161 -                            <height>21</height>
   1.162 +                            <width>285</width>
   1.163 +                            <height>20</height>
   1.164 +                        </size>
   1.165 +                    </property>
   1.166 +                </spacer>
   1.167 +                <spacer row="0" column="2" rowspan="1" colspan="2">
   1.168 +                    <property name="name">
   1.169 +                        <cstring>spacer2</cstring>
   1.170 +                    </property>
   1.171 +                    <property name="orientation">
   1.172 +                        <enum>Horizontal</enum>
   1.173 +                    </property>
   1.174 +                    <property name="sizeType">
   1.175 +                        <enum>Expanding</enum>
   1.176 +                    </property>
   1.177 +                    <property name="sizeHint">
   1.178 +                        <size>
   1.179 +                            <width>280</width>
   1.180 +                            <height>20</height>
   1.181 +                        </size>
   1.182 +                    </property>
   1.183 +                </spacer>
   1.184 +                <widget class="QLabel" row="2" column="0">
   1.185 +                    <property name="name">
   1.186 +                        <cstring>textLabel1_2</cstring>
   1.187 +                    </property>
   1.188 +                    <property name="text">
   1.189 +                        <string>Use as default:</string>
   1.190 +                    </property>
   1.191 +                    <property name="alignment">
   1.192 +                        <set>AlignVCenter|AlignRight</set>
   1.193 +                    </property>
   1.194 +                </widget>
   1.195 +                <spacer row="2" column="3" rowspan="1" colspan="2">
   1.196 +                    <property name="name">
   1.197 +                        <cstring>spacer9</cstring>
   1.198 +                    </property>
   1.199 +                    <property name="orientation">
   1.200 +                        <enum>Horizontal</enum>
   1.201 +                    </property>
   1.202 +                    <property name="sizeType">
   1.203 +                        <enum>Expanding</enum>
   1.204 +                    </property>
   1.205 +                    <property name="sizeHint">
   1.206 +                        <size>
   1.207 +                            <width>241</width>
   1.208 +                            <height>20</height>
   1.209                          </size>
   1.210                      </property>
   1.211                  </spacer>
   1.212 @@ -178,7 +192,7 @@
   1.213              <property name="sizeHint">
   1.214                  <size>
   1.215                      <width>20</width>
   1.216 -                    <height>40</height>
   1.217 +                    <height>16</height>
   1.218                  </size>
   1.219              </property>
   1.220          </spacer>
   1.221 @@ -252,21 +266,33 @@
   1.222          <receiver>EditXLinkDialog</receiver>
   1.223          <slot>widthChanged(int)</slot>
   1.224      </connection>
   1.225 +    <connection>
   1.226 +        <sender>setColorHeadingButton</sender>
   1.227 +        <signal>clicked()</signal>
   1.228 +        <receiver>EditXLinkDialog</receiver>
   1.229 +        <slot>setColorHeadingButtonPressed()</slot>
   1.230 +    </connection>
   1.231  </connections>
   1.232  <includes>
   1.233      <include location="global" impldecl="in implementation">qcolordialog.h</include>
   1.234 +    <include location="local" impldecl="in implementation">linkablemapobj.h</include>
   1.235      <include location="local" impldecl="in declaration">xlinkobj.h</include>
   1.236 +    <include location="local" impldecl="in declaration">mapcenterobj.h</include>
   1.237 +    <include location="local" impldecl="in declaration">linkablemapobj.h</include>
   1.238      <include location="local" impldecl="in implementation">editxlinkdialog.ui.h</include>
   1.239  </includes>
   1.240  <variables>
   1.241 +    <variable access="private">LinkableMapObj *selection;</variable>
   1.242 +    <variable access="private">XLinkObj *xlo;</variable>
   1.243      <variable access="private">bool delink;</variable>
   1.244 -    <variable access="private">XLinkObj *xlo;</variable>
   1.245  </variables>
   1.246  <slots>
   1.247      <slot access="protected">deleteButtonPressed()</slot>
   1.248      <slot access="protected">widthChanged( int w )</slot>
   1.249      <slot>setXLink( XLinkObj * xo )</slot>
   1.250 +    <slot>setSelection( LinkableMapObj * s )</slot>
   1.251      <slot access="protected">colorButtonPressed()</slot>
   1.252 +    <slot access="protected">setColorHeadingButtonPressed()</slot>
   1.253  </slots>
   1.254  <functions>
   1.255      <function access="private" specifier="non virtual">init()</function>