Exemple #1
0
    def reloadFields(self):
        self.cmbTags.clear()
        self.cmbValues.clear()
        layer = utils.getVectorLayerByName(self.cmbLayers.currentText())
        fields = utils.getFieldNames(layer)

        self.cmbTags.addItems(fields)
        self.cmbValues.addItems(fields)

        self.resetTagsEditor()
        self.resetValuesEditor()
    def reloadFields(self):
        self.cmbTags.clear()
        self.cmbValues.clear()
        layer = utils.getVectorLayerByName(self.cmbLayers.currentText())
        fields = utils.getFieldNames(layer)

        self.cmbTags.addItems(fields)
        self.cmbValues.addItems(fields)

        self.resetTagsEditor()
        self.resetValuesEditor()
Exemple #3
0
 def reloadFields(self):
     self.cmbFields.clear()
     layer = utils.getVectorLayerByName(self.cmbLayers.currentText())
     self.cmbFields.addItems(utils.getFieldNames(layer))