inspigtor.gui.dialogs package

Submodules

inspigtor.gui.dialogs.group_averages_dialog module

class inspigtor.gui.dialogs.group_averages_dialog.GroupAveragesDialog(pigs_model, groups_model, parent)

Bases: PyQt5.QtWidgets.QDialog

This class implements a dialog that will show the averages of a given property for the groups defined so far.

build_events()

Set the signal/slots of the main window

build_layout()

Build the layout.

build_widgets()

Build and/or initialize the widgets of the dialog.

init_ui()

Initialiwes the dialog.

on_select_group(row)

Plot the averages and standard deviations over record intervals for a selected group.

Args:
row (int): the selected group

inspigtor.gui.dialogs.group_statistics_dialog module

class inspigtor.gui.dialogs.group_statistics_dialog.GroupStatisticsDialog(pigs_model, groups_model, parent)

Bases: PyQt5.QtWidgets.QDialog

build_events()

Set the signal/slots of the main window

build_layout()

Build the layout.

build_widgets()

Build and/or initialize the widgets of the dialog.

init_ui()

Initialiwes the dialog.

inspigtor.gui.dialogs.individual_averages_dialog module

class inspigtor.gui.dialogs.individual_averages_dialog.IndividualAveragesDialog(pigs_model, parent)

Bases: PyQt5.QtWidgets.QDialog

This class implements a dialog that will show the averages of a given property for the different pigs.

build_events()

Set the signal/slots of the main window

build_layout()

Build the layout.

build_widgets()

Build and/or initialize the widgets of the dialog.

init_ui()

Initialiwes the dialog.

on_select_pig(row)

Plot the averages and standard deviations over record intervals for a selected pig.

Args:
row (int): the selected pig

inspigtor.gui.dialogs.interval_settings_dialog module

class inspigtor.gui.dialogs.interval_settings_dialog.IntervalSettingsDialog(*args, **kwargs)

Bases: PyQt5.QtWidgets.QDialog

build_events()
build_layout()
build_widgets()
init_ui()
value()
class inspigtor.gui.dialogs.interval_settings_dialog.TimeValidator

Bases: PyQt5.QtGui.QValidator

Implements a Qt validator for 24 hours time format.

fixup(self, str) → str
validate(value, pos)

Validate the string.

inspigtor.gui.dialogs.property_plotter_dialog module

class inspigtor.gui.dialogs.property_plotter_dialog.PropertyPlotterDialog(main_window)

Bases: PyQt5.QtWidgets.QDialog

build_layout()
build_widgets()
init_ui()
plot_property(selected_property, xs, ys)

Module contents