eric6/UI/SearchWidget.py

branch
without_py2_and_pyqt4
changeset 7206
74666c6679af
parent 6987
3371a03ed0a7
child 7229
53054eb5b15a
--- a/eric6/UI/SearchWidget.py	Mon Sep 02 18:58:29 2019 +0200
+++ b/eric6/UI/SearchWidget.py	Tue Sep 03 19:27:46 2019 +0200
@@ -27,8 +27,7 @@
     searchNext = pyqtSignal(str, bool, bool, bool)
     searchPrevious = pyqtSignal(str, bool, bool, bool)
     
-    def __init__(self, mainWindow, parent=None, spacer=True, showLine=False,
-                 hideRegExp=False):
+    def __init__(self, mainWindow, parent=None, spacer=True, showLine=False):
         """
         Constructor
         
@@ -41,8 +40,6 @@
         @type bool
         @param showLine flag indicating to show all widget in one row
         @type bool
-        @param hideRegExp flag indicating to hide the Regexp checkbox
-        @type bool
         """
         super(SearchWidget, self).__init__(parent)
         
@@ -54,10 +51,6 @@
             self.__ui = Ui_SearchWidget()
         self.__ui.setupUi(self)
         
-        if hideRegExp:
-            self.__ui.regexpCheckBox.setChecked(False)
-            self.__ui.regexpCheckBox.hide()
-        
         if not showLine:
             if spacer:
                 spacerItem = QSpacerItem(

eric ide

mercurial