(self)
Clear the editor state.
Clear the editor state.
Clear the editor state .
def clear(self):
        """Clear the editor state.
        """
        self.var = None
        self.name_edit.setText("")
        self.labels_model.setRowCount(0)
        self.unlink_var_cb.setChecked(False)
def clear ( self ) : self . var = None self . name_edit . setText ( "" ) self . labels_model . setRowCount ( 0 ) self . unlink_var_cb . setChecked ( False )