From: Pascale Noyret Date: Tue, 23 Oct 2012 09:40:07 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: LOGILAB~47 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=fec11eaaa64e6f1e940770f7f6fe3c4665eca6bb;p=tools%2Feficas.git *** empty log message *** --- diff --git a/InterfaceQT4/qtCommun.py b/InterfaceQT4/qtCommun.py index 4a3d474b..81713bda 100644 --- a/InterfaceQT4/qtCommun.py +++ b/InterfaceQT4/qtCommun.py @@ -44,6 +44,12 @@ class QTPanel: if hasattr(self,'TWChoix'): self.connect(self.TWChoix, SIGNAL("currentChanged(QWidget *)"), self.GestionBALpha) + def keyReleaseEvent(self,event): + if event.matches(QKeySequence.Copy): self.editor.appliEficas.editCopy() + if event.matches(QKeySequence.Cut): self.editor.appliEficas.editCut() + if event.matches(QKeySequence.Paste): self.editor.appliEficas.editPaste() + + def GestionBALpha(self,fenetre): if self.TWChoix.currentIndex()!=0: if hasattr(self,'BAlpha'): #pour include materiau