コード例 #1
0
ファイル: base.py プロジェクト: impact27/spyder
 def focusInEvent(self, event):
     """Reimplemented to handle focus"""
     self.focus_changed.emit()
     self.focus_in.emit()
     self.highlight_current_cell()
     QPlainTextEdit.focusInEvent(self, event)
コード例 #2
0
 def focusInEvent(self, event):
     """Reimplemented to handle focus"""
     self.focus_changed.emit()
     self.focus_in.emit()
     self.highlight_current_cell()
     QPlainTextEdit.focusInEvent(self, event)
コード例 #3
0
 def focusInEvent(self, event):
     self.setOrigValue(self.text())
     return QPlainTextEdit.focusInEvent(self, event)