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

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

src/p/y/pymca-HEAD/PyMca5/PyMcaPlugins/MotorInfoWindow.py   pymca(Download)
    def __init__(self, parent, mlist, nCol):
        qt.QComboBox.__init__(self,  parent)
        self.motorNamesList = [""] + mlist
        self.nColumn = nCol
        self.addItems([QString(elem) for elem in self.motorNamesList])
        newMotorNamesList = [''] + newMotorNamesList
        self.motorNamesList = newMotorNamesList
        self.addItems([QString(elem) for elem in self.motorNamesList])
        newIndex = self.findText(currentMotorName)
        if newIndex < 0:

src/p/y/pymca-HEAD/PyMca5/PyMcaGui/physics/xrf/QPeriodicTable.py   pymca(Download)
            strlist.append(txt)
        qt.QComboBox.__init__(self)
        self.addItems(strlist)
        print("still to continue")
 

src/p/y/pymca-HEAD/PyMca5/PyMcaGui/pymca/XMCDWindow.py   pymca(Download)
        # ComboBoxes
        normMeth = qt.QComboBox()
        normMeth.addItems(['(y-min(y))/trapz(max(y)-min(y),x)',
                           'y/max(y)',
                           '(y-min(y))/(max(y)-min(y))',
            key = 'motor%d'%idx
            tmp = qt.QComboBox()
            tmp.addItems(mList)
            self.optsDict[key] = tmp
        # Subdivide into GroupBoxes
        }
        self.expCBox.addItems(
                        ['Generic Dichroism',
                         'ID08: XLD 9 Tesla Magnet',
                         'ID08: XLD 5 Tesla Magnet',

src/p/y/pymca-HEAD/PyMca5/PyMcaGui/pymca/SumRulesTool.py   pymca(Download)
                self.elementEConfCB = qt.QComboBox()
                self.elementEConfCB.setMinimumWidth(100)
                self.elementEConfCB.addItems(['']+self.electronConfs)
                self.elementEConfCB.currentIndexChanged['QString'].connect(self.setElectronConf)
                elementEConfLayout = qt.QHBoxLayout()
                self.elementCB = qt.QComboBox()
                self.elementCB.setMinimumWidth(100)
                self.elementCB.addItems([''])
                self.elementCB.currentIndexChanged['QString'].connect(self.getElementInfo)
                elementLayout = qt.QHBoxLayout()
                self.edge1CB = qt.QComboBox()
                self.edge1CB.setMinimumWidth(100)
                self.edge1CB.addItems([''])
                self.edge1Line = LineEditDisplay(self.edge1CB)
                edge1Layout = qt.QHBoxLayout()
                self.edge2CB = qt.QComboBox()
                self.edge2CB.setMinimumWidth(100)
                self.edge2CB.addItems([''])
                self.edge2Line = LineEditDisplay(self.edge2CB)
                edge2Layout = qt.QHBoxLayout()

src/p/y/pymca-HEAD/PyMca5/PyMcaPlugins/AdvancedAlignmentScanPlugin.py   pymca(Download)
        self.shiftMethodComboBox = qt.QComboBox()
        self.shiftMethodComboBox.addItems(
            ['Shift x-range',
            'Inverse FFT shift'])
        shiftMethodToolTip =\
        self.alignmentMethodComboBox = qt.QComboBox()
        self.alignmentMethodComboBox.addItems(
            ['FFT',
             'MAX',
             'FIT',