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)
 
        self.styleActionGroup = QActionGroup(self)
        for styleName in QStyleFactory.keys():
            action = QAction(self.styleActionGroup,
                    text="%s Style" % styleName, checkable=True,

src/p/y/pyqt5-HEAD/examples/graphicsview/embeddeddialogs/embeddeddialogs.py   pyqt5(Download)
        self.ui.layoutDirection.setCurrentIndex(self.layoutDirection() != Qt.LeftToRight)
 
        for styleName in QStyleFactory.keys():
            self.ui.style.addItem(styleName)
            if self.style().objectName().lower() == styleName.lower():

src/p/y/pyqt5-HEAD/examples/widgets/styles.py   pyqt5(Download)
 
        styleComboBox = QComboBox()
        styleComboBox.addItems(QStyleFactory.keys())
 
        styleLabel = QLabel("&Style:")

src/p/y/pyqt5-HEAD/examples/widgets/stylesheet/stylesheeteditor.py   pyqt5(Download)
            defaultStyle = regExp.cap(1)
 
        self.ui.styleCombo.addItems(QStyleFactory.keys())
        self.ui.styleCombo.setCurrentIndex(
                self.ui.styleCombo.findText(defaultStyle, Qt.MatchContains))