(self, *, gpc, gui_vars)
| 21 | signal_activate_tab_xrf_maps = Signal() |
| 22 | |
| 23 | def __init__(self, *, gpc, gui_vars): |
| 24 | super().__init__() |
| 25 | |
| 26 | # Global processing classes |
| 27 | self.gpc = gpc |
| 28 | # Global GUI variables (used for control of GUI state) |
| 29 | self.gui_vars = gui_vars |
| 30 | |
| 31 | # Reference to the main window. The main window will hold |
| 32 | # references to all non-modal windows that could be opened |
| 33 | # from multiple places in the program. |
| 34 | self.ref_main_window = self.gui_vars["ref_main_window"] |
| 35 | |
| 36 | self.update_global_state.connect(self.ref_main_window.update_widget_state) |
| 37 | |
| 38 | self.initialize() |
| 39 | |
| 40 | def initialize(self): |
| 41 | v_spacing = global_gui_parameters["vertical_spacing_in_tabs"] |
nothing calls this directly
no test coverage detected