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

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

src/p/y/pymca-HEAD/PyMca5/PyMcaGui/physics/xrf/McaCalWidget.py   pymca(Download)
    def setPaletteBackgroundColor(self, color):
        if QTVERSION < '4.0.0':
            qt.QLineEdit.setPaletteBackgroundColor(self,color)
        else:
            palette = qt.QPalette()

src/p/y/pymca-HEAD/PyMca5/PyMcaGui/physics/xrf/MatrixEditor.py   pymca(Download)
        def setPaletteBackgroundColor(self, color):
            qt.QLineEdit.setPaletteBackgroundColor(self, color)
 
    def __mySlot(self):
        qstring = self.text()

src/p/y/pymca-HEAD/PyMca5/PyMcaGui/physics/xrf/FitPeakSelect.py   pymca(Download)
    def focusInEvent(self,event):
        self.setPaletteBackgroundColor(qt.QColor('yellow'))
 
    def focusOutEvent(self,event):
        self.setPaletteBackgroundColor(qt.QColor('white'))

src/p/y/pymca-HEAD/PyMca5/PyMcaGui/plotting/ColormapDialog.py   pymca(Download)
    def focusInEvent(self,event):
        self.setPaletteBackgroundColor(qt.QColor('yellow'))
 
    def focusOutEvent(self,event):
        self.setPaletteBackgroundColor(qt.QColor('white'))

src/p/y/pymca-HEAD/PyMca5/PyMcaGui/physics/xrf/ConcentrationsWidget.py   pymca(Download)
    def _mySignal(self):
        self.setPaletteBackgroundColor(qt.QColor('white'))
        ddict = {}
        ddict['event'] = "returnPressed"
        self.sigMyQLineEditSignal.emit(ddict)