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

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

src/p/y/pymca-HEAD/PyMca5/PyMcaGui/physics/xrf/FitParamForm.py   pymca(Download)
        self.functionLabel = qt.QLabel(self.tabFit)
        self.functionLabel.setText("Fit Function")
        self.functionCombo.insertItem(str("Mca Hypermet"))
        self.functionCombo.insertItem(str("Mca Pseudo-Voigt"))
 
        self.weightCombo.insertItem = self.weightCombo.addItem
 
        self.weightCombo.insertItem(str("NO Weight"))
        self.weightCombo.insertItem(str("Poisson (1/Y)"))
        #self.weightCombo.insertItem(str("Poisson (1/Y2)"))
        self.contCombo.insertItem = self.contCombo.addItem
 
        self.contCombo.insertItem(str("NO Continuum"))
        self.contCombo.insertItem(str("Constant"))
        self.contCombo.insertItem(str("Linear"))

src/p/y/pymca-HEAD/PyMca5/PyMcaGui/physics/xrf/MaterialEditor.py   pymca(Download)
                insert = False
        if insert:
            self.insertItem(self.count(), qstring)
 
        self.sigMaterialComboBoxSignal.emit(ddict)

src/p/y/pymca-HEAD/PyMca5/PyMcaGui/physics/xrf/QPeriodicTable.py   pymca(Download)
            else:
                txt= "%2s (%d)"%(symbol, Z)
            self.insertItem(i,txt)
            i += 1
 

src/p/y/pymca-HEAD/PyMca5/PyMcaGui/physics/XASSelfattenuationWindow.py   pymca(Download)
        i = 0
        for key in Elements.Material.keys():
            self.materialWidget.insertItem(i + 1, qstring(key))
            i += 1
        self.materialWidget.setEditText("Fe")
        elementWidget = qt.QComboBox(self)
        for i, symbol in enumerate(Elements.ElementList[2:]):
            elementWidget.insertItem(i + 1,
                                         qstring(symbol + "(%d)" % (i+3)))
        edgeLabel = qt.QLabel(self)

src/p/y/pymca-HEAD/PyMca5/PyMcaGui/physics/xrf/McaAdvancedFit.py   pymca(Download)
        else:
            self.FunComBox = qt.QComboBox(w)
            self.FunComBox.insertItem(0, "Mca Hypermet")
            self.FunComBox.insertItem(1, "Mca Pseudo-Voigt")
        wlayout.addWidget(FunLabel,0,0)
                       'Exp. Polynomial']
            for item in options:
                self.BkgComBox.insertItem(options.index(item), item)
 
        self.FunComBox.activated[int].connect(self.mysignal)

src/p/y/pymca-HEAD/PyMca5/PyMcaGui/io/QSpsWidget.py   pymca(Download)
        self.plotCombo.setEditable(0)
        if QTVERSION < '4.0.0':
            self.plotCombo.insertItem("Rows")
            self.plotCombo.insertItem("Columns")
        else: