TaurusDevicePanel

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

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

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.

READ_ONLY = False
detach()[source]
duplicate()[source]
classmethod getAttributeFilters(klass)[source]
classmethod getCommandFilters(klass)[source]
classmethod getIconMap(klass)[source]
get_attrs_form(device, form=None, filters=None, parent=None)[source]
get_comms_form(device, form=None, parent=None)[source]
loadConfigFile(ifile=None)[source]
classmethod setAttributeFilters(klass, filters)[source]

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

classmethod setCommandFilters(klass, filters)[source]

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

{'.*/IPCT-.*': (
                 ('setmode',('SERIAL','LOCAL','STEP','FIXED','START','PROTECT')),
                 ('onhv1',()), ('offhv1',()), ('onhv2',()), ('offhv2',()),
                 ('sendcommand',())
               ),}
classmethod setIconMap(klass, filters)[source]

A dictionary like {device_regexp:pixmap_url}

setModel(model, pixmap=None)[source]