code: def eventFilter( self, object, event ):
          
          if ( object != self.uiShortcutTXT ):
              return False
              
          if ( event.type() == event.KeyPress ):
              seq = QKeySequence(event.key() + int(event.modifiers()))
              self.uiShortcutTXT.setText( seq.toString() )
              return True
              
          elif ( event.type() == event.KeyRelease):
              return True
          
          return False
docs: Filters out key press events for the shortcut section for this edit.
          
          :param      object | <QObject>
                      event  | <QEvent>