UI/FindFileNameDialog.ui

changeset 4589
b648ccbdbef9
parent 3186
a05eff845522
diff -r 9221c0c5c66f -r b648ccbdbef9 UI/FindFileNameDialog.ui
--- a/UI/FindFileNameDialog.ui	Sun Nov 29 13:21:15 2015 +0100
+++ b/UI/FindFileNameDialog.ui	Sun Nov 29 14:33:38 2015 +0100
@@ -13,7 +13,7 @@
   <property name="windowTitle">
    <string>Find File</string>
   </property>
-  <layout class="QVBoxLayout">
+  <layout class="QVBoxLayout" name="verticalLayout">
    <item>
     <widget class="QLabel" name="textLabel1">
      <property name="text">
@@ -59,7 +59,7 @@
     </layout>
    </item>
    <item>
-    <layout class="QHBoxLayout">
+    <layout class="QHBoxLayout" name="horizontalLayout">
      <item>
       <widget class="QCheckBox" name="searchDirCheckBox">
        <property name="enabled">
@@ -74,19 +74,21 @@
       </widget>
      </item>
      <item>
-      <widget class="QLineEdit" name="searchDirEdit">
+      <widget class="E5PathPicker" name="searchDirPicker" 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 directory, the file should be searched in</string>
        </property>
       </widget>
      </item>
-     <item>
-      <widget class="QToolButton" name="searchDirButton">
-       <property name="toolTip">
-        <string>Press to select the directory, the file should be searched in</string>
-       </property>
-      </widget>
-     </item>
     </layout>
    </item>
    <item>
@@ -151,11 +153,18 @@
    </item>
   </layout>
  </widget>
+ <customwidgets>
+  <customwidget>
+   <class>E5PathPicker</class>
+   <extends>QWidget</extends>
+   <header>E5Gui/E5PathPicker.h</header>
+   <container>1</container>
+  </customwidget>
+ </customwidgets>
  <tabstops>
   <tabstop>fileNameEdit</tabstop>
   <tabstop>fileExtEdit</tabstop>
-  <tabstop>searchDirEdit</tabstop>
-  <tabstop>searchDirButton</tabstop>
+  <tabstop>searchDirPicker</tabstop>
   <tabstop>searchDirCheckBox</tabstop>
   <tabstop>projectCheckBox</tabstop>
   <tabstop>syspathCheckBox</tabstop>

eric ide

mercurial