Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)

src/p/y/pyqt5-HEAD/examples/widgets/icons/icons.py   pyqt5(Download)
 
        action = self.sender()
        style = QStyleFactory.create(action.data())
        if not style:
            return
    def checkCurrentStyle(self):
        for action in self.styleActionGroup.actions():
            styleName = action.data()
            candidate = QStyleFactory.create(styleName)
 

src/p/y/pyqt5-HEAD/examples/graphicsview/embeddeddialogs/embeddeddialogs.py   pyqt5(Download)
    def styleChanged(self, styleName):
        style = QStyleFactory.create(styleName)
        if style:
            self.setStyleHelper(self, style)
 

src/p/y/pyqt5-HEAD/examples/widgets/styles.py   pyqt5(Download)
    def changeStyle(self, styleName):
        QApplication.setStyle(QStyleFactory.create(styleName))
        self.changePalette()
 
    def changePalette(self):