def __init__(self, thesaurus_label='Thesaurus', keywords_label='Keywords:', line_name='kw', parent=None): self.thesaurus_label = thesaurus_label self.keywords_label = keywords_label self.line_name = line_name WizardWidget.__init__(self, parent=parent)
def __init__(self, parent=None): # This changes to true when this attribute is being viewed/edited self.active = False self.ef = 0 self.nodata = None self.nodata_content = (False, None) # nodata checked, last nodata node WizardWidget.__init__(self, parent=parent) # an in memory record of all the contents that were selected self._previous_index = -1 cbo = self.ui.comboBox self._domain_content = dict.fromkeys(range(cbo.count()), None) self.parent_ui = parent self.series = None self.ui.nodata_section.hide() self.highlighter = Highlighter(self.ui.fgdc_attrdef.document()) self.nodata_matches = [ '#N/A', '#N/A N/A', '#NA', '-1.#IND', '-1.#QNAN', '-NaN', '-nan', '1.#IND', '1.#QNAN', 'N/A', 'NA', 'NULL', 'NaN', 'n/a', 'nan', 'null', -9999, '-9999', '', 'Nan', '<< empty cell >>' ]
def __init__(self, parent=None, include_lwork=True): self.origin_hint = 'Suggested format "FIRST M. LAST"' self.include_lwork = include_lwork self.schema = 'bdp' WizardWidget.__init__(self, parent=parent) self.doi_lookup = None self.highlighter = Highlighter(self.ui.fgdc_title.document())
def __init__(self, remove_function=None, parent=None): self.EA = parent WizardWidget.__init__(self, parent=parent) if remove_function is None: self.ui.btn_remove.hide() else: self.ui.btn_remove.clicked.connect(remove_function)
def __init__(self, parent=None, include_lwork=True): self.origin_hint = 'Suggested format "FIRST M. LAST"' self.include_lwork = include_lwork self.schema = "bdp" WizardWidget.__init__(self, parent=parent) self.doi_lookup = None self.highlighter = Highlighter(self.ui.fgdc_title.document()) self.ui.fgdc_title.textChanged.connect(self.remove_returns) self.ui.fgdc_title.mouseMoveEvent = self.mouse_move
def __init__(self, parent=None): self._previous_index = -1 self._domain_content = { 'Range (Numeric data)': None, 'Enumerated (Categorical Data)': None, 'Unrepresentable (None of the above)': None, 'Codeset (Published Categories)': None } self.parent_ui = parent self.series = None WizardWidget.__init__(self, parent=parent)
def __init__(self, parent=None): # This changes to true when this attribute is being viewed/edited self.active = False self.ef = 0 WizardWidget.__init__(self, parent=parent) # an in memory record of all the contents that were selected self._previous_index = -1 cbo = self.ui.comboBox self._domain_content = dict.fromkeys(range(cbo.count()), None) self.parent_ui = parent self.series = None
def __init__(self, thesaurus_label='Thesaurus', keywords_label='Keywords:', line_name='kw', spellings=True, parent=None): self.thesaurus_label = thesaurus_label self.keywords_label = keywords_label self.line_name = line_name self.keywords = None self.spellings = spellings WizardWidget.__init__(self, parent=parent)
def __init__(self, parent=None): WizardWidget.__init__(self, parent=parent) self.selected_items_df = pd.DataFrame(columns=['item', 'tsn']) self.selected_model = utils.PandasModel(self.selected_items_df) self.ui.table_include.setModel(self.selected_model) self.ui.frame_included_species.hide() # This dictionary contains copies of each unique taxonomy xml created # so that we need not generate them more than once self.xml_lookup = {}
def __init__( self, thesaurus_label="Thesaurus", keywords_label="Keywords:", line_name="kw", spellings=True, parent=None, ): self.thesaurus_label = thesaurus_label self.keywords_label = keywords_label self.line_name = line_name self.keywords = None self.spellings = spellings WizardWidget.__init__(self, parent=parent)
def clear_widget(self): self.sourceinput.clear_widget() WizardWidget.clear_widget(self)
def __init__(self, parent=None, include_lwork=True): self.include_lwork = include_lwork self.schema = 'bdp' WizardWidget.__init__(self, parent=parent)
def clear_widget(self): self.ui.radio_sourceno_2.setChecked(True) WizardWidget.clear_widget(self)
def clear_widget(self): WizardWidget.clear_widget(self) self.ui.radio_pubinfono.setChecked(True) self.ui.radio_seriesno.setChecked(True)
def __init__(self, xml=None, parent=None): self.parent_ui = parent self.series = None WizardWidget.__init__(self, xml=xml, parent=parent)
def clear_widget(self): self.root_widget.spatial_tab.spdom.clear_widget() self.taxonomy.clear_widget() self.taxonomy.ui.rbtn_no.setChecked(True) WizardWidget.clear_widget(self)
def clear_widget(self): self.sourceinput.clear_widget() WizardWidget.clear_widget(self) self.complete.ui.fgdc_complete.sizeChange()
def clear_widget(self): WizardWidget.clear_widget(self) self.ui.rbtn_no.setChecked(True) self.ui.rbtn_no_alt.setChecked(True) self.ui.rbtn_no_depth.setChecked(True)
def clear_widget(self): WizardWidget.clear_widget(self) self.ui.btn_geographic.setChecked(True) self.ui.rbtn_no.setChecked(True) self.spref_used_change(False)
def clear_widget(self): self.root_widget.spatial_tab.spdom.clear_widget() WizardWidget.clear_widget(self)