--- a/Preferences/ConfigurationPages/MultiProjectPage.ui Thu Nov 26 19:47:09 2015 +0100 +++ b/Preferences/ConfigurationPages/MultiProjectPage.ui Fri Nov 27 20:06:52 2015 +0100 @@ -7,7 +7,7 @@ <x>0</x> <y>0</y> <width>494</width> - <height>359</height> + <height>362</height> </rect> </property> <layout class="QVBoxLayout" name="verticalLayout"> @@ -38,21 +38,19 @@ </property> <layout class="QHBoxLayout" name="horizontalLayout"> <item> - <widget class="QLineEdit" name="workspaceEdit"> + <widget class="E5PathPicker" name="workspacePicker" 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 name of the workspace directory</string> </property> - <property name="whatsThis"> - <string><b>Workspace Directory</b> -<p>Enter the directory of the workspace. This directory is used as the default for opening or saving new files or projects.</p></string> - </property> - </widget> - </item> - <item> - <widget class="QToolButton" name="workspaceButton"> - <property name="toolTip"> - <string>Select the workspace directory via a directory selection button</string> - </property> </widget> </item> </layout> @@ -160,9 +158,16 @@ </item> </layout> </widget> + <customwidgets> + <customwidget> + <class>E5PathPicker</class> + <extends>QWidget</extends> + <header>E5Gui/E5PathPicker.h</header> + <container>1</container> + </customwidget> + </customwidgets> <tabstops> - <tabstop>workspaceEdit</tabstop> - <tabstop>workspaceButton</tabstop> + <tabstop>workspacePicker</tabstop> <tabstop>openMasterAutomaticallyCheckBox</tabstop> <tabstop>multiProjectTimestampCheckBox</tabstop> <tabstop>multiProjectRecentSpinBox</tabstop>