# `taurus.qt.qtgui.graphic`

This package contains a collection of taurus Qt graphics view widgets

Classes

class QGraphicsTextBoxing(parent=None, scene=None)

  Display a text inside a virtual box. Support horizontal and vertical alignment

  (more info)

class QSpline(parent=None, closed=False, control_points=None)

  (more info)

class TaurusBaseGraphicsFactory

  (more info)

class TaurusEllipseStateItem(name=None, parent=None, scene=None)

  (more info)

class TaurusGraphicsAttributeItem(name=None, parent=None)

  This class show value->text conversion in label widgets. Quality is shown in background

  (more info)

class TaurusGraphicsItem(name=None, parent=None)

  Base class for all Taurus Graphics Items

  (more info)

class TaurusGraphicsScene(parent=None, strt=True)

  This class encapsulates TaurusJDrawSynopticsView and TaurusGraphicsScene signals/slots

  External events:

      Slot selectGraphicItem(const QString &) displays a selection
      mark around the TaurusGraphicsItem that matches the argument passed.

  Mouse Left-button events:

      Signal graphicItemSelected(QString) is triggered, passing the
      selected TaurusGraphicsItem.name() as argument.

  Mouse Right-button events:

      TaurusGraphicsItem.setContextMenu([(ActionName,ActionMethod(device_name))]
      allows to configure custom context menus for graphic items using a list
      of tuples. Empty tuples will insert separators in the menu.

  (more info)

class TaurusGraphicsStateItem(name=None, parent=None)

  In State Item the displayValue should not override the label This item will modify only foreground/background colors

  (more info)

class TaurusGraphicsUpdateThread(parent, scene, period=3)

  Thread to update the `TaurusGraphicsScene`.

  (more info)

class TaurusGraphicsView(parent=None, designMode=False)

  (more info)

class TaurusGroupItem(name=None, parent=None, scene=None)

  (more info)

class TaurusGroupStateItem(name=None, parent=None, scene=None)

  (more info)

class TaurusJDrawGraphicsFactory(*p, **k)

  (more info)

class TaurusJDrawSynopticsView(parent=None, designMode=False, updateMode=None, alias=None, resizable=True, panelClass=None)

  Taurus Class that visualizes Synoptics drawn with the JDraw tool (by ESRF). It is equivalent to ATK Synoptic Player (Java).

  After initialization call setModel(‘/your/file.jdw’) to parse the synoptic file and connect to controlled objects.

  Arguments to TaurusJDrawSynopticsView() creator are:

  > - designMode; used by Qt Designer

  > - updateMode; controls Qt Viewport refresh (disabled by default)

  > - alias; a dictionary of name replacements to be applied on graphical objects

  > - resizable: whether to allow resizing or not

  > - panelClass: class object, class name or shell command to be shown when an object is clicked (None will show default panel, ‘’ or ‘noPanel’ will disable it)

  TaurusJDrawSynopticsView and TaurusGraphicsScene signals/slots

  External events:

      Slot selectGraphicItem(const QString &) displays a selection
      mark around the TaurusGraphicsItem that matches the argument passed.

  Mouse Left-button events:

      Signal graphicItemSelected(QString) is triggered, passing the
      selected TaurusGraphicsItem.name() as argument.

  Mouse Right-button events:

      TaurusGraphicsItem.setContextMenu([(ActionName,ActionMethod(device_name))]
      allows to configure custom context menus for graphic items using a list
      of tuples. Empty tuples will insert separators in the menu.

  (more info)

class TaurusLineStateItem(name=None, parent=None, scene=None)

  (more info)

class TaurusPolygonStateItem(name=None, parent=None, scene=None)

  (more info)

class TaurusRectStateItem(name=None, parent=None, scene=None)

  (more info)

class TaurusRoundRectItem(name=None, parent=None, scene=None)

  (more info)

class TaurusRoundRectStateItem(name=None, parent=None, scene=None)

  (more info)

class TaurusSplineStateItem(name=None, parent=None, scene=None)

  (more info)

class TaurusTextAttributeItem(name=None, parent=None, scene=None)

  A QGraphicsItem that represents a text related to an attribute value

  (more info)

class TaurusTextStateItem(name=None, parent=None, scene=None)

  A QGraphicsItem that represents a text related to a device state or attribute quality

  (more info)

Functions

parseTangoUri(name)

Variables

SynopticSelectionStyle

TYPE_TO_GRAPHICS