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