taurus.qt.qtgui.graphic

This package contains a collection of taurus Qt graphics view widgets

Classes

class QGraphicsTextBoxing(parent=None, scene=None)[source]

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

(more info)

class QSpline(parent=None, closed=False, control_points=None)[source]

(more info)

class TaurusBaseGraphicsFactory[source]

(more info)

class TaurusEllipseStateItem(name=None, parent=None, scene=None)[source]

(more info)

class TaurusGraphicsAttributeItem(name=None, parent=None)[source]

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

(more info)

class TaurusGraphicsItem(name=None, parent=None)[source]

Base class for all Taurus Graphics Items

(more info)

class TaurusGraphicsScene(parent=None, strt=True)[source]

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)[source]

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

(more info)

class TaurusGraphicsUpdateThread(parent=None, period=3)[source]

(more info)

class TaurusGraphicsView(parent=None, designMode=False)[source]

(more info)

class TaurusGroupItem(name=None, parent=None, scene=None)[source]

(more info)

class TaurusGroupStateItem(name=None, parent=None, scene=None)[source]

(more info)

class TaurusJDrawGraphicsFactory(*p, **k)[source]

(more info)

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

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)[source]

(more info)

class TaurusPolygonStateItem(name=None, parent=None, scene=None)[source]

(more info)

class TaurusRectStateItem(name=None, parent=None, scene=None)[source]

(more info)

class TaurusRoundRectItem(name=None, parent=None, scene=None)[source]

(more info)

class TaurusRoundRectStateItem(name=None, parent=None, scene=None)[source]

(more info)

class TaurusSplineStateItem(name=None, parent=None, scene=None)[source]

(more info)

class TaurusTextAttributeItem(name=None, parent=None, scene=None)[source]

A QGraphicsItem that represents a text related to an attribute value

(more info)

class TaurusTextStateItem(name=None, parent=None, scene=None)[source]

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

(more info)

Functions

parseTangoUri(name)[source]

Variables

SynopticSelectionStyle
TYPE_TO_GRAPHICS