Featureを登録すると通常は属性情報入力ダイアログが表示される。
レイヤのプロパティでFeature登録時に属性情報入力ダイアログの表示/非表示を設定できる
Pythonでの設定方法
属性情報入力ダイアログを非表示
layer = self.iface.activeLayer() editFormConfig = layer.editFormConfig() editFormConfig.setSuppress(QgsEditFormConfig.FeatureFormSuppress.SuppressOn) layer.setEditFormConfig(editFormConfig)
属性情報入力ダイアログを表示
layer = self.iface.activeLayer() editFormConfig = layer.editFormConfig() editFormConfig.setSuppress(QgsEditFormConfig.FeatureFormSuppress.SuppressOff) layer.setEditFormConfig(editFormConfig)