editxlinkdialog.ui
author insilmaril
Tue, 02 Aug 2005 08:12:14 +0000
changeset 147 40de292411b6
parent 101 1d092be4fe33
child 383 bf5ba1bd4764
permissions -rw-r--r--
Bugfix: Now correct always correct size of heading
insilmaril@95
     1
<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
insilmaril@95
     2
<class>EditXLinkDialog</class>
insilmaril@95
     3
<widget class="QDialog">
insilmaril@95
     4
    <property name="name">
insilmaril@95
     5
        <cstring>EditXLinkDialog</cstring>
insilmaril@95
     6
    </property>
insilmaril@95
     7
    <property name="geometry">
insilmaril@95
     8
        <rect>
insilmaril@95
     9
            <x>0</x>
insilmaril@95
    10
            <y>0</y>
insilmaril@101
    11
            <width>393</width>
insilmaril@97
    12
            <height>206</height>
insilmaril@95
    13
        </rect>
insilmaril@95
    14
    </property>
insilmaril@97
    15
    <property name="sizePolicy">
insilmaril@97
    16
        <sizepolicy>
insilmaril@97
    17
            <hsizetype>5</hsizetype>
insilmaril@97
    18
            <vsizetype>5</vsizetype>
insilmaril@97
    19
            <horstretch>0</horstretch>
insilmaril@97
    20
            <verstretch>0</verstretch>
insilmaril@97
    21
        </sizepolicy>
insilmaril@97
    22
    </property>
insilmaril@95
    23
    <property name="caption">
insilmaril@97
    24
        <string>Edit XLink</string>
insilmaril@95
    25
    </property>
insilmaril@97
    26
    <vbox>
insilmaril@95
    27
        <property name="name">
insilmaril@95
    28
            <cstring>unnamed</cstring>
insilmaril@95
    29
        </property>
insilmaril@97
    30
        <widget class="QLayoutWidget">
insilmaril@95
    31
            <property name="name">
insilmaril@101
    32
                <cstring>layout7</cstring>
insilmaril@95
    33
            </property>
insilmaril@97
    34
            <grid>
insilmaril@97
    35
                <property name="name">
insilmaril@97
    36
                    <cstring>unnamed</cstring>
insilmaril@97
    37
                </property>
insilmaril@101
    38
                <widget class="QSpinBox" row="0" column="1">
insilmaril@97
    39
                    <property name="name">
insilmaril@101
    40
                        <cstring>widthBox</cstring>
insilmaril@97
    41
                    </property>
insilmaril@101
    42
                    <property name="sizePolicy">
insilmaril@101
    43
                        <sizepolicy>
insilmaril@101
    44
                            <hsizetype>0</hsizetype>
insilmaril@101
    45
                            <vsizetype>0</vsizetype>
insilmaril@101
    46
                            <horstretch>0</horstretch>
insilmaril@101
    47
                            <verstretch>0</verstretch>
insilmaril@101
    48
                        </sizepolicy>
insilmaril@97
    49
                    </property>
insilmaril@101
    50
                    <property name="maxValue">
insilmaril@101
    51
                        <number>15</number>
insilmaril@97
    52
                    </property>
insilmaril@101
    53
                    <property name="minValue">
insilmaril@101
    54
                        <number>1</number>
insilmaril@97
    55
                    </property>
insilmaril@101
    56
                </widget>
insilmaril@97
    57
                <widget class="QLabel" row="0" column="0">
insilmaril@97
    58
                    <property name="name">
insilmaril@97
    59
                        <cstring>textLabel1</cstring>
insilmaril@97
    60
                    </property>
insilmaril@97
    61
                    <property name="text">
insilmaril@101
    62
                        <string>XLink width:</string>
insilmaril@97
    63
                    </property>
insilmaril@97
    64
                    <property name="alignment">
insilmaril@97
    65
                        <set>AlignVCenter|AlignRight</set>
insilmaril@97
    66
                    </property>
insilmaril@97
    67
                </widget>
insilmaril@101
    68
                <widget class="QPushButton" row="1" column="4">
insilmaril@97
    69
                    <property name="name">
insilmaril@101
    70
                        <cstring>setColorHeadingButton</cstring>
insilmaril@97
    71
                    </property>
insilmaril@101
    72
                    <property name="maximumSize">
insilmaril@97
    73
                        <size>
insilmaril@101
    74
                            <width>32767</width>
insilmaril@101
    75
                            <height>20</height>
insilmaril@97
    76
                        </size>
insilmaril@97
    77
                    </property>
insilmaril@97
    78
                    <property name="text">
insilmaril@101
    79
                        <string>Set color of heading</string>
insilmaril@97
    80
                    </property>
insilmaril@97
    81
                </widget>
insilmaril@97
    82
                <widget class="QPushButton" row="1" column="1">
insilmaril@97
    83
                    <property name="name">
insilmaril@97
    84
                        <cstring>colorButton</cstring>
insilmaril@97
    85
                    </property>
insilmaril@97
    86
                    <property name="enabled">
insilmaril@97
    87
                        <bool>true</bool>
insilmaril@97
    88
                    </property>
insilmaril@97
    89
                    <property name="maximumSize">
insilmaril@97
    90
                        <size>
insilmaril@97
    91
                            <width>50</width>
insilmaril@97
    92
                            <height>20</height>
insilmaril@97
    93
                        </size>
insilmaril@97
    94
                    </property>
insilmaril@97
    95
                    <property name="text">
insilmaril@97
    96
                        <string></string>
insilmaril@97
    97
                    </property>
insilmaril@97
    98
                </widget>
insilmaril@101
    99
                <widget class="QCheckBox" row="2" column="1" rowspan="1" colspan="2">
insilmaril@97
   100
                    <property name="name">
insilmaril@101
   101
                        <cstring>useSettings</cstring>
insilmaril@97
   102
                    </property>
insilmaril@101
   103
                    <property name="text">
insilmaril@101
   104
                        <string></string>
insilmaril@97
   105
                    </property>
insilmaril@97
   106
                </widget>
insilmaril@97
   107
                <widget class="QLabel" row="1" column="0">
insilmaril@97
   108
                    <property name="name">
insilmaril@97
   109
                        <cstring>textLabel2</cstring>
insilmaril@97
   110
                    </property>
insilmaril@97
   111
                    <property name="text">
insilmaril@101
   112
                        <string>XLink color:</string>
insilmaril@97
   113
                    </property>
insilmaril@97
   114
                    <property name="alignment">
insilmaril@97
   115
                        <set>AlignVCenter|AlignRight</set>
insilmaril@97
   116
                    </property>
insilmaril@97
   117
                </widget>
insilmaril@101
   118
                <spacer row="1" column="2" rowspan="1" colspan="2">
insilmaril@97
   119
                    <property name="name">
insilmaril@101
   120
                        <cstring>spacer6</cstring>
insilmaril@97
   121
                    </property>
insilmaril@97
   122
                    <property name="orientation">
insilmaril@97
   123
                        <enum>Horizontal</enum>
insilmaril@97
   124
                    </property>
insilmaril@97
   125
                    <property name="sizeType">
insilmaril@97
   126
                        <enum>Expanding</enum>
insilmaril@97
   127
                    </property>
insilmaril@97
   128
                    <property name="sizeHint">
insilmaril@97
   129
                        <size>
insilmaril@101
   130
                            <width>285</width>
insilmaril@101
   131
                            <height>20</height>
insilmaril@101
   132
                        </size>
insilmaril@101
   133
                    </property>
insilmaril@101
   134
                </spacer>
insilmaril@101
   135
                <spacer row="0" column="2" rowspan="1" colspan="2">
insilmaril@101
   136
                    <property name="name">
insilmaril@101
   137
                        <cstring>spacer2</cstring>
insilmaril@101
   138
                    </property>
insilmaril@101
   139
                    <property name="orientation">
insilmaril@101
   140
                        <enum>Horizontal</enum>
insilmaril@101
   141
                    </property>
insilmaril@101
   142
                    <property name="sizeType">
insilmaril@101
   143
                        <enum>Expanding</enum>
insilmaril@101
   144
                    </property>
insilmaril@101
   145
                    <property name="sizeHint">
insilmaril@101
   146
                        <size>
insilmaril@101
   147
                            <width>280</width>
insilmaril@101
   148
                            <height>20</height>
insilmaril@101
   149
                        </size>
insilmaril@101
   150
                    </property>
insilmaril@101
   151
                </spacer>
insilmaril@101
   152
                <widget class="QLabel" row="2" column="0">
insilmaril@101
   153
                    <property name="name">
insilmaril@101
   154
                        <cstring>textLabel1_2</cstring>
insilmaril@101
   155
                    </property>
insilmaril@101
   156
                    <property name="text">
insilmaril@101
   157
                        <string>Use as default:</string>
insilmaril@101
   158
                    </property>
insilmaril@101
   159
                    <property name="alignment">
insilmaril@101
   160
                        <set>AlignVCenter|AlignRight</set>
insilmaril@101
   161
                    </property>
insilmaril@101
   162
                </widget>
insilmaril@101
   163
                <spacer row="2" column="3" rowspan="1" colspan="2">
insilmaril@101
   164
                    <property name="name">
insilmaril@101
   165
                        <cstring>spacer9</cstring>
insilmaril@101
   166
                    </property>
insilmaril@101
   167
                    <property name="orientation">
insilmaril@101
   168
                        <enum>Horizontal</enum>
insilmaril@101
   169
                    </property>
insilmaril@101
   170
                    <property name="sizeType">
insilmaril@101
   171
                        <enum>Expanding</enum>
insilmaril@101
   172
                    </property>
insilmaril@101
   173
                    <property name="sizeHint">
insilmaril@101
   174
                        <size>
insilmaril@101
   175
                            <width>241</width>
insilmaril@101
   176
                            <height>20</height>
insilmaril@97
   177
                        </size>
insilmaril@97
   178
                    </property>
insilmaril@97
   179
                </spacer>
insilmaril@97
   180
            </grid>
insilmaril@95
   181
        </widget>
insilmaril@97
   182
        <spacer>
insilmaril@95
   183
            <property name="name">
insilmaril@97
   184
                <cstring>spacer4</cstring>
insilmaril@95
   185
            </property>
insilmaril@95
   186
            <property name="orientation">
insilmaril@97
   187
                <enum>Vertical</enum>
insilmaril@95
   188
            </property>
insilmaril@95
   189
            <property name="sizeType">
insilmaril@95
   190
                <enum>Expanding</enum>
insilmaril@95
   191
            </property>
insilmaril@95
   192
            <property name="sizeHint">
insilmaril@95
   193
                <size>
insilmaril@97
   194
                    <width>20</width>
insilmaril@101
   195
                    <height>16</height>
insilmaril@95
   196
                </size>
insilmaril@95
   197
            </property>
insilmaril@95
   198
        </spacer>
insilmaril@97
   199
        <widget class="QLayoutWidget">
insilmaril@95
   200
            <property name="name">
insilmaril@97
   201
                <cstring>layout4</cstring>
insilmaril@95
   202
            </property>
insilmaril@97
   203
            <hbox>
insilmaril@97
   204
                <property name="name">
insilmaril@97
   205
                    <cstring>unnamed</cstring>
insilmaril@97
   206
                </property>
insilmaril@97
   207
                <widget class="QPushButton">
insilmaril@97
   208
                    <property name="name">
insilmaril@97
   209
                        <cstring>deleteButton</cstring>
insilmaril@97
   210
                    </property>
insilmaril@97
   211
                    <property name="text">
insilmaril@97
   212
                        <string>Delete XLink</string>
insilmaril@97
   213
                    </property>
insilmaril@97
   214
                </widget>
insilmaril@97
   215
                <spacer>
insilmaril@97
   216
                    <property name="name">
insilmaril@97
   217
                        <cstring>spacer11</cstring>
insilmaril@97
   218
                    </property>
insilmaril@97
   219
                    <property name="orientation">
insilmaril@97
   220
                        <enum>Horizontal</enum>
insilmaril@97
   221
                    </property>
insilmaril@97
   222
                    <property name="sizeType">
insilmaril@97
   223
                        <enum>Expanding</enum>
insilmaril@97
   224
                    </property>
insilmaril@97
   225
                    <property name="sizeHint">
insilmaril@97
   226
                        <size>
insilmaril@97
   227
                            <width>100</width>
insilmaril@97
   228
                            <height>20</height>
insilmaril@97
   229
                        </size>
insilmaril@97
   230
                    </property>
insilmaril@97
   231
                </spacer>
insilmaril@97
   232
                <widget class="QPushButton">
insilmaril@97
   233
                    <property name="name">
insilmaril@97
   234
                        <cstring>okButton</cstring>
insilmaril@97
   235
                    </property>
insilmaril@97
   236
                    <property name="text">
insilmaril@97
   237
                        <string>Ok</string>
insilmaril@97
   238
                    </property>
insilmaril@97
   239
                </widget>
insilmaril@97
   240
            </hbox>
insilmaril@95
   241
        </widget>
insilmaril@97
   242
    </vbox>
insilmaril@95
   243
</widget>
insilmaril@95
   244
<connections>
insilmaril@95
   245
    <connection>
insilmaril@95
   246
        <sender>okButton</sender>
insilmaril@95
   247
        <signal>clicked()</signal>
insilmaril@95
   248
        <receiver>EditXLinkDialog</receiver>
insilmaril@95
   249
        <slot>accept()</slot>
insilmaril@95
   250
    </connection>
insilmaril@95
   251
    <connection>
insilmaril@95
   252
        <sender>deleteButton</sender>
insilmaril@95
   253
        <signal>clicked()</signal>
insilmaril@95
   254
        <receiver>EditXLinkDialog</receiver>
insilmaril@95
   255
        <slot>deleteButtonPressed()</slot>
insilmaril@95
   256
    </connection>
insilmaril@97
   257
    <connection>
insilmaril@97
   258
        <sender>colorButton</sender>
insilmaril@97
   259
        <signal>clicked()</signal>
insilmaril@97
   260
        <receiver>EditXLinkDialog</receiver>
insilmaril@97
   261
        <slot>colorButtonPressed()</slot>
insilmaril@97
   262
    </connection>
insilmaril@97
   263
    <connection>
insilmaril@97
   264
        <sender>widthBox</sender>
insilmaril@97
   265
        <signal>valueChanged(int)</signal>
insilmaril@97
   266
        <receiver>EditXLinkDialog</receiver>
insilmaril@97
   267
        <slot>widthChanged(int)</slot>
insilmaril@97
   268
    </connection>
insilmaril@101
   269
    <connection>
insilmaril@101
   270
        <sender>setColorHeadingButton</sender>
insilmaril@101
   271
        <signal>clicked()</signal>
insilmaril@101
   272
        <receiver>EditXLinkDialog</receiver>
insilmaril@101
   273
        <slot>setColorHeadingButtonPressed()</slot>
insilmaril@101
   274
    </connection>
insilmaril@95
   275
</connections>
insilmaril@95
   276
<includes>
insilmaril@97
   277
    <include location="global" impldecl="in implementation">qcolordialog.h</include>
insilmaril@101
   278
    <include location="local" impldecl="in implementation">linkablemapobj.h</include>
insilmaril@97
   279
    <include location="local" impldecl="in declaration">xlinkobj.h</include>
insilmaril@101
   280
    <include location="local" impldecl="in declaration">mapcenterobj.h</include>
insilmaril@101
   281
    <include location="local" impldecl="in declaration">linkablemapobj.h</include>
insilmaril@95
   282
    <include location="local" impldecl="in implementation">editxlinkdialog.ui.h</include>
insilmaril@95
   283
</includes>
insilmaril@95
   284
<variables>
insilmaril@101
   285
    <variable access="private">LinkableMapObj *selection;</variable>
insilmaril@101
   286
    <variable access="private">XLinkObj *xlo;</variable>
insilmaril@95
   287
    <variable access="private">bool delink;</variable>
insilmaril@95
   288
</variables>
insilmaril@95
   289
<slots>
insilmaril@95
   290
    <slot access="protected">deleteButtonPressed()</slot>
insilmaril@97
   291
    <slot access="protected">widthChanged( int w )</slot>
insilmaril@97
   292
    <slot>setXLink( XLinkObj * xo )</slot>
insilmaril@101
   293
    <slot>setSelection( LinkableMapObj * s )</slot>
insilmaril@97
   294
    <slot access="protected">colorButtonPressed()</slot>
insilmaril@101
   295
    <slot access="protected">setColorHeadingButtonPressed()</slot>
insilmaril@95
   296
</slots>
insilmaril@95
   297
<functions>
insilmaril@95
   298
    <function access="private" specifier="non virtual">init()</function>
insilmaril@95
   299
    <function returnType="bool">deleteXLink()</function>
insilmaril@97
   300
    <function returnType="bool">useSettingsGlobal()</function>
insilmaril@95
   301
</functions>
insilmaril@95
   302
<pixmapinproject/>
insilmaril@95
   303
<layoutdefaults spacing="6" margin="11"/>
insilmaril@95
   304
</UI>