diff -r 1d092be4fe33 -r 367d875453ed editxlinkdialog.ui --- a/editxlinkdialog.ui Wed May 18 07:39:51 2005 +0000 +++ b/editxlinkdialog.ui Wed Feb 27 16:09:06 2008 +0000 @@ -1,304 +1,259 @@ -<!DOCTYPE UI><UI version="3.3" stdsetdef="1"> -<class>EditXLinkDialog</class> -<widget class="QDialog"> - <property name="name"> - <cstring>EditXLinkDialog</cstring> - </property> - <property name="geometry"> - <rect> - <x>0</x> - <y>0</y> - <width>393</width> - <height>206</height> - </rect> - </property> - <property name="sizePolicy"> +<ui version="4.0" > + <author></author> + <comment></comment> + <exportmacro></exportmacro> + <class>EditXLinkDialog</class> + <widget class="QDialog" name="EditXLinkDialog" > + <property name="geometry" > + <rect> + <x>0</x> + <y>0</y> + <width>393</width> + <height>206</height> + </rect> + </property> + <property name="sizePolicy" > + <sizepolicy> + <hsizetype>5</hsizetype> + <vsizetype>5</vsizetype> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="windowTitle" > + <string>Edit XLink</string> + </property> + <layout class="QVBoxLayout" > + <property name="margin" > + <number>11</number> + </property> + <property name="spacing" > + <number>6</number> + </property> + <item> + <layout class="QGridLayout" > + <property name="margin" > + <number>0</number> + </property> + <property name="spacing" > + <number>6</number> + </property> + <item row="0" column="1" > + <widget class="QSpinBox" name="widthBox" > + <property name="sizePolicy" > <sizepolicy> - <hsizetype>5</hsizetype> - <vsizetype>5</vsizetype> - <horstretch>0</horstretch> - <verstretch>0</verstretch> + <hsizetype>0</hsizetype> + <vsizetype>0</vsizetype> + <horstretch>0</horstretch> + <verstretch>0</verstretch> </sizepolicy> - </property> - <property name="caption"> - <string>Edit XLink</string> - </property> - <vbox> - <property name="name"> - <cstring>unnamed</cstring> - </property> - <widget class="QLayoutWidget"> - <property name="name"> - <cstring>layout7</cstring> - </property> - <grid> - <property name="name"> - <cstring>unnamed</cstring> - </property> - <widget class="QSpinBox" row="0" column="1"> - <property name="name"> - <cstring>widthBox</cstring> - </property> - <property name="sizePolicy"> - <sizepolicy> - <hsizetype>0</hsizetype> - <vsizetype>0</vsizetype> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="maxValue"> - <number>15</number> - </property> - <property name="minValue"> - <number>1</number> - </property> - </widget> - <widget class="QLabel" row="0" column="0"> - <property name="name"> - <cstring>textLabel1</cstring> - </property> - <property name="text"> - <string>XLink width:</string> - </property> - <property name="alignment"> - <set>AlignVCenter|AlignRight</set> - </property> - </widget> - <widget class="QPushButton" row="1" column="4"> - <property name="name"> - <cstring>setColorHeadingButton</cstring> - </property> - <property name="maximumSize"> - <size> - <width>32767</width> - <height>20</height> - </size> - </property> - <property name="text"> - <string>Set color of heading</string> - </property> - </widget> - <widget class="QPushButton" row="1" column="1"> - <property name="name"> - <cstring>colorButton</cstring> - </property> - <property name="enabled"> - <bool>true</bool> - </property> - <property name="maximumSize"> - <size> - <width>50</width> - <height>20</height> - </size> - </property> - <property name="text"> - <string></string> - </property> - </widget> - <widget class="QCheckBox" row="2" column="1" rowspan="1" colspan="2"> - <property name="name"> - <cstring>useSettings</cstring> - </property> - <property name="text"> - <string></string> - </property> - </widget> - <widget class="QLabel" row="1" column="0"> - <property name="name"> - <cstring>textLabel2</cstring> - </property> - <property name="text"> - <string>XLink color:</string> - </property> - <property name="alignment"> - <set>AlignVCenter|AlignRight</set> - </property> - </widget> - <spacer row="1" column="2" rowspan="1" colspan="2"> - <property name="name"> - <cstring>spacer6</cstring> - </property> - <property name="orientation"> - <enum>Horizontal</enum> - </property> - <property name="sizeType"> - <enum>Expanding</enum> - </property> - <property name="sizeHint"> - <size> - <width>285</width> - <height>20</height> - </size> - </property> - </spacer> - <spacer row="0" column="2" rowspan="1" colspan="2"> - <property name="name"> - <cstring>spacer2</cstring> - </property> - <property name="orientation"> - <enum>Horizontal</enum> - </property> - <property name="sizeType"> - <enum>Expanding</enum> - </property> - <property name="sizeHint"> - <size> - <width>280</width> - <height>20</height> - </size> - </property> - </spacer> - <widget class="QLabel" row="2" column="0"> - <property name="name"> - <cstring>textLabel1_2</cstring> - </property> - <property name="text"> - <string>Use as default:</string> - </property> - <property name="alignment"> - <set>AlignVCenter|AlignRight</set> - </property> - </widget> - <spacer row="2" column="3" rowspan="1" colspan="2"> - <property name="name"> - <cstring>spacer9</cstring> - </property> - <property name="orientation"> - <enum>Horizontal</enum> - </property> - <property name="sizeType"> - <enum>Expanding</enum> - </property> - <property name="sizeHint"> - <size> - <width>241</width> - <height>20</height> - </size> - </property> - </spacer> - </grid> - </widget> - <spacer> - <property name="name"> - <cstring>spacer4</cstring> - </property> - <property name="orientation"> - <enum>Vertical</enum> - </property> - <property name="sizeType"> - <enum>Expanding</enum> - </property> - <property name="sizeHint"> - <size> - <width>20</width> - <height>16</height> - </size> - </property> - </spacer> - <widget class="QLayoutWidget"> - <property name="name"> - <cstring>layout4</cstring> - </property> - <hbox> - <property name="name"> - <cstring>unnamed</cstring> - </property> - <widget class="QPushButton"> - <property name="name"> - <cstring>deleteButton</cstring> - </property> - <property name="text"> - <string>Delete XLink</string> - </property> - </widget> - <spacer> - <property name="name"> - <cstring>spacer11</cstring> - </property> - <property name="orientation"> - <enum>Horizontal</enum> - </property> - <property name="sizeType"> - <enum>Expanding</enum> - </property> - <property name="sizeHint"> - <size> - <width>100</width> - <height>20</height> - </size> - </property> - </spacer> - <widget class="QPushButton"> - <property name="name"> - <cstring>okButton</cstring> - </property> - <property name="text"> - <string>Ok</string> - </property> - </widget> - </hbox> - </widget> - </vbox> -</widget> -<connections> - <connection> - <sender>okButton</sender> - <signal>clicked()</signal> - <receiver>EditXLinkDialog</receiver> - <slot>accept()</slot> - </connection> - <connection> - <sender>deleteButton</sender> - <signal>clicked()</signal> - <receiver>EditXLinkDialog</receiver> - <slot>deleteButtonPressed()</slot> - </connection> - <connection> - <sender>colorButton</sender> - <signal>clicked()</signal> - <receiver>EditXLinkDialog</receiver> - <slot>colorButtonPressed()</slot> - </connection> - <connection> - <sender>widthBox</sender> - <signal>valueChanged(int)</signal> - <receiver>EditXLinkDialog</receiver> - <slot>widthChanged(int)</slot> - </connection> - <connection> - <sender>setColorHeadingButton</sender> - <signal>clicked()</signal> - <receiver>EditXLinkDialog</receiver> - <slot>setColorHeadingButtonPressed()</slot> - </connection> -</connections> -<includes> - <include location="global" impldecl="in implementation">qcolordialog.h</include> - <include location="local" impldecl="in implementation">linkablemapobj.h</include> - <include location="local" impldecl="in declaration">xlinkobj.h</include> - <include location="local" impldecl="in declaration">mapcenterobj.h</include> - <include location="local" impldecl="in declaration">linkablemapobj.h</include> - <include location="local" impldecl="in implementation">editxlinkdialog.ui.h</include> -</includes> -<variables> - <variable access="private">LinkableMapObj *selection;</variable> - <variable access="private">XLinkObj *xlo;</variable> - <variable access="private">bool delink;</variable> -</variables> -<slots> - <slot access="protected">deleteButtonPressed()</slot> - <slot access="protected">widthChanged( int w )</slot> - <slot>setXLink( XLinkObj * xo )</slot> - <slot>setSelection( LinkableMapObj * s )</slot> - <slot access="protected">colorButtonPressed()</slot> - <slot access="protected">setColorHeadingButtonPressed()</slot> -</slots> -<functions> - <function access="private" specifier="non virtual">init()</function> - <function returnType="bool">deleteXLink()</function> - <function returnType="bool">useSettingsGlobal()</function> -</functions> -<pixmapinproject/> -<layoutdefaults spacing="6" margin="11"/> -</UI> + </property> + <property name="maximum" > + <number>15</number> + </property> + <property name="minimum" > + <number>1</number> + </property> + </widget> + </item> + <item row="0" column="0" > + <widget class="QLabel" name="textLabel1" > + <property name="text" > + <string>XLink width:</string> + </property> + <property name="alignment" > + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + </widget> + </item> + <item row="1" column="4" > + <widget class="QPushButton" name="setColorHeadingButton" > + <property name="maximumSize" > + <size> + <width>32767</width> + <height>20</height> + </size> + </property> + <property name="text" > + <string>Set color of heading</string> + </property> + </widget> + </item> + <item row="1" column="1" > + <widget class="QPushButton" name="colorButton" > + <property name="enabled" > + <bool>true</bool> + </property> + <property name="maximumSize" > + <size> + <width>50</width> + <height>20</height> + </size> + </property> + <property name="text" > + <string/> + </property> + </widget> + </item> + <item row="2" column="1" colspan="2" > + <widget class="QCheckBox" name="useSettings" > + <property name="text" > + <string/> + </property> + </widget> + </item> + <item row="1" column="0" > + <widget class="QLabel" name="textLabel2" > + <property name="text" > + <string>XLink color:</string> + </property> + <property name="alignment" > + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + </widget> + </item> + <item row="1" column="2" colspan="2" > + <spacer> + <property name="orientation" > + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeType" > + <enum>QSizePolicy::Expanding</enum> + </property> + <property name="sizeHint" > + <size> + <width>285</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + <item row="0" column="2" colspan="2" > + <spacer> + <property name="orientation" > + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeType" > + <enum>QSizePolicy::Expanding</enum> + </property> + <property name="sizeHint" > + <size> + <width>280</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + <item row="2" column="0" > + <widget class="QLabel" name="textLabel1_2" > + <property name="text" > + <string>Use as default:</string> + </property> + <property name="alignment" > + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + </widget> + </item> + <item row="2" column="3" colspan="2" > + <spacer> + <property name="orientation" > + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeType" > + <enum>QSizePolicy::Expanding</enum> + </property> + <property name="sizeHint" > + <size> + <width>241</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + </layout> + </item> + <item> + <spacer> + <property name="orientation" > + <enum>Qt::Vertical</enum> + </property> + <property name="sizeType" > + <enum>QSizePolicy::Expanding</enum> + </property> + <property name="sizeHint" > + <size> + <width>20</width> + <height>16</height> + </size> + </property> + </spacer> + </item> + <item> + <layout class="QHBoxLayout" > + <property name="margin" > + <number>0</number> + </property> + <property name="spacing" > + <number>6</number> + </property> + <item> + <widget class="QPushButton" name="deleteButton" > + <property name="text" > + <string>Quit and delete XLink</string> + </property> + </widget> + </item> + <item> + <spacer> + <property name="orientation" > + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeType" > + <enum>QSizePolicy::Expanding</enum> + </property> + <property name="sizeHint" > + <size> + <width>100</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + <item> + <widget class="QPushButton" name="okButton" > + <property name="text" > + <string>Ok</string> + </property> + </widget> + </item> + </layout> + </item> + </layout> + </widget> + <layoutdefault spacing="6" margin="11" /> + <pixmapfunction>qPixmapFromMimeSource</pixmapfunction> + <includes> + <include location="local" >xlinkobj.h</include> + <include location="local" >mapcenterobj.h</include> + <include location="local" >linkablemapobj.h</include> + </includes> + <resources/> + <connections> + <connection> + <sender>okButton</sender> + <signal>clicked()</signal> + <receiver>EditXLinkDialog</receiver> + <slot>accept()</slot> + <hints> + <hint type="sourcelabel" > + <x>338</x> + <y>180</y> + </hint> + <hint type="destinationlabel" > + <x>196</x> + <y>102</y> + </hint> + </hints> + </connection> + </connections> +</ui>