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
- READ_ONLY = False
- loadConfigFile(ifile=None)[source]
Reads a file stored by
saveConfig()
and applies the settings- Parameters:
ifile (file or string) – file or filename from where to read the configuration
- Returns:
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-.*': ( ('setmode',('SERIAL','LOCAL','STEP','FIXED','START','PROTECT')), ('onhv1',()), ('offhv1',()), ('onhv2',()), ('offhv2',()), ('sendcommand',()) ), }
- 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)
wherei
is the index of the corresponding model name in the model sequence.