Inheritance diagram of TaurusAttrForm
class TaurusAttrForm(parent=None, designMode=False)[source]

Bases: taurus.qt.qtgui.container.tauruswidget.TaurusWidget

A form that displays the attributes of a Device Server


see TaurusBaseComponent.getModelClass()

classmethod getQtDesignerPluginInfo()[source]

returns the filters used in deciding which attributes are displayed

Return type:sequence <callable>
Returns:a sequence of filters

Returns the model name for this component.

Return type:str
Returns:the model name.

sets the expert view mode

Parameters:expert (bool) – If expert is True, attributes won’t be filtered. If it is False, attributes with display level Expert won’t be shown

sets the key function used to sort the attributes in the form

Parameters:sortkey (callable) – a function that takes a AttributeInfo as argument and returns a key to use for sorting purposes (e.g. the default sortKey is lambda x:x.name)

sets the filters to be applied when displaying the attributes

Parameters:filterlist (sequence <callable>) – a sequence of attr filters. All filters will be applied to each attribute name to decide whether to display it or not. for an attribute to be plotted, the following condition must be true for all filters: bool(filter(attrname))==True

Returns whether this component is using the parent model

Return type:bool
Returns:True if using parent model or False otherwise