taurus.qt.qtgui.container

This package provides generic taurus container widgets

Classes

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

An expandable/collapsible composite widget

(more info)

class TaurusBaseContainer(name='', parent=None, designMode=False)[source]

Base class for the Taurus container widgets. This type of taurus container classes are specially useful if you define a parent taurus model to them and set all contained taurus widgets to use parent model. Example:

from taurus.qt.qtgui.container import TaurusWidget
from taurus.qt.qtgui.display import TaurusLabel

widget = TaurusWidget()
layout = Qt.QVBoxLayout()
widget.setLayout(layout)
widget.model = 'sys/database/2'
stateWidget = TaurusLabel()
layout.addWidget(stateWidget)
stateWidget.model = 'sys/database/2/state'

(more info)

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

This is a Qt.QFrame that additionally accepts a model property. This type of taurus container classes are specially useful if you define a parent taurus model to them and set all contained taurus widgets to use parent model. Example:

from taurus.qt.qtgui.container import TaurusFrame
from taurus.qt.qtgui.display import TaurusLabel

widget = TaurusFrame()
layout = Qt.QVBoxLayout()
widget.setLayout(layout)
widget.model = 'sys/database/2'
stateWidget = TaurusLabel()
layout.addWidget(stateWidget)
stateWidget.model = 'sys/database/2/state'

(more info)

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

This is a Qt.QGroupBox that additionally accepts a model property. This type of taurus container classes are specially useful if you define a parent taurus model to them and set all contained taurus widgets to use parent model. Example:

from taurus.qt.qtgui.container import TaurusGroupBox
from taurus.qt.qtgui.display import TaurusLabel

widget = TaurusGroupBox("Example")
layout = Qt.QVBoxLayout()
widget.setLayout(layout)
widget.model = 'sys/database/2'
stateWidget = TaurusLabel()
layout.addWidget(stateWidget)
stateWidget.model = 'sys/database/2/state'

(more info)

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

This is a taurus.qt.qtgui.container.QGroupWidget that additionally accepts a model property. This type of taurus container classes are specially useful if you define a parent taurus model to them and set all contained taurus widgets to use parent model. Example:

from taurus.qt.qtgui.container import QGroupWidget
from taurus.qt.qtgui.display import TaurusLabel

widget = QGroupWidget(title="Example")
layout = Qt.QVBoxLayout()
widget.setLayout(layout)
widget.model = 'sys/database/2'
stateWidget = TaurusLabel()
layout.addWidget(stateWidget)
stateWidget.model = 'sys/database/2/state'

(more info)

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

A Taurus-aware QMainWindow with several customizations:

  • It takes care of (re)storing its geometry and state (see loadSettings())

  • Supports perspectives (programmatic access and, optionally, accessible by user), and allows defining a set of “factory settings”

  • It provides a customizable splashScreen (optional)

  • Supports spawning remote consoles and remote debugging

  • Supports full-screen mode toggling

  • Supports adding launchers to external applications

  • It provides a statusBar with an optional heart-beat LED

  • The following Menus are optionally provided and populated with basic actions:

    • File (accessible by derived classes as self.fileMenu)

    • View (accessible by derived classes as self.viewMenu)

    • Taurus (accessible by derived classes as self.taurusMenu)

    • Tools (accessible by derived classes as self.toolsMenu)

    • Help (accessible by derived classes as self.helpMenu)

(more info)

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

This is a Qt.QScrollArea that additionally accepts a model property. This type of taurus container classes are specially useful if you define a parent taurus model to them and set all contained taurus widgets to use parent model. Example:

from taurus.qt.qtgui.container import TaurusScrollArea
from taurus.qt.qtgui.display import TaurusLabel

widget = TaurusScrollArea()
layout = Qt.QVBoxLayout()
widget.setLayout(layout)
widget.model = 'sys/database/2'
stateWidget = TaurusLabel()
layout.addWidget(stateWidget)
stateWidget.model = 'sys/database/2/state'

(more info)

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

This is a Qt.QWidget that additionally accepts a model property. This type of taurus container classes are specially useful if you define a parent taurus model to them and set all contained taurus widgets to use parent model. Example:

from taurus.qt.qtgui.container import TaurusWidget
from taurus.qt.qtgui.display import TaurusLabel

widget = TaurusWidget()
layout = Qt.QVBoxLayout()
widget.setLayout(layout)
widget.model = 'sys/database/2'
stateWidget = TaurusLabel()
layout.addWidget(stateWidget)
stateWidget.model = 'sys/database/2/state'

(more info)