mcsas.gui.modelwidget module

class ModelWidget(parent, calculator, *args)[source]

Bases: gui.algorithmwidget.AlgorithmWidget

algorithm
model
onDataSelected(dataobj)[source]

Gets the data which is currently selected in the UI and rebuilds the model selection box based on compatible models.

restoreSession(model=None)[source]

Load last known user settings from persistent app settings.

selectModel(model)[source]

model: string containing the name of the model to select. Calls _selectModelSlot() via signal.

setSphericalSizeRange(minVal, maxVal)[source]

Warning

method ‘gui.modelwidget.ModelWidget.setSphericalSizeRange’ undocumented

setStatsWidget(statsWidget)[source]

Sets the statistics widget to use for updating ranges.

storeSession(section=None)[source]

Warning

method ‘gui.modelwidget.ModelWidget.storeSession’ undocumented