inspigtor.gui package¶
Subpackages¶
- inspigtor.gui.dialogs package
- inspigtor.gui.models package
- inspigtor.gui.utils package
- inspigtor.gui.views package
- inspigtor.gui.widgets package
- Submodules
- inspigtor.gui.widgets.checkable_combobox module
- inspigtor.gui.widgets.copy_pastable_tableview module
- inspigtor.gui.widgets.coverages_widget module
- inspigtor.gui.widgets.droppable_list_view module
- inspigtor.gui.widgets.group_effect_widget module
- inspigtor.gui.widgets.intervals_widget module
- inspigtor.gui.widgets.logger_widget module
- inspigtor.gui.widgets.statistics_widget module
- inspigtor.gui.widgets.time_effect_widget module
- Module contents
Submodules¶
inspigtor.gui.main_window module¶
-
class
inspigtor.gui.main_window.MainWindow(parent=None)¶ Bases:
PyQt5.QtWidgets.QMainWindowThis class implements the main window of the inspigtor application.
-
build_events()¶ Build the signal/slots.
-
build_layout()¶ Build the layout.
Build the menu.
-
build_widgets()¶ Build the widgets.
-
init_progress_bar(n_steps)¶ Initializes the progress bar.
- Args:
- n_steps (int): the total number of steps of the task to monitor
-
init_ui()¶ Initializes the ui.
-
on_change_selected_property(selected_property)¶ Event fired when the user change the property to compute the statistics with.
- Args:
- selected_property (str): the selected property
-
on_load_experiment_data()¶ Event fired when the user loads expriment data by clicking on File -> Open or double clicking on the data list view when it is empty.
-
on_plot_property(checked, selected_property)¶ Plot one property of the PiCCO file.
- Args:
- selected_property (str): the property to plot
-
on_quit_application()¶ Event handler when the application is exited.
-
on_record_interval_selected(row_min, row_max)¶ Event fired when the user clicks on one record interval. This will gray the corresponding data for better readability.
- Args:
- row_min (int): the first index of the record interval row_max (int): the last of the record interval (excluded)
-
on_select_pig(index)¶ Event fired when a pig is selected.
- Args:
- index (PyQt5.QtCore.QModelIndex): the index of the pig in the corresponding list view
Event fired when the user right-clicks on the data table.
This will pop up a contextual menu.
-
on_update_properties(properties)¶ Event fired when a pig is loaded.
This will refresh the properties combo box with the properties available in the corresponding PiCCO file.
- Args:
- properties (list of str): the properties
-
pig_selected¶
-
update_progress_bar(step)¶ Updates the progress bar.
- Args:
- step (int): the step
-