test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Static Public Attributes | Static Private Attributes
progressbar.Widget Class Reference
Inheritance diagram for progressbar.Widget:
progressbar.Timer progressbar.WidgetHFill progressbar.FormatLabel progressbar.Bar progressbar.BouncingBar

Public Member Functions

def update
 

Static Public Attributes

 TIME_SENSITIVE = False
 

Static Private Attributes

tuple __slots__ = ()
 

Detailed Description

The base class for all widgets

The ProgressBar will call the widget's update value when the widget should
be updated. The widget's size may change between calls, but the widget may
display incorrectly if the size changes drastically and repeatedly.

The boolean TIME_SENSITIVE informs the ProgressBar that it should be
updated more often because it is time sensitive.

Definition at line 17 of file progressbar.py.

Member Function Documentation

def progressbar.Widget.update (   self,
  pbar 
)
Updates the widget.

pbar - a reference to the calling ProgressBar

Definition at line 32 of file progressbar.py.

Referenced by progressbar.ProgressBar.__next__(), MatrixUtil.Matrix.__setitem__(), MatrixUtil.Steps.__setitem__(), Vispa.Gui.VispaWidget.VispaWidget.autosize(), Vispa.Views.LineDecayView.LineDecayContainer.createObject(), Vispa.Views.LineDecayView.LineDecayContainer.deselectAllObjects(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner.deselectAllWidgets(), Vispa.Gui.VispaWidget.VispaWidget.enableAutosizing(), progressbar.ProgressBar.finish(), Vispa.Gui.MenuWidget.MenuWidget.leaveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner.mouseMoveEvent(), Vispa.Gui.MenuWidget.MenuWidget.mouseMoveEvent(), Vispa.Views.LineDecayView.LineDecayContainer.mouseMoveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner.mouseReleaseEvent(), Vispa.Views.LineDecayView.LineDecayContainer.objectMoved(), MatrixUtil.Steps.overwrite(), Vispa.Views.LineDecayView.LineDecayContainer.removeObject(), Vispa.Gui.ConnectableWidget.ConnectableWidget.removePorts(), Vispa.Gui.FindDialog.FindDialog.reset(), Vispa.Gui.PortConnection.PointToPointConnection.select(), Vispa.Gui.VispaWidget.VispaWidget.select(), Vispa.Views.LineDecayView.LineDecayContainer.select(), Vispa.Gui.VispaWidget.VispaWidget.setText(), Vispa.Gui.VispaWidget.VispaWidget.setTitle(), Vispa.Gui.ZoomableWidget.ZoomableWidget.setZoom(), Vispa.Views.LineDecayView.LineDecayContainer.setZoom(), and Vispa.Gui.PortConnection.PointToPointConnection.updateConnection().

32 
33  def update(self, pbar):
34  '''Updates the widget.
35 
36  pbar - a reference to the calling ProgressBar
'''

Member Data Documentation

tuple progressbar.Widget.__slots__ = ()
staticprivate

Definition at line 29 of file progressbar.py.

progressbar.Widget.TIME_SENSITIVE = False
static

Definition at line 28 of file progressbar.py.