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

All Samples(60)  |  Call(46)  |  Derive(14)  |  Import(0)

src/p/y/pymca-HEAD/PyMca5/PyMcaGui/physics/xrf/McaAdvancedFit.py   pymca(Download)
        FunLabel.setText(str("Function"))
        if QTVERSION < '4.0.0':
            self.FunComBox = qt.QComboBox(0,w,"FunComBox")
            self.FunComBox.insertStrList(["Mca Hypermet"])
            self.FunComBox.insertStrList(["Mca Pseudo-Voigt"])
        else:
            self.FunComBox = qt.QComboBox(w)
        BkgLabel.setText(str("Background"))
        if QTVERSION < '4.0.0':
            self.BkgComBox = qt.QComboBox(0,w,"BkgComBox")
            self.BkgComBox.insertStrList(['No Background',
                                          'Constant',
                                          'Exp. Polynomial'])
        else:
            self.BkgComBox = qt.QComboBox(w)
            options = ['No Background',
                       'Constant',

src/p/y/pymca-HEAD/PyMca5/PyMcaGui/math/fitting/SimpleFitControlWidget.py   pymca(Download)
        self.fitFunctionCheckBox = qt.QCheckBox(self)
        self.fitFunctionCheckBox.setText("Fit Function to be used")
        self.fitFunctionCombo    = qt.QComboBox(self)
        self.fitFunctionCombo.addItem(str("None"))
        self.fitFunctionCombo.activated[int].connect( \
        self.backgroundCheckBox = qt.QCheckBox(self)
        self.backgroundCheckBox.setText("Background function")
        self.backgroundCombo    = qt.QComboBox(self)
        self.backgroundCombo.addItem(str("None"))
        self.backgroundCombo.activated[int].connect( \
        self.stripCheckBox = qt.QCheckBox(self)
        self.stripCheckBox.setText("Non-analytical (or estimation) background algorithm")
        self.stripCombo    = qt.QComboBox(self)
        self.stripCombo.addItem(str("Strip"))
        self.stripCombo.addItem(str("SNIP"))
        self.fitAlgorithmLabel = qt.QLabel(self)
        self.fitAlgorithmLabel.setText("Fit algorithm")
        self.fitAlgorithmCombo = qt.QComboBox(self)
        self.fitAlgorithmCombo.addItem(str("Levenberg-Marquardt"))
        self.fitAlgorithmCombo.addItem(str("Linear Fit"))
        self.weightLabel = qt.QLabel(self)
        self.weightLabel.setText("Statistical weighting of data")
        self.weightCombo = qt.QComboBox(self)
        self.weightCombo.addItem(str("NO Weight"))
        self.weightCombo.addItem(str("Poisson (1/Y)"))

src/p/y/pymca-HEAD/PyMca5/PyMcaGui/io/QSpsWidget.py   pymca(Download)
        layout.addWidget(ylab, 2, 0, qt.Qt.AlignRight|qt.Qt.AlignTop)
 
        self.plotCombo= qt.QComboBox(self)
        self.plotCombo.setEditable(0)
        if QTVERSION < '4.0.0':
            self.plotCombo.addItem("Columns")
 
        self.xCombo= qt.QComboBox(self)
        self.xCombo.setEditable(0)
 
        # --- spec name selection
        specWidget= qt.QWidget(self)
        self.specCombo= qt.QComboBox(specWidget)
        self.specCombo.setEditable(0)
        if QTVERSION < '4.0.0':

src/p/y/pymca-HEAD/PyMca5/PyMcaGui/math/fitting/SimpleFitGui.py   pymca(Download)
        self.fitFunctionLabel.setFont(font)
        self.fitFunctionLabel.setText("Fit:")
        self.fitFunctionCombo = qt.QComboBox(self)
        self.fitFunctionCombo.addItem(qt.safe_str("None"))
        self.fitFunctionCombo.setSizeAdjustPolicy(qt.QComboBox.AdjustToContents)
        self.backgroundLabel.setFont(font)
        self.backgroundLabel.setText("Background:")
        self.backgroundCombo  = qt.QComboBox(self)
        self.backgroundCombo.addItem(qt.safe_str("None"))
        self.backgroundCombo.setSizeAdjustPolicy(qt.QComboBox.AdjustToContents)

src/p/y/pymca-HEAD/PyMca5/PyMcaGui/physics/xrf/FitParamForm.py   pymca(Download)
        layout5.setSpacing(6)
 
        self.functionCombo = qt.QComboBox(self.tabFit)
        self.functionCombo.insertItem = self.functionCombo.addItem
 
        self.weightLabel = qt.QLabel(self.tabFit)
        self.weightLabel.setText("Statistical weighting of data")
        self.weightCombo = qt.QComboBox(self.tabFit)
        self.weightCombo.insertItem = self.weightCombo.addItem
 
 
 
        self.contCombo = qt.QComboBox(self.tabFit)
        self.contCombo.insertItem = self.contCombo.addItem
 
        self.contCombo.insertItem(str("Exp. Polynomial"))
 
        self.stripCombo = qt.QComboBox(self.tabFit)
        self.stripCombo.insertItem = self.stripCombo.addItem
 
        detLayout.setContentsMargins(0, 0, 0, 0)
        detLayout.setSpacing(2)
        self.elementCombo = qt.QComboBox(self.tabDetector)
 
        self.elementCombo.insertItem(0, str("Si"))

src/p/y/pymca-HEAD/PyMca5/PyMcaGui/math/NNMAWindow.py   pymca(Download)
        self.binningLabel = qt.QLabel(self.speedOptions)
        self.binningLabel.setText("Spectral Binning:")
        self.binningCombo = qt.QComboBox(self.speedOptions)
        for option in options:
            self.binningCombo.addItem("%d" % option)

src/p/y/pymca-HEAD/PyMca5/PyMcaGui/physics/XASSelfattenuationWindow.py   pymca(Download)
        materialLabel = qt.QLabel(self)
        materialLabel.setText("Enter material name or formula")
        self.materialWidget = qt.QComboBox(self)
        self.materialWidget.setEditable(True)
        i = 0
        elementLabel = qt.QLabel(self)
        elementLabel.setText("Element")
        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)
        edgeLabel.setText("Edge")
        edgeWidget = qt.QComboBox(self)

src/p/y/pymca-HEAD/PyMca5/PyMcaGui/io/QSourceSelector.py   pymca(Download)
        fileWidgetLayout.setContentsMargins(0, 0, 0, 0)
        fileWidgetLayout.setSpacing(0)
        self.fileCombo  = qt.QComboBox(self.fileWidget)
        self.fileCombo.setEditable(0)
        self.mapCombo= {}

src/p/y/pymca-HEAD/PyMca5/PyMcaGui/math/fitting/FitConfigGui.py   pymca(Download)
        Layout2.setSpacing(6)
 
        self.BkgComBox = qt.QComboBox(self)
        self.BkgComBox.addItem(str("Add Background"))
 
        Layout2.addWidget(self.BkgLabel,1,0)
 
        self.FunComBox = qt.QComboBox(self)
        self.FunComBox.addItem(str("Add Function(s)"))
 

src/p/y/pymca-HEAD/PyMca5/PyMcaGui/io/QEdfFileWidget.py   pymca(Download)
        layout.addWidget(self.ylab, 2, 0, qt.Qt.AlignRight|qt.Qt.AlignTop)
 
        self.iCombo= qt.QComboBox(self)
        self.iCombo.setEditable(0)
 
        self.plotCombo= qt.QComboBox(self)

  1 | 2 | 3 | 4  Next