Inheritance diagram of TaurusDevicePanel
class TaurusDevicePanel(parent=None, model=None, palette=None, bound=True)[source]

TaurusDevPanel is a Taurus Application inspired in Jive and Atk Panel.

It Provides a Device selector and a panel for displaying information from the selected device.

Import from taurus.qt.qtgui.panel as:

from taurus.qt.qtgui.panel import TaurusDevicePanel
classmethod getAttributeFilters()[source]
classmethod getCommandFilters()[source]
classmethod getIconMap()[source]
get_attrs_form(device, form=None, filters=None, parent=None)[source]
get_comms_form(device, form=None, parent=None)[source]

Reads a file stored by saveConfig() and applies the settings


ifile (file or string) – file or filename from where to read the configuration


file name used

Return type


classmethod setAttributeFilters(filters)[source]

It will set the attribute filters filters will be like: {device_regexp:[attribute_regexps]} example: {‘.*/VGCT-.*’: [‘ChannelState’,’p[0-9]’]}

classmethod setCommandFilters(filters)[source]

It will set the command filters filters will be like: {device_regexp:[command_regexps]} example:

{'.*/IPCT-.*': (
    ('onhv1',()), ('offhv1',()), ('onhv2',()), ('offhv2',()),
classmethod setIconMap(filters)[source]

A dictionary like {device_regexp:pixmap_url}

setModel(model, pixmap=None, **kwargs)[source]

Sets/unsets the model name for the given key. If key is MLIST, a model is set for each name in the model sequence, new model keys are automatically added to the object’s modelList attribute and the corresponding models are attached using those keys. The new keys are of the form (MLIST, i) where i is the index of the corresponding model name in the model sequence.

  • model (str (or sequence of str if key is MLIST)) – the new model name. If key is MLIST, model is expected to be a sequence of model names.

  • key (object) – the model key. Defaults to first element of .modelKeys