sas.qtgui.Perspectives.ParticleEditor.ParameterFunctionality package¶
Submodules¶
sas.qtgui.Perspectives.ParticleEditor.ParameterFunctionality.ParameterEntries module¶
- class sas.qtgui.Perspectives.ParticleEditor.ParameterFunctionality.ParameterEntries.MagneticParameterEntry(parameter: MagnetismParameterContainer, model: ParameterTableModel)¶
Bases:
ParameterEntry- staticMetaObject = PySide6.QtCore.QMetaObject("MagneticParameterEntry" inherits "ParameterEntry": )¶
- class sas.qtgui.Perspectives.ParticleEditor.ParameterFunctionality.ParameterEntries.ParameterEntry(parameter: Parameter, model: ParameterTableModel, base_size=50)¶
Bases:
QWidgetGUI Entry
- staticMetaObject = PySide6.QtCore.QMetaObject("ParameterEntry" inherits "QWidget": )¶
sas.qtgui.Perspectives.ParticleEditor.ParameterFunctionality.ParameterTable module¶
- class sas.qtgui.Perspectives.ParticleEditor.ParameterFunctionality.ParameterTable.ParameterTable(model: ParameterTableModel)¶
Bases:
QWidgetMain table of parameters
- build()¶
Build the list of parameters
- clean()¶
Clean up the unused parameters in the parameter list
- clear()¶
Clear the list of parameters
- rebuild()¶
Rebuild the parameter list
- staticMetaObject = PySide6.QtCore.QMetaObject("ParameterTable" inherits "QWidget": )¶
- update_contents(sld_function: SLDFunction, magnetism_function: MagnetismFunction | None)¶
Update the contents of the parameter table with new functions
- sas.qtgui.Perspectives.ParticleEditor.ParameterFunctionality.ParameterTable.main()¶
Show a demo of the table
sas.qtgui.Perspectives.ParticleEditor.ParameterFunctionality.ParameterTableButtons module¶
sas.qtgui.Perspectives.ParticleEditor.ParameterFunctionality.ParameterTableModel module¶
Code that handles the parameter list backend
- exception sas.qtgui.Perspectives.ParticleEditor.ParameterFunctionality.ParameterTableModel.LinkingImpossible¶
Bases:
Exception
- class sas.qtgui.Perspectives.ParticleEditor.ParameterFunctionality.ParameterTableModel.ParameterTableModel¶
Bases:
objectParameter list backend
- The main issues that this class needs to deal with
Having values that don’t get overridden arbitrarily
Magnetism and SLD may or may not have different values for the same parameter name
- calculation_parameters() CalculationParameters¶
- can_link(name: str)¶
Can a magnetism be linked to an SLD parameter?
- clean()¶
Remove parameters that are not in use
- property magnetism_parameters¶
- set_link_status(name: str, linked: bool)¶
Set the status of the link of a magnetism to a SLD parameter
- property sld_parameters¶
- update_from_code(sld: SLDFunction, magnetism: MagnetismFunction | None)¶
Update the parameter list with sld and magnetism functions
- sas.qtgui.Perspectives.ParticleEditor.ParameterFunctionality.ParameterTableModel.main()¶