227 self.__enableFindButton() |
227 self.__enableFindButton() |
228 |
228 |
229 @pyqtSlot() |
229 @pyqtSlot() |
230 def on_projectButton_clicked(self): |
230 def on_projectButton_clicked(self): |
231 """ |
231 """ |
232 Private slot to handle the selection of the project radio button. |
232 Private slot to handle the selection of the 'Project' radio button. |
233 """ |
233 """ |
234 self.__enableFindButton() |
234 self.__enableFindButton() |
235 |
235 |
236 @pyqtSlot() |
236 @pyqtSlot() |
237 def on_dirButton_clicked(self): |
237 def on_dirButton_clicked(self): |
238 """ |
238 """ |
239 Private slot to handle the selection of the project radio button. |
239 Private slot to handle the selection of the 'Directory' radio button. |
240 """ |
240 """ |
241 self.__enableFindButton() |
241 self.__enableFindButton() |
242 |
242 |
|
243 @pyqtSlot() |
|
244 def on_openFilesButton_clicked(self): |
|
245 """ |
|
246 Private slot to handle the selection of the 'Open Files' radio button. |
|
247 """ |
|
248 self.__enableFindButton() |
|
249 |
243 @pyqtSlot() |
250 @pyqtSlot() |
244 def on_filterCheckBox_clicked(self): |
251 def on_filterCheckBox_clicked(self): |
245 """ |
252 """ |
246 Private slot to handle the selection of the file filter check box. |
253 Private slot to handle the selection of the file filter check box. |
247 """ |
254 """ |
248 self.__enableFindButton() |
255 self.__enableFindButton() |
249 |
256 |
250 @pyqtSlot(str) |
257 @pyqtSlot(str) |
251 def on_filterEdit_textEdited(self, text): |
258 def on_filterEdit_textEdited(self, text): |
252 """ |
259 """ |
253 Private slot to handle the textChanged signal of the file filter edit. |
260 Private slot to handle the textChanged signal of the file filter edit. |
254 |
261 |
255 @param text (ignored) |
262 @param text (ignored) |
256 """ |
263 """ |
257 self.__enableFindButton() |
264 self.__enableFindButton() |
258 |
265 |
259 def __enableFindButton(self): |
266 def __enableFindButton(self): |
260 """ |
267 """ |
261 Private slot called to enable the find button. |
268 Private slot called to enable the find button. |
262 """ |
269 """ |
263 if self.findtextCombo.currentText() == "" or \ |
270 if self.findtextCombo.currentText() == "" or \ |