ViewManager/ViewManager.py

changeset 1490
ed6f2208297d
parent 1474
1eaec11a0078
child 1500
6ce6deb421cf
equal deleted inserted replaced
1488:de290ce82a75 1490:ed6f2208297d
4190 4190
4191 def __findFileName(self): 4191 def __findFileName(self):
4192 """ 4192 """
4193 Private method to handle the search for file action. 4193 Private method to handle the search for file action.
4194 """ 4194 """
4195 self.ui.findFileNameDialog.show() 4195 self.ui.showFindFileByNameDialog()
4196 self.ui.findFileNameDialog.raise_()
4197 self.ui.findFileNameDialog.activateWindow()
4198 4196
4199 def appFocusChanged(self, old, now): 4197 def appFocusChanged(self, old, now):
4200 """ 4198 """
4201 Public method to handle the global change of focus. 4199 Public method to handle the global change of focus.
4202 4200
4690 4688
4691 def __searchFiles(self): 4689 def __searchFiles(self):
4692 """ 4690 """
4693 Private method to handle the search in files action. 4691 Private method to handle the search in files action.
4694 """ 4692 """
4695 self.ui.findFilesDialog.show(self.textForFind()) 4693 self.ui.showFindFilesDialog(self.textForFind())
4696 self.ui.findFilesDialog.raise_()
4697 self.ui.findFilesDialog.activateWindow()
4698 4694
4699 def __replaceFiles(self): 4695 def __replaceFiles(self):
4700 """ 4696 """
4701 Private method to handle the replace in files action. 4697 Private method to handle the replace in files action.
4702 """ 4698 """
4703 self.ui.replaceFilesDialog.show(self.textForFind()) 4699 self.ui.showReplaceFilesDialog(self.textForFind())
4704 self.ui.replaceFilesDialog.raise_()
4705 self.ui.replaceFilesDialog.activateWindow()
4706 4700
4707 ################################################################## 4701 ##################################################################
4708 ## Below are the action methods for the view menu 4702 ## Below are the action methods for the view menu
4709 ################################################################## 4703 ##################################################################
4710 4704

eric ide

mercurial