Preferences/ConfigurationPages/PluginManagerPage.ui

changeset 4577
e79a139aacc4
parent 3200
83bde5e6f146
child 5384
22c15d7e2cad
diff -r a258569d44db -r e79a139aacc4 Preferences/ConfigurationPages/PluginManagerPage.ui
--- a/Preferences/ConfigurationPages/PluginManagerPage.ui	Thu Nov 26 19:47:09 2015 +0100
+++ b/Preferences/ConfigurationPages/PluginManagerPage.ui	Fri Nov 27 20:06:52 2015 +0100
@@ -41,19 +41,21 @@
       </widget>
      </item>
      <item>
-      <widget class="QLineEdit" name="downloadDirEdit">
+      <widget class="E5PathPicker" name="downloadDirPicker" 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 plugins download directory</string>
        </property>
       </widget>
      </item>
-     <item>
-      <widget class="QToolButton" name="downloadDirButton">
-       <property name="toolTip">
-        <string>Select the plugins download directory via a directory selection dialog</string>
-       </property>
-      </widget>
-     </item>
     </layout>
    </item>
    <item>
@@ -233,9 +235,16 @@
    </item>
   </layout>
  </widget>
+ <customwidgets>
+  <customwidget>
+   <class>E5PathPicker</class>
+   <extends>QWidget</extends>
+   <header>E5Gui/E5PathPicker.h</header>
+   <container>1</container>
+  </customwidget>
+ </customwidgets>
  <tabstops>
-  <tabstop>downloadDirEdit</tabstop>
-  <tabstop>downloadDirButton</tabstop>
+  <tabstop>downloadDirPicker</tabstop>
   <tabstop>generationsSpinBox</tabstop>
   <tabstop>keepHiddenCheckBox</tabstop>
   <tabstop>activateExternalPluginsCheckBox</tabstop>

eric ide

mercurial