--- a/Preferences/ConfigurationPages/HelpFlashCookieManagerPage.ui Wed Nov 25 19:01:45 2015 +0100 +++ b/Preferences/ConfigurationPages/HelpFlashCookieManagerPage.ui Thu Nov 26 19:47:09 2015 +0100 @@ -36,24 +36,15 @@ <property name="title"> <string>Flash Data Path</string> </property> - <layout class="QGridLayout" name="gridLayout_2"> - <item row="0" column="0"> - <widget class="QLineEdit" name="flashDataPathEdit"/> - </item> - <item row="0" column="1"> - <widget class="QToolButton" name="flashDataPathButton"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="text"> - <string/> + <layout class="QVBoxLayout" name="verticalLayout_2"> + <item> + <widget class="E5PathPicker" name="flashDataPathPicker" native="true"> + <property name="focusPolicy"> + <enum>Qt::StrongFocus</enum> </property> </widget> </item> - <item row="1" column="0" colspan="2"> + <item> <widget class="QLabel" name="label"> <property name="text"> <string><b>Note</b>: You should select the directory that contains #SharedObject as a subfolder.</string> @@ -193,9 +184,16 @@ </item> </layout> </widget> + <customwidgets> + <customwidget> + <class>E5PathPicker</class> + <extends>QWidget</extends> + <header>E5Gui/E5PathPicker.h</header> + <container>1</container> + </customwidget> + </customwidgets> <tabstops> - <tabstop>flashDataPathEdit</tabstop> - <tabstop>flashDataPathButton</tabstop> + <tabstop>flashDataPathPicker</tabstop> <tabstop>autoModeGroup</tabstop> <tabstop>notificationGroup</tabstop> <tabstop>deleteGroup</tabstop>