# `TaurusModelItem`

digraph inheritance002ebc394e { bgcolor=transparent; rankdir=UD; ratio=compress; size="8.0, 12.0"; "TaurusModelItem" [URL="#taurus.qt.qtgui.panel.TaurusModelItem",color=dodgerblue1,fillcolor=white,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded,target="_top",tooltip="An item object for :class:`TaurusModelModel`. Exposes `display` `icon`"]; }

class TaurusModelItem(src=None, display=None)

  An item object for `TaurusModelModel`. Exposes display icon and ok attributes which are calculated and kept in synch with the property src

  Import from `taurus.qt.qtgui.panel` as:

      from taurus.qt.qtgui.panel import TaurusModelItem

  getSrc()

    getter for src.

  setSrc(src)

    processes the src and sets the values of _src, display, icon and ok attributes

  property src

    getter for src.