(self)
| 199 | self._enable_plot_updates = True |
| 200 | |
| 201 | def _set_tooltips(self): |
| 202 | set_tooltip(self.cb_select_all, "<b>Select/Deselect All</b> emission lines in the list") |
| 203 | set_tooltip(self.pb_add_elements, "Add <b>all elements</b> to the selection.") |
| 204 | set_tooltip( |
| 205 | self.cb_auto_update, |
| 206 | "Automatically <b>update the plots</b> when changes are made. " |
| 207 | "If unchecked, then button <b>Update Plots</b> must be pressed " |
| 208 | "to update the plots. Automatic update is often undesirable " |
| 209 | "when large maps are displayed and multiple changes to parameters " |
| 210 | "are made.", |
| 211 | ) |
| 212 | set_tooltip(self.pb_update_plots, "<b>Update plots</b> based on currently selected parameters.") |
| 213 | set_tooltip( |
| 214 | self.table, |
| 215 | "Choose <b>emission lines</b> from the currently selected dataset and " |
| 216 | "select the <b>range of intensity</b> for each emission line", |
| 217 | ) |
| 218 | |
| 219 | def update_widget_state(self, condition=None): |
| 220 | # Update the state of the menu bar |
no test coverage detected