]> SALOME platform Git repositories - tools/eficas.git/commitdiff
Salome HOME
*** empty log message ***
authorPascale Noyret <pascale.noyret@edf.fr>
Tue, 23 Oct 2012 09:40:07 +0000 (09:40 +0000)
committerPascale Noyret <pascale.noyret@edf.fr>
Tue, 23 Oct 2012 09:40:07 +0000 (09:40 +0000)
InterfaceQT4/qtCommun.py

index 4a3d474bb56476df335f15aa96b7c53db54f6c6c..81713bda479ec2482c12ac3f93fa6351cc9c3b61 100644 (file)
@@ -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