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

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

src/p/y/pyqt5-HEAD/examples/draganddrop/fridgemagnets/fridgemagnets.py   pyqt5(Download)
                y += wordLabel.height() + 2
 
        newPalette = self.palette()
        newPalette.setColor(QPalette.Window, Qt.white)
        self.setPalette(newPalette)

src/p/y/pyqt5-HEAD/examples/draganddrop/draggabletext/draggabletext.py   pyqt5(Download)
                y += wordLabel.height() + 2
 
        newPalette = self.palette()
        newPalette.setColor(QPalette.Window, Qt.white)
        self.setPalette(newPalette)

src/p/y/pyqt5-HEAD/examples/itemviews/stardelegate.py   pyqt5(Download)
    def paintEvent(self, event):
        painter = QPainter(self)
        self._starRating.paint(painter, self.rect(), self.palette(),
                StarRating.Editable)