A QComboBox for use with FitContainer.
More...
|
| sigFitUpdated = QtCore.Signal(tuple) |
|
A QComboBox for use with FitContainer.
◆ __init__()
def fitsettings.FitSettingsComboBox.__init__ |
( |
|
self, |
|
|
|
args, |
|
|
|
kwargs |
|
) |
| |
Create a FitSettingxComboBox.
- Parameters
-
args | list(): positional arguments passed to QComboBox |
kwargs | dict(): keyword arguments passed to QComboBox |
◆ getCurrentFit()
def fitsettings.FitSettingsComboBox.getCurrentFit |
( |
|
self | ) |
|
Return name and fit dictionary for the current fit.
- Returns
- tuple(str, dict): name nad fit dict for current fit
◆ setCurrentFit()
def fitsettings.FitSettingsComboBox.setCurrentFit |
( |
|
self, |
|
|
|
name |
|
) |
| |
Set current fit by name.
'No Fit' if the name is invalid.
- Parameters
-
name | str: name of the fit to be set as current fit |
◆ setFitFunctions()
def fitsettings.FitSettingsComboBox.setFitFunctions |
( |
|
self, |
|
|
|
user_fits |
|
) |
| |
Set the fit functions that can be chosen in this combobox.
- Parameters
-
user_fits | dict: fit dictionary of configured fits |
The documentation for this class was generated from the following file: