TaurusGraphicsView

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

Import from taurus.qt.qtgui.graphic as:

from taurus.qt.qtgui.graphic import TaurusGraphicsView
defineStyle()[source]
classmethod getQtDesignerPluginInfo()[source]

Returns pertinent information in order to be able to build a valid QtDesigner widget plugin.

The dictionary returned by this method should contain at least the following keys and values:

  • ‘module’ : a string representing the full python module name (ex.: ‘taurus.qt.qtgui.base’)

  • ‘icon’ : a string representing valid resource icon (ex.: ‘designer:combobox.png’)

  • ‘container’a bool telling if this widget is a container widget or

    not.

This default implementation returns the following dictionary:

{ 'group'     : 'Taurus [Unclassified]',
  'icon'      : 'logos:taurus.png',
  'container' : False }
Returns

a map with pertinent designer information

Return type

dict

isReadOnly()[source]

Determines if this component is read-only or not in the sense that the user can interact with it. Default implementation returns True.

Override when necessary.

Returns

whether or not this component is read-only

Return type

bool

updateStyle()[source]

Updates the widget style. Default implementation just calls QWidget.update()

Override when necessary.