527 |
527 |
528 def event(self, evt): |
528 def event(self, evt): |
529 """ |
529 """ |
530 Public method handling events. |
530 Public method handling events. |
531 |
531 |
532 @param evt reference to the event (QEvent) |
532 @param evt reference to the event |
533 @return flag indicating, if the event was handled (boolean) |
533 @type QEvent |
|
534 @return flag indicating, if the event was handled |
|
535 @rtype bool |
534 """ |
536 """ |
535 if evt.type() == QEvent.Type.Gesture: |
537 if evt.type() == QEvent.Type.Gesture: |
536 self._gestureEvent(evt) |
538 self._gestureEvent(evt) |
537 return True |
539 return True |
538 |
540 |