ViewManager/ViewManager.py

changeset 5900
cd90bfdc1247
parent 5742
dc9cd8059221
child 5905
f31960634997
equal deleted inserted replaced
5899:0516f6548ca6 5900:cd90bfdc1247
82 """ 82 """
83 self.gotFocus.emit() 83 self.gotFocus.emit()
84 super(QuickSearchLineEdit, self).focusInEvent(evt) # pass it on 84 super(QuickSearchLineEdit, self).focusInEvent(evt) # pass it on
85 85
86 86
87 # TODO: add an action to show code info for the object under the cursor (Ctrl-Alt-I)
87 class ViewManager(QWidget): 88 class ViewManager(QWidget):
88 """ 89 """
89 Base class inherited by all specific viewmanager classes. 90 Base class inherited by all specific viewmanager classes.
90 91
91 It defines the interface to be implemented by specific 92 It defines the interface to be implemented by specific
6780 """ 6781 """
6781 editor = self.activeWindow() 6782 editor = self.activeWindow()
6782 if editor: 6783 if editor:
6783 editor.sortLines() 6784 editor.sortLines()
6784 6785
6786 def showEditorInfo(self, editor):
6787 """
6788 Public method to show some information for a given editor.
6789
6790 @param editor editor to show information text for
6791 @type Editor
6792 """
6793 # TODO: implement CodeDocumentationViewer
6794 self.ui.documentationViewer().showInfo(editor)
6795
6785 ################################################################## 6796 ##################################################################
6786 ## Below are protected utility methods 6797 ## Below are protected utility methods
6787 ################################################################## 6798 ##################################################################
6788 6799
6789 def _getOpenStartDir(self): 6800 def _getOpenStartDir(self):

eric ide

mercurial