Пример #1
0
 def actionEvent(self, event):
     QToolButton.actionEvent(self, event)
     if event.type() == QEvent.ActionChanged or \
             event.type() == QEvent.ActionAdded:
         self.__textLayout()
Пример #2
0
 def actionEvent(self, event):
     QToolButton.actionEvent(self, event)
     if event.type() == QEvent.ActionChanged or \
             event.type() == QEvent.ActionAdded:
         self.__textLayout()