コード例 #1
0
ファイル: toolgrid.py プロジェクト: www3838438/orange-canvas
 def actionEvent(self, event):
     QToolButton.actionEvent(self, event)
     if event.type() == QEvent.ActionChanged or \
             event.type() == QEvent.ActionAdded:
         self.__textLayout()
コード例 #2
0
ファイル: toolgrid.py プロジェクト: RachitKansal/orange3
 def actionEvent(self, event):
     QToolButton.actionEvent(self, event)
     if event.type() == QEvent.ActionChanged or \
             event.type() == QEvent.ActionAdded:
         self.__textLayout()