--- a/Plugins/VcsPlugins/vcsSubversion/SvnPropSetDialog.ui Sun Mar 30 22:00:14 2014 +0200 +++ b/Plugins/VcsPlugins/vcsSubversion/SvnPropSetDialog.ui Thu Apr 03 23:05:31 2014 +0200 @@ -1,7 +1,8 @@ -<ui version="4.0" > +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0"> <class>SvnPropSetDialog</class> - <widget class="QDialog" name="SvnPropSetDialog" > - <property name="geometry" > + <widget class="QDialog" name="SvnPropSetDialog"> + <property name="geometry"> <rect> <x>0</x> <y>0</y> @@ -9,25 +10,25 @@ <height>385</height> </rect> </property> - <property name="windowTitle" > + <property name="windowTitle"> <string>Set Subversion Property</string> </property> - <property name="sizeGripEnabled" > + <property name="sizeGripEnabled"> <bool>true</bool> </property> - <layout class="QVBoxLayout" > + <layout class="QVBoxLayout"> <item> - <layout class="QHBoxLayout" > + <layout class="QHBoxLayout"> <item> - <widget class="QLabel" name="textLabel1" > - <property name="text" > + <widget class="QLabel" name="textLabel1"> + <property name="text"> <string>Property Name:</string> </property> </widget> </item> <item> - <widget class="QLineEdit" name="propNameEdit" > - <property name="toolTip" > + <widget class="QLineEdit" name="propNameEdit"> + <property name="toolTip"> <string>Enter the name of the property to be set</string> </property> </widget> @@ -35,64 +36,61 @@ </layout> </item> <item> - <widget class="QGroupBox" name="groupBox" > - <property name="title" > + <widget class="QGroupBox" name="groupBox"> + <property name="title"> <string>Select property source</string> </property> - <layout class="QGridLayout" > - <item row="2" column="0" colspan="2" > - <widget class="QRadioButton" name="fileRadioButton" > - <property name="focusPolicy" > + <layout class="QGridLayout"> + <item row="2" column="0" colspan="2"> + <widget class="QRadioButton" name="fileRadioButton"> + <property name="focusPolicy"> <enum>Qt::NoFocus</enum> </property> - <property name="text" > + <property name="text"> <string>File</string> </property> </widget> </item> - <item row="0" column="0" colspan="2" > - <widget class="QRadioButton" name="textRadioButton" > - <property name="text" > + <item row="0" column="0" colspan="2"> + <widget class="QRadioButton" name="textRadioButton"> + <property name="text"> <string>Text</string> </property> - <property name="checked" > + <property name="checked"> <bool>true</bool> </property> </widget> </item> - <item row="1" column="0" colspan="2" > - <widget class="QTextEdit" name="propTextEdit" > - <property name="toolTip" > + <item row="1" column="0" colspan="2"> + <widget class="QTextEdit" name="propTextEdit"> + <property name="toolTip"> <string>Enter text of the property</string> </property> - <property name="tabChangesFocus" > + <property name="tabChangesFocus"> <bool>true</bool> </property> - <property name="acceptRichText" > + <property name="acceptRichText"> <bool>false</bool> </property> </widget> </item> - <item row="3" column="1" > - <widget class="QPushButton" name="fileButton" > - <property name="enabled" > + <item row="3" column="0"> + <widget class="QLineEdit" name="propFileEdit"> + <property name="enabled"> <bool>false</bool> </property> - <property name="toolTip" > - <string>Press to select the file via a file selection dialog</string> - </property> - <property name="text" > - <string>...</string> + <property name="toolTip"> + <string>Enter the name of a file for the property</string> </property> </widget> </item> - <item row="3" column="0" > - <widget class="QLineEdit" name="propFileEdit" > - <property name="enabled" > + <item row="3" column="1"> + <widget class="QToolButton" name="fileButton"> + <property name="enabled"> <bool>false</bool> </property> - <property name="toolTip" > - <string>Enter the name of a file for the property</string> + <property name="toolTip"> + <string>Press to select the file via a file selection dialog</string> </property> </widget> </item> @@ -100,18 +98,18 @@ </widget> </item> <item> - <widget class="QDialogButtonBox" name="buttonBox" > - <property name="orientation" > + <widget class="QDialogButtonBox" name="buttonBox"> + <property name="orientation"> <enum>Qt::Horizontal</enum> </property> - <property name="standardButtons" > + <property name="standardButtons"> <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> </property> </widget> </item> </layout> </widget> - <layoutdefault spacing="6" margin="6" /> + <layoutdefault spacing="6" margin="6"/> <pixmapfunction>qPixmapFromMimeSource</pixmapfunction> <tabstops> <tabstop>propNameEdit</tabstop> @@ -128,11 +126,11 @@ <receiver>propTextEdit</receiver> <slot>setEnabled(bool)</slot> <hints> - <hint type="sourcelabel" > + <hint type="sourcelabel"> <x>49</x> <y>78</y> </hint> - <hint type="destinationlabel" > + <hint type="destinationlabel"> <x>76</x> <y>140</y> </hint> @@ -144,43 +142,27 @@ <receiver>propFileEdit</receiver> <slot>setEnabled(bool)</slot> <hints> - <hint type="sourcelabel" > + <hint type="sourcelabel"> <x>35</x> <y>287</y> </hint> - <hint type="destinationlabel" > + <hint type="destinationlabel"> <x>49</x> <y>319</y> </hint> </hints> </connection> <connection> - <sender>fileRadioButton</sender> - <signal>toggled(bool)</signal> - <receiver>fileButton</receiver> - <slot>setEnabled(bool)</slot> - <hints> - <hint type="sourcelabel" > - <x>454</x> - <y>290</y> - </hint> - <hint type="destinationlabel" > - <x>450</x> - <y>317</y> - </hint> - </hints> - </connection> - <connection> <sender>buttonBox</sender> <signal>accepted()</signal> <receiver>SvnPropSetDialog</receiver> <slot>accept()</slot> <hints> - <hint type="sourcelabel" > + <hint type="sourcelabel"> <x>67</x> <y>360</y> </hint> - <hint type="destinationlabel" > + <hint type="destinationlabel"> <x>74</x> <y>380</y> </hint> @@ -192,11 +174,11 @@ <receiver>SvnPropSetDialog</receiver> <slot>reject()</slot> <hints> - <hint type="sourcelabel" > + <hint type="sourcelabel"> <x>196</x> <y>367</y> </hint> - <hint type="destinationlabel" > + <hint type="destinationlabel"> <x>199</x> <y>385</y> </hint>