diff -r f0e48b3e31d4 -r 46be8d9c4dd8 Plugins/VcsPlugins/vcsPySvn/SvnCopyDialog.ui --- a/Plugins/VcsPlugins/vcsPySvn/SvnCopyDialog.ui Mon Nov 30 18:52:18 2015 +0100 +++ b/Plugins/VcsPlugins/vcsPySvn/SvnCopyDialog.ui Mon Nov 30 19:52:30 2015 +0100 @@ -7,7 +7,7 @@ <x>0</x> <y>0</y> <width>409</width> - <height>138</height> + <height>120</height> </rect> </property> <property name="windowTitle"> @@ -16,62 +16,56 @@ <property name="sizeGripEnabled"> <bool>true</bool> </property> - <layout class="QVBoxLayout"> - <item> - <layout class="QGridLayout"> - <item row="0" column="0"> - <widget class="QLabel" name="textLabel1"> - <property name="text"> - <string>Source:</string> - </property> - </widget> - </item> - <item row="0" column="1"> - <widget class="QLineEdit" name="sourceEdit"> - <property name="toolTip"> - <string>Shows the name of the source</string> - </property> - <property name="whatsThis"> - <string><b>Source name</b> + <layout class="QGridLayout" name="gridLayout"> + <item row="0" column="0"> + <widget class="QLabel" name="textLabel1"> + <property name="text"> + <string>Source:</string> + </property> + </widget> + </item> + <item row="0" column="1"> + <widget class="QLineEdit" name="sourceEdit"> + <property name="toolTip"> + <string>Shows the name of the source</string> + </property> + <property name="whatsThis"> + <string><b>Source name</b> <p>This field shows the name of the source.</p></string> - </property> - <property name="readOnly"> - <bool>true</bool> - </property> - </widget> - </item> - <item row="1" column="1"> - <widget class="QLineEdit" name="targetEdit"> - <property name="toolTip"> - <string>Enter the target name</string> - </property> - <property name="whatsThis"> - <string><b>Target name</b> + </property> + <property name="readOnly"> + <bool>true</bool> + </property> + </widget> + </item> + <item row="1" column="0"> + <widget class="QLabel" name="textLabel2"> + <property name="text"> + <string>Target:</string> + </property> + </widget> + </item> + <item row="1" column="1"> + <widget class="E5PathPicker" name="targetPicker" native="true"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="focusPolicy"> + <enum>Qt::StrongFocus</enum> + </property> + <property name="toolTip"> + <string>Enter the target name</string> + </property> + <property name="whatsThis"> + <string><b>Target name</b> <p>Enter the new name in this field. The target must be the new name or an absolute path.</p></string> - </property> - </widget> - </item> - <item row="1" column="0"> - <widget class="QLabel" name="textLabel2"> - <property name="text"> - <string>Target:</string> - </property> - </widget> - </item> - <item row="1" column="2"> - <widget class="QToolButton" name="dirButton"> - <property name="toolTip"> - <string>Press to open a selection dialog</string> - </property> - <property name="whatsThis"> - <string><b>Target name</b> -<p>Select the target name for the operation via a selection dialog.</p></string> - </property> - </widget> - </item> - </layout> + </property> + </widget> </item> - <item> + <item row="2" column="0" colspan="2"> <widget class="QCheckBox" name="forceCheckBox"> <property name="toolTip"> <string>Select to force the operation</string> @@ -81,7 +75,7 @@ </property> </widget> </item> - <item> + <item row="3" column="0" colspan="2"> <widget class="QDialogButtonBox" name="buttonBox"> <property name="orientation"> <enum>Qt::Horizontal</enum> @@ -95,12 +89,18 @@ </widget> <layoutdefault spacing="6" margin="6"/> <pixmapfunction>qPixmapFromMimeSource</pixmapfunction> + <customwidgets> + <customwidget> + <class>E5PathPicker</class> + <extends>QWidget</extends> + <header>E5Gui/E5PathPicker.h</header> + <container>1</container> + </customwidget> + </customwidgets> <tabstops> - <tabstop>targetEdit</tabstop> - <tabstop>dirButton</tabstop> + <tabstop>sourceEdit</tabstop> + <tabstop>targetPicker</tabstop> <tabstop>forceCheckBox</tabstop> - <tabstop>buttonBox</tabstop> - <tabstop>sourceEdit</tabstop> </tabstops> <resources/> <connections>