editxlinkdialog.ui
author insilmaril
Fri, 01 May 2009 10:30:29 +0000
changeset 763 8c028a5d9083
parent 383 bf5ba1bd4764
child 775 6e4b586aa88a
permissions -rw-r--r--
add above/below
     1 <ui version="4.0" >
     2  <author></author>
     3  <comment></comment>
     4  <exportmacro></exportmacro>
     5  <class>EditXLinkDialog</class>
     6  <widget class="QDialog" name="EditXLinkDialog" >
     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="windowTitle" >
    24    <string>Edit XLink</string>
    25   </property>
    26   <layout class="QVBoxLayout" >
    27    <property name="margin" >
    28     <number>11</number>
    29    </property>
    30    <property name="spacing" >
    31     <number>6</number>
    32    </property>
    33    <item>
    34     <layout class="QGridLayout" >
    35      <property name="margin" >
    36       <number>0</number>
    37      </property>
    38      <property name="spacing" >
    39       <number>6</number>
    40      </property>
    41      <item row="0" column="1" >
    42       <widget class="QSpinBox" name="widthBox" >
    43        <property name="sizePolicy" >
    44         <sizepolicy>
    45          <hsizetype>0</hsizetype>
    46          <vsizetype>0</vsizetype>
    47          <horstretch>0</horstretch>
    48          <verstretch>0</verstretch>
    49         </sizepolicy>
    50        </property>
    51        <property name="maximum" >
    52         <number>15</number>
    53        </property>
    54        <property name="minimum" >
    55         <number>1</number>
    56        </property>
    57       </widget>
    58      </item>
    59      <item row="0" column="0" >
    60       <widget class="QLabel" name="textLabel1" >
    61        <property name="text" >
    62         <string>XLink width:</string>
    63        </property>
    64        <property name="alignment" >
    65         <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
    66        </property>
    67       </widget>
    68      </item>
    69      <item row="1" column="4" >
    70       <widget class="QPushButton" name="setColorHeadingButton" >
    71        <property name="maximumSize" >
    72         <size>
    73          <width>32767</width>
    74          <height>20</height>
    75         </size>
    76        </property>
    77        <property name="text" >
    78         <string>Set color of heading</string>
    79        </property>
    80       </widget>
    81      </item>
    82      <item row="1" column="1" >
    83       <widget class="QPushButton" name="colorButton" >
    84        <property name="enabled" >
    85         <bool>true</bool>
    86        </property>
    87        <property name="maximumSize" >
    88         <size>
    89          <width>50</width>
    90          <height>20</height>
    91         </size>
    92        </property>
    93        <property name="text" >
    94         <string/>
    95        </property>
    96       </widget>
    97      </item>
    98      <item row="2" column="1" colspan="2" >
    99       <widget class="QCheckBox" name="useSettings" >
   100        <property name="text" >
   101         <string/>
   102        </property>
   103       </widget>
   104      </item>
   105      <item row="1" column="0" >
   106       <widget class="QLabel" name="textLabel2" >
   107        <property name="text" >
   108         <string>XLink color:</string>
   109        </property>
   110        <property name="alignment" >
   111         <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
   112        </property>
   113       </widget>
   114      </item>
   115      <item row="1" column="2" colspan="2" >
   116       <spacer>
   117        <property name="orientation" >
   118         <enum>Qt::Horizontal</enum>
   119        </property>
   120        <property name="sizeType" >
   121         <enum>QSizePolicy::Expanding</enum>
   122        </property>
   123        <property name="sizeHint" >
   124         <size>
   125          <width>285</width>
   126          <height>20</height>
   127         </size>
   128        </property>
   129       </spacer>
   130      </item>
   131      <item row="0" column="2" colspan="2" >
   132       <spacer>
   133        <property name="orientation" >
   134         <enum>Qt::Horizontal</enum>
   135        </property>
   136        <property name="sizeType" >
   137         <enum>QSizePolicy::Expanding</enum>
   138        </property>
   139        <property name="sizeHint" >
   140         <size>
   141          <width>280</width>
   142          <height>20</height>
   143         </size>
   144        </property>
   145       </spacer>
   146      </item>
   147      <item row="2" column="0" >
   148       <widget class="QLabel" name="textLabel1_2" >
   149        <property name="text" >
   150         <string>Use as default:</string>
   151        </property>
   152        <property name="alignment" >
   153         <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
   154        </property>
   155       </widget>
   156      </item>
   157      <item row="2" column="3" colspan="2" >
   158       <spacer>
   159        <property name="orientation" >
   160         <enum>Qt::Horizontal</enum>
   161        </property>
   162        <property name="sizeType" >
   163         <enum>QSizePolicy::Expanding</enum>
   164        </property>
   165        <property name="sizeHint" >
   166         <size>
   167          <width>241</width>
   168          <height>20</height>
   169         </size>
   170        </property>
   171       </spacer>
   172      </item>
   173     </layout>
   174    </item>
   175    <item>
   176     <spacer>
   177      <property name="orientation" >
   178       <enum>Qt::Vertical</enum>
   179      </property>
   180      <property name="sizeType" >
   181       <enum>QSizePolicy::Expanding</enum>
   182      </property>
   183      <property name="sizeHint" >
   184       <size>
   185        <width>20</width>
   186        <height>16</height>
   187       </size>
   188      </property>
   189     </spacer>
   190    </item>
   191    <item>
   192     <layout class="QHBoxLayout" >
   193      <property name="margin" >
   194       <number>0</number>
   195      </property>
   196      <property name="spacing" >
   197       <number>6</number>
   198      </property>
   199      <item>
   200       <widget class="QPushButton" name="deleteButton" >
   201        <property name="text" >
   202         <string>Quit and delete XLink</string>
   203        </property>
   204       </widget>
   205      </item>
   206      <item>
   207       <spacer>
   208        <property name="orientation" >
   209         <enum>Qt::Horizontal</enum>
   210        </property>
   211        <property name="sizeType" >
   212         <enum>QSizePolicy::Expanding</enum>
   213        </property>
   214        <property name="sizeHint" >
   215         <size>
   216          <width>100</width>
   217          <height>20</height>
   218         </size>
   219        </property>
   220       </spacer>
   221      </item>
   222      <item>
   223       <widget class="QPushButton" name="okButton" >
   224        <property name="text" >
   225         <string>Ok</string>
   226        </property>
   227       </widget>
   228      </item>
   229     </layout>
   230    </item>
   231   </layout>
   232  </widget>
   233  <layoutdefault spacing="6" margin="11" />
   234  <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
   235  <includes>
   236   <include location="local" >xlinkobj.h</include>
   237   <include location="local" >mapcenterobj.h</include>
   238   <include location="local" >linkablemapobj.h</include>
   239  </includes>
   240  <resources/>
   241  <connections>
   242   <connection>
   243    <sender>okButton</sender>
   244    <signal>clicked()</signal>
   245    <receiver>EditXLinkDialog</receiver>
   246    <slot>accept()</slot>
   247    <hints>
   248     <hint type="sourcelabel" >
   249      <x>338</x>
   250      <y>180</y>
   251     </hint>
   252     <hint type="destinationlabel" >
   253      <x>196</x>
   254      <y>102</y>
   255     </hint>
   256    </hints>
   257   </connection>
   258  </connections>
   259 </ui>