Ejemplo n.º 1
0
 def actionEvent(self, event):
     QToolButton.actionEvent(self, event)
     if event.type() == QEvent.ActionChanged or \
             event.type() == QEvent.ActionAdded:
         self.__textLayout()
Ejemplo n.º 2
0
 def actionEvent(self, event):
     QToolButton.actionEvent(self, event)
     if event.type() == QEvent.ActionChanged or \
             event.type() == QEvent.ActionAdded:
         self.__textLayout()