TaurusTreeDeviceMemberItem

Inheritance diagram of TaurusTreeDeviceMemberItem
class TaurusTreeDeviceMemberItem(model, data, parent=None)[source]

A node designed to represent a the member part of a device name

Import from taurus.qt.qtcore.model as:

from taurus.qt.qtcore.model import TaurusTreeDeviceMemberItem
DisplayFunc

alias of str

role()[source]

Returns the prefered role for the item. This implementation returns taurus.core.taurusbasetypes.TaurusElementType.Unknown

This method should be able to return any kind of python object as long as the model that is used is compatible.

Returns:

the role in form of element type

Return type:

taurus.core.taurusbasetypes.TaurusElementType