(self)
Clear the widget state.
Clear the widget state.
Clear the widget state .
def clear(self):
        """Clear the widget state."""
        self.data = None
        self.variables_model.clear()
        self.clear_editor()
        assert self.selected_index == -1
        self.selected_index = -1

        self._selected_item = None
        self._domain_change_store = {}
        self._merge_dialog_settings = {}
def clear ( self ) : self . data = None self . variables_model . clear ( ) self . clear_editor ( ) assert self . selected_index == - 1 self . selected_index = - 1 self . _selected_item = None self . _domain_change_store = { } self . _merge_dialog_settings = { }