API Documentation

DdManager

class ddui.DdManager(iface)[source]

DdManager manages all masks in the current project

initLayer(layer, skip=[], labels={}, fieldOrder=[], minMax={}, showParents=True, createAction=True)[source]

api method initLayer: initialize the layer with a data-driven input mask Returns a Boolean stating the success of the initialization

showFeatureForm(layer, feature)[source]

api method showFeatureForm: show the data-driven input mask for a layer and a feature returns 1 if user clicked OK, 0 if CANCEL

addAction(layer, actionName=PyQt4.QtCore.QString(u'showDdForm'))[source]

api method to add an action to the layer with a self defined name

removeAction(layer, actionName)[source]

api method to remove an action from the layer

setDb(layer, db)[source]

api method to set the db for a layer

setUi(layer, ui)[source]

api method to exchange the default ui with a custom ui

Table Of Contents

Previous topic

Usage

Next topic

Full Documentation

This Page