--- a/Preferences/ConfigurationPages/HelpInterfacePage.ui Sat Nov 28 19:47:23 2015 +0100 +++ b/Preferences/ConfigurationPages/HelpInterfacePage.ui Sat Nov 28 19:48:11 2015 +0100 @@ -32,7 +32,7 @@ </widget> </item> <item> - <layout class="QGridLayout"> + <layout class="QGridLayout" name="gridLayout"> <item row="0" column="0"> <widget class="QLabel" name="label_2"> <property name="text"> @@ -40,7 +40,7 @@ </property> </widget> </item> - <item row="0" column="1" colspan="2"> + <item row="0" column="1"> <widget class="QComboBox" name="styleComboBox"> <property name="toolTip"> <string>Select the interface style</string> @@ -55,19 +55,21 @@ </widget> </item> <item row="1" column="1"> - <widget class="QLineEdit" name="styleSheetEdit"> + <widget class="E5PathPicker" name="styleSheetPicker" 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 style sheet file</string> </property> </widget> </item> - <item row="1" column="2"> - <widget class="QToolButton" name="styleSheetButton"> - <property name="toolTip"> - <string>Select the style sheet file via a file selection dialog</string> - </property> - </widget> - </item> </layout> </item> <item> @@ -85,10 +87,16 @@ </item> </layout> </widget> + <customwidgets> + <customwidget> + <class>E5PathPicker</class> + <extends>QWidget</extends> + <header>E5Gui/E5PathPicker.h</header> + <container>1</container> + </customwidget> + </customwidgets> <tabstops> <tabstop>styleComboBox</tabstop> - <tabstop>styleSheetEdit</tabstop> - <tabstop>styleSheetButton</tabstop> </tabstops> <resources/> <connections/>