editxlinkdialog.ui
author insilmaril
Wed May 18 07:39:51 2005 +0000 (2005-05-18)
changeset 99 fac7bf719295
parent 95 f688a9913724
child 101 1d092be4fe33
permissions -rw-r--r--
fixed some bugs in xlinks, more remove/insert functions
     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>607</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>layout5</cstring>
    33             </property>
    34             <grid>
    35                 <property name="name">
    36                     <cstring>unnamed</cstring>
    37                 </property>
    38                 <spacer row="0" column="2" rowspan="1" colspan="2">
    39                     <property name="name">
    40                         <cstring>spacer2</cstring>
    41                     </property>
    42                     <property name="orientation">
    43                         <enum>Horizontal</enum>
    44                     </property>
    45                     <property name="sizeType">
    46                         <enum>Expanding</enum>
    47                     </property>
    48                     <property name="sizeHint">
    49                         <size>
    50                             <width>462</width>
    51                             <height>20</height>
    52                         </size>
    53                     </property>
    54                 </spacer>
    55                 <widget class="QLabel" row="0" column="0">
    56                     <property name="name">
    57                         <cstring>textLabel1</cstring>
    58                     </property>
    59                     <property name="text">
    60                         <string>Line width:</string>
    61                     </property>
    62                     <property name="alignment">
    63                         <set>AlignVCenter|AlignRight</set>
    64                     </property>
    65                 </widget>
    66                 <spacer row="1" column="2" rowspan="1" colspan="2">
    67                     <property name="name">
    68                         <cstring>spacer3</cstring>
    69                     </property>
    70                     <property name="orientation">
    71                         <enum>Horizontal</enum>
    72                     </property>
    73                     <property name="sizeType">
    74                         <enum>Expanding</enum>
    75                     </property>
    76                     <property name="sizeHint">
    77                         <size>
    78                             <width>463</width>
    79                             <height>21</height>
    80                         </size>
    81                     </property>
    82                 </spacer>
    83                 <widget class="QCheckBox" row="2" column="1" rowspan="1" colspan="2">
    84                     <property name="name">
    85                         <cstring>useSettings</cstring>
    86                     </property>
    87                     <property name="text">
    88                         <string>(use settings as default for new xlinks)</string>
    89                     </property>
    90                 </widget>
    91                 <widget class="QPushButton" row="1" column="1">
    92                     <property name="name">
    93                         <cstring>colorButton</cstring>
    94                     </property>
    95                     <property name="enabled">
    96                         <bool>true</bool>
    97                     </property>
    98                     <property name="maximumSize">
    99                         <size>
   100                             <width>50</width>
   101                             <height>20</height>
   102                         </size>
   103                     </property>
   104                     <property name="text">
   105                         <string></string>
   106                     </property>
   107                 </widget>
   108                 <widget class="QSpinBox" row="0" column="1">
   109                     <property name="name">
   110                         <cstring>widthBox</cstring>
   111                     </property>
   112                     <property name="sizePolicy">
   113                         <sizepolicy>
   114                             <hsizetype>0</hsizetype>
   115                             <vsizetype>0</vsizetype>
   116                             <horstretch>0</horstretch>
   117                             <verstretch>0</verstretch>
   118                         </sizepolicy>
   119                     </property>
   120                     <property name="maxValue">
   121                         <number>15</number>
   122                     </property>
   123                     <property name="minValue">
   124                         <number>1</number>
   125                     </property>
   126                 </widget>
   127                 <widget class="QLabel" row="1" column="0">
   128                     <property name="name">
   129                         <cstring>textLabel2</cstring>
   130                     </property>
   131                     <property name="text">
   132                         <string>Line color:</string>
   133                     </property>
   134                     <property name="alignment">
   135                         <set>AlignVCenter|AlignRight</set>
   136                     </property>
   137                 </widget>
   138                 <widget class="QLabel" row="2" column="0">
   139                     <property name="name">
   140                         <cstring>textLabel1_2</cstring>
   141                     </property>
   142                     <property name="text">
   143                         <string>Default:</string>
   144                     </property>
   145                     <property name="alignment">
   146                         <set>AlignVCenter|AlignRight</set>
   147                     </property>
   148                 </widget>
   149                 <spacer row="2" column="3">
   150                     <property name="name">
   151                         <cstring>spacer5</cstring>
   152                     </property>
   153                     <property name="orientation">
   154                         <enum>Horizontal</enum>
   155                     </property>
   156                     <property name="sizeType">
   157                         <enum>Expanding</enum>
   158                     </property>
   159                     <property name="sizeHint">
   160                         <size>
   161                             <width>110</width>
   162                             <height>21</height>
   163                         </size>
   164                     </property>
   165                 </spacer>
   166             </grid>
   167         </widget>
   168         <spacer>
   169             <property name="name">
   170                 <cstring>spacer4</cstring>
   171             </property>
   172             <property name="orientation">
   173                 <enum>Vertical</enum>
   174             </property>
   175             <property name="sizeType">
   176                 <enum>Expanding</enum>
   177             </property>
   178             <property name="sizeHint">
   179                 <size>
   180                     <width>20</width>
   181                     <height>40</height>
   182                 </size>
   183             </property>
   184         </spacer>
   185         <widget class="QLayoutWidget">
   186             <property name="name">
   187                 <cstring>layout4</cstring>
   188             </property>
   189             <hbox>
   190                 <property name="name">
   191                     <cstring>unnamed</cstring>
   192                 </property>
   193                 <widget class="QPushButton">
   194                     <property name="name">
   195                         <cstring>deleteButton</cstring>
   196                     </property>
   197                     <property name="text">
   198                         <string>Delete XLink</string>
   199                     </property>
   200                 </widget>
   201                 <spacer>
   202                     <property name="name">
   203                         <cstring>spacer11</cstring>
   204                     </property>
   205                     <property name="orientation">
   206                         <enum>Horizontal</enum>
   207                     </property>
   208                     <property name="sizeType">
   209                         <enum>Expanding</enum>
   210                     </property>
   211                     <property name="sizeHint">
   212                         <size>
   213                             <width>100</width>
   214                             <height>20</height>
   215                         </size>
   216                     </property>
   217                 </spacer>
   218                 <widget class="QPushButton">
   219                     <property name="name">
   220                         <cstring>okButton</cstring>
   221                     </property>
   222                     <property name="text">
   223                         <string>Ok</string>
   224                     </property>
   225                 </widget>
   226             </hbox>
   227         </widget>
   228     </vbox>
   229 </widget>
   230 <connections>
   231     <connection>
   232         <sender>okButton</sender>
   233         <signal>clicked()</signal>
   234         <receiver>EditXLinkDialog</receiver>
   235         <slot>accept()</slot>
   236     </connection>
   237     <connection>
   238         <sender>deleteButton</sender>
   239         <signal>clicked()</signal>
   240         <receiver>EditXLinkDialog</receiver>
   241         <slot>deleteButtonPressed()</slot>
   242     </connection>
   243     <connection>
   244         <sender>colorButton</sender>
   245         <signal>clicked()</signal>
   246         <receiver>EditXLinkDialog</receiver>
   247         <slot>colorButtonPressed()</slot>
   248     </connection>
   249     <connection>
   250         <sender>widthBox</sender>
   251         <signal>valueChanged(int)</signal>
   252         <receiver>EditXLinkDialog</receiver>
   253         <slot>widthChanged(int)</slot>
   254     </connection>
   255 </connections>
   256 <includes>
   257     <include location="global" impldecl="in implementation">qcolordialog.h</include>
   258     <include location="local" impldecl="in declaration">xlinkobj.h</include>
   259     <include location="local" impldecl="in implementation">editxlinkdialog.ui.h</include>
   260 </includes>
   261 <variables>
   262     <variable access="private">bool delink;</variable>
   263     <variable access="private">XLinkObj *xlo;</variable>
   264 </variables>
   265 <slots>
   266     <slot access="protected">deleteButtonPressed()</slot>
   267     <slot access="protected">widthChanged( int w )</slot>
   268     <slot>setXLink( XLinkObj * xo )</slot>
   269     <slot access="protected">colorButtonPressed()</slot>
   270 </slots>
   271 <functions>
   272     <function access="private" specifier="non virtual">init()</function>
   273     <function returnType="bool">deleteXLink()</function>
   274     <function returnType="bool">useSettingsGlobal()</function>
   275 </functions>
   276 <pixmapinproject/>
   277 <layoutdefaults spacing="6" margin="11"/>
   278 </UI>