# 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: `QWidget`

  GUI 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: `QWidget`

  Main 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

class sas.qtgui.Perspectives.ParticleEditor.ParameterFunctionality.ParameterTableButtons.ParameterTableButtons

  Bases: `QWidget`, `Ui_ParameterTableButtons`

  staticMetaObject = PySide6.QtCore.QMetaObject("ParameterTableButtons" inherits "QWidget": )

## 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: `object`

  Parameter list backend

  The main issues that this class needs to deal with

    1. Having values that don’t get overridden arbitrarily

    2. 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()

## Module contents