Bases: PyQt4.QtGui.QTreeWidget, taurus.qt.qtgui.base.taurusbase.TaurusBaseWidget
This widget display the list of servers, devices or instances.
This command returns the list of attributes of a given device applying display level and type filters. @argin expert If False only PyTango.DispLevel.OPERATOR attributes are displayed @argin allow_types Only those types included in the list will be displayed (numeric types only by default)
This method updates all the icons in the tree using a dictionary. But in fact it creates the tree from scratch !?!?!?!
This method build a dictionary of instances and devices depending on the given servers,devices or instances in QTProperty or in another widget — filters is a string with names of devices/servers such as “LT/VC/ALL,LT02/VC/IP-01” or “modbus,pyplc” — filters is a list of devices such as [“LT/VC/ALL”,”LT02/VC/IP-01”]
Collapses the whole tree or from a given node. @argin ALL tells whether to collapse from current item or the whole tree @argin filters Allows to set a list of nodes to not be filtered
This function is called when right clicking on TaurusDevTree area. A pop up menu will be shown with the available options. Menus are managed using two tuple lists for each node: node.ContextMenu and node.ExpertMenu
QSIGNAL: this method is used to emit deviceSelected(QString) signal
This method has been rejected as it doesn’t collapsed well the nodes
Returns the model name for this component.
Return type: | :class:~`str` |
---|---|
Returns: | the model name. |
This method change the icons depending of the status of the devices Dict is a dictionary with name of device and colors such as {name_device:color,name_device2:color2} An alternative may be an icon name!
This method show a list of instances and devices depending on the given servers in QTProperty or in another widget, this method can be used to connect TaurusDevTree with another widget such as LineEdit.
Open AtkPanel
Display widget taurusDevicePanel
Display widget TaurusPropTable
Returns whether this component is using the parent model
Return type: | :class:~`bool` |
---|---|
Returns: | True if using parent model or False otherwise |