Esempio n. 1
0
 def keyPressEvent (self, event):
     if event.key() == Qt.Key_Escape:
         self.command.end_edit_item(True)
     else:
         QLineEdit.keyPressEvent(self, event)
Esempio n. 2
0
 def keyPressEvent(self, event):
     if event.key() == Qt.Key_Escape:
         self.command.end_edit_item(True)
     else:
         QLineEdit.keyPressEvent(self, event)
Esempio n. 3
0
 def __init__(self, command):
     QLineEdit.__init__(self)
     self.command = command
Esempio n. 4
0
 def __init__(self, command):
     QLineEdit.__init__(self)
     self.command = command