Пример #1
0
    def changeEvent(self, event):
        if event.type() == QEvent.FontChange:
            self._queuedWidget.setFont(self.font())

        QToolBar.changeEvent(self, event)
Пример #2
0
 def changeEvent(self, event: QtCore.QEvent) -> None:
     QToolBar.changeEvent(self, event)
     if event.type() == QtCore.QEvent.LanguageChange:
         self._restranslateUi()
Пример #3
0
    def changeEvent(self, event):
        if event.type() == QEvent.FontChange:
            self._queuedWidget.setFont(self.font())

        QToolBar.changeEvent(self, event)