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/pymca-HEAD/PyMca5/PyMcaGui/physics/xrf/FitPeakSelect.py   pymca(Download)
    def paintEvent(self, pEvent):
        if QTVERSION < '4.0.0':
            qt.QPushButton.paintEvent(self, pEvent)
        else:
            p = qt.QPainter(self)
            p.drawRoundRect(pr)
            p.end()
            qt.QPushButton.paintEvent(self, pEvent)
 
    def drawButton(self, p):

src/p/y/pymca-HEAD/PyMca5/PyMcaGui/physics/xrf/QPeriodicTable.py   pymca(Download)
        p.drawRect(pr)
        p.end()
        qt.QPushButton.paintEvent(self, pEvent)
 
    def drawButton(self, p):