def __init__(self):
     Panel.__init__(self, dynamic=True)
     self.job_runner = DelayJobRunner(delay=500)
     Ui_SearchPanel.__init__(self)
     self.setupUi(self)
     self.toolButtonClose.clicked.connect(self.on_close)
     self.actionSearch.triggered.connect(self.on_search)
     self.actionActionSearchAndReplace.triggered.connect(
         self.on_search_and_replace)
     self.lineEditReplace.prompt_text = _(' Replace')
     #: Occurrences counter
     self.cpt_occurences = 0
     self._previous_stylesheet = ""
     self._separator = None
     self._decorations = []
     self._occurrences = []
     self._current_occurrence_index = 0
     self._bg = None
     self._fg = None
     self._update_buttons(txt="")
     self.lineEditSearch.installEventFilter(self)
     self.lineEditReplace.installEventFilter(self)
     self._init_actions()
     self._init_style()
     self.checkBoxRegex.stateChanged.connect(
         self.checkBoxWholeWords.setDisabled)
 def __init__(self):
     Panel.__init__(self, dynamic=True)
     self.job_runner = DelayJobRunner(delay=500)
     Ui_SearchPanel.__init__(self)
     self.setupUi(self)
     self.toolButtonClose.clicked.connect(self.on_close)
     self.actionSearch.triggered.connect(self.on_search)
     self.actionActionSearchAndReplace.triggered.connect(self.on_search_and_replace)
     self.lineEditReplace.prompt_text = _(' Replace')
     #: Occurrences counter
     self.cpt_occurences = 0
     self._previous_stylesheet = ""
     self._separator = None
     self._decorations = []
     self._occurrences = []
     self._current_occurrence_index = 0
     self._bg = None
     self._fg = None
     self._update_buttons(txt="")
     self.lineEditSearch.installEventFilter(self)
     self.lineEditReplace.installEventFilter(self)
     self._init_actions()
     self._init_style()
     self.checkBoxRegex.stateChanged.connect(
         self.checkBoxWholeWords.setDisabled)
 def __init__(self):
     Panel.__init__(self)
     self.job_runner = DelayJobRunner(delay=500)
     Ui_SearchPanel.__init__(self)
     self.setupUi(self)
     self.lineEditReplace.prompt_text = ' Replace'
     #: Occurrences counter
     self.cpt_occurences = 0
     self._previous_stylesheet = ""
     self._separator = None
     self._decorations = []
     self._occurrences = []
     self._current_occurrence_index = -1
     self._bg = None
     self._fg = None
     self._update_buttons(txt="")
     self.lineEditSearch.installEventFilter(self)
     self.lineEditReplace.installEventFilter(self)
     self._init_actions()
     self._init_style()
     self.checkBoxRegex.stateChanged.connect(
         self.checkBoxWholeWords.setDisabled)
Example #4
0
 def __init__(self):
     Panel.__init__(self)
     self.job_runner = DelayJobRunner(delay=500)
     Ui_SearchPanel.__init__(self)
     self.setupUi(self)
     self.lineEditReplace.prompt_text = ' Replace'
     #: Occurrences counter
     self.cpt_occurences = 0
     self._previous_stylesheet = ""
     self._separator = None
     self._decorations = []
     self._occurrences = []
     self._current_occurrence_index = -1
     self._bg = None
     self._fg = None
     self._update_buttons(txt="")
     self.lineEditSearch.installEventFilter(self)
     self.lineEditReplace.installEventFilter(self)
     self._init_actions()
     self._init_style()
     self.checkBoxRegex.stateChanged.connect(
         self.checkBoxWholeWords.setDisabled)