libs.gui.frames.sensors package

Submodules

libs.gui.frames.sensors.FieldRecorderFrame module

class libs.gui.frames.sensors.FieldRecorderFrame.FieldRecorderFrame(master: Frame, data_handler: DataHandler, config_handler: ConfigHandler, gui_handler: GUIHandler, remove_sensor: Callable)

Bases: ObjectFrame

description of class

libs.gui.frames.sensors.GMRSensorFrame module

class libs.gui.frames.sensors.GMRSensorFrame.GMRSensorFrame(master: Frame, data_handler: DataHandler, config_handler: ConfigHandler, gui_handler: GUIHandler, remove_sensor: Callable)

Bases: ObjectFrame

description of class

menu_callback(*args) None
update_buttons(sensor: GMRSensor)
class libs.gui.frames.sensors.GMRSensorFrame.InfoFrame

Bases: object

destroy()

libs.gui.frames.sensors.HallSensorFrame module

class libs.gui.frames.sensors.HallSensorFrame.HallSensorFrame(master: Frame, data_handler: DataHandler, config_handler: ConfigHandler, gui_handler: GUIHandler, remove_sensor: Callable)

Bases: ObjectFrame

update_buttons(sensor: HallSensor)
class libs.gui.frames.sensors.HallSensorFrame.InfoFrame

Bases: object

destroy()
class libs.gui.frames.sensors.HallSensorFrame.PlotButton(master: Labelframe | Frame, data_handler: DataHandler, config_handler: ConfigHandler, gui_handler: GUIHandler)

Bases: object

description of class

static click(data_handler: DataHandler, sensor: HallSensor | None) None

libs.gui.frames.sensors.SensorTemplateFrame module

class libs.gui.frames.sensors.SensorTemplateFrame.SensorTemplateFrame(master: Frame, data_handler: DataHandler, config_handler: ConfigHandler, gui_handler: GUIHandler, remove_sensor: Callable)

Bases: ObjectFrame

The GUI window for the new element is designed here. inputs. 1. Rename this class. The class name must match the elements class name with an additional ‘Frame’. For example: A class called ‘NewSensor’ expects a class called ‘NewSensorFrame’. 2. Move this file in the right package (a frame for a magnet in the magnets package for instance). 2. Add the entries. The names in the entries dictionary must match the class attributes! Prefabricated methods in the GUIElements class allow single, 2D, 3D and 6D vectors. 3. Arrange the entries using the col and row attributes.

Module contents