From fec11eaaa64e6f1e940770f7f6fe3c4665eca6bb Mon Sep 17 00:00:00 2001 From: Pascale Noyret Date: Tue, 23 Oct 2012 09:40:07 +0000 Subject: [PATCH] *** empty log message *** --- InterfaceQT4/qtCommun.py | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- 2.39.2