CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Public Attributes | Static Public Attributes | Private Member Functions | Private Attributes
Vispa.Views.BoxDecayView.BoxDecayView Class Reference
Inheritance diagram for Vispa.Views.BoxDecayView.BoxDecayView:
Vispa.Views.WidgetView.WidgetView Vispa.Views.AbstractView.AbstractView Vispa.Gui.ZoomableScrollableWidgetOwner.ZoomableScrollableWidgetOwner Vispa.Share.ObjectHolder.ObjectHolder Vispa.Gui.ConnectableWidgetOwner.ConnectableWidgetOwner Vispa.Gui.ZoomableWidget.ZoomableWidget Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner Vispa.Gui.Zoomable.Zoomable Vispa.Plugins.ConfigEditor.ConfigEditorBoxView.ConfigEditorBoxView Vispa.Plugins.EdmBrowser.EdmBrowserBoxView.EdmBrowserBoxView Vispa.Plugins.ConfigEditor.ConfigEditorBoxView.ConnectionStructureView Vispa.Plugins.ConfigEditor.ConfigEditorBoxView.SequenceStructureView

Public Member Functions

def __init__
 
def arrangeUsingRelations
 
def boxContentScript
 
def cancel
 
def checkNumberOfObjects
 
def closeEvent
 
def collapseAll
 
def collapseObject
 
def contentStartX
 
def contentStartY
 
def createBox
 
def createBoxesRecursive
 
def createConnection
 
def createConnections
 
def createSinkPort
 
def createSourcePort
 
def expandAll
 
def expandObject
 
def expandToDepth
 
def setArrangeUsingRelations
 
def setBoxContentScript
 
def setDataAccessor
 
def setSortBeforeArranging
 
def sortBeforeArranging
 
def toggleCollapsed
 
def updateContent
 
- Public Member Functions inherited from Vispa.Views.WidgetView.WidgetView
def __init__
 
def addWidget
 
def clear
 
def closeEvent
 
def deselectAllWidgets
 
def isBusy
 
def mousePressEvent
 
def restoreSelection
 
def select
 
def selection
 
def setDataObjects
 
def widgetByObject
 
def widgetDoubleClicked
 
def widgets
 
def widgetSelected
 
- Public Member Functions inherited from Vispa.Views.AbstractView.AbstractView
def __init__
 
def cancel
 
def isBusy
 
def restoreSelection
 
def select
 
def selection
 
def updateContent
 
- Public Member Functions inherited from Vispa.Share.ObjectHolder.ObjectHolder
def __init__
 
def allDataObjectChildren
 
def appendObject
 
def applyFilter
 
def clearObjects
 
def dataAccessor
 
def dataObject
 
def dataObjects
 
def dataObjectsCount
 
def numberDataObjectChildren
 
def removeObject
 
def setDataAccessor
 
def setDataObject
 
def setDataObjects
 
def setExclusiveMode
 
def setFilter
 
- Public Member Functions inherited from Vispa.Gui.ZoomableScrollableWidgetOwner.ZoomableScrollableWidgetOwner
def __init__
 
def autosizeScrollArea
 
def setZoom
 
def widgetDragged
 
- Public Member Functions inherited from Vispa.Gui.ConnectableWidgetOwner.ConnectableWidgetOwner
def deleteSelectedConnections
 
def getWidgetByName
 
def hideMenuWidgets
 
def portConnection
 
def propagateEventUnderConnectionWidget
 
def updateConnections
 
- Public Member Functions inherited from Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner
def deselectAllWidgets
 
def enableMultiSelect
 
def initWidgetMovement
 
def keyPressEvent
 
def lastMovedWidgets
 
def mouseMoveEvent
 
def mousePressEvent
 
def mouseReleaseEvent
 
def multiSelectEnabled
 
def selectedWidgets
 
def widgetAboutToDelete
 
def widgetDoubleClicked
 
def widgetDragged
 
def widgetSelected
 
- Public Member Functions inherited from Vispa.Gui.ZoomableWidget.ZoomableWidget
def __init__
 
def exportImage
 
def setZoom
 
- Public Member Functions inherited from Vispa.Gui.Zoomable.Zoomable
def __init__
 
def decrementZoom
 
def incrementZoom
 
def setZoom
 
def zoom
 
def zoomFactor
 

Public Attributes

 WARNING_ABOVE
 

Static Public Attributes

string LABEL = "&Box Decay View"
 
int NO_SORTING_ABOVE = 10000
 
int UPDATE_EVERY = 20
 
int WARNING_ABOVE = 500
 
- Static Public Attributes inherited from Vispa.Views.WidgetView.WidgetView
string LABEL = "&Widget View"
 
- Static Public Attributes inherited from Vispa.Views.AbstractView.AbstractView
string LABEL = "&Abstract View"
 

Private Member Functions

def _sortByRelations
 

Private Attributes

 _arrangeUsingRelationsFlag
 
 _boxContentScript
 
 _leftMargin
 
 _operationId
 
 _sortBeforeArranging
 
 _topMargin
 
 _updateCounter
 

Detailed Description

Visualizes a decay tree using boxes to represent containers as well as their contents.

Mother/daughter relations are represented by connection lines. The BoxDecayView is automatically filled using a DataAccessor.

Definition at line 19 of file BoxDecayView.py.

Constructor & Destructor Documentation

def Vispa.Views.BoxDecayView.BoxDecayView.__init__ (   self,
  parent = None 
)

Definition at line 30 of file BoxDecayView.py.

30 
31  def __init__(self, parent=None):
32  logging.debug(__name__ + ": __init__")
33  WidgetView.__init__(self, parent)
34 
35  self._operationId = 0
39  self._leftMargin = ConnectableWidget.LEFT_MARGIN
40  self._topMargin = ConnectableWidget.TOP_MARGIN
41  self._updateCounter=0
42 
43  self.setPalette(QPalette(Qt.black, Qt.white))

Member Function Documentation

def Vispa.Views.BoxDecayView.BoxDecayView._sortByRelations (   self,
  objects 
)
private
Sort a list of objects by their mother/daughter relations.

All daughter objects are put directly behind the mother object in the list.
This sorting algorithm is run before the display of objects with relations.

Definition at line 276 of file BoxDecayView.py.

References Vispa.Share.ObjectHolder.ObjectHolder.dataAccessor(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController.dataAccessor(), list(), and Vispa.Views.BoxDecayView.BoxDecayView.NO_SORTING_ABOVE.

Referenced by Vispa.Views.BoxDecayView.BoxDecayView.createBoxesRecursive(), and Vispa.Views.BoxDecayView.BoxDecayView.updateContent().

277  def _sortByRelations(self, objects):
278  """ Sort a list of objects by their mother/daughter relations.
279 
280  All daughter objects are put directly behind the mother object in the list.
281  This sorting algorithm is run before the display of objects with relations.
282  """
283  #logging.debug(__name__ + ": _sortByRelations")
284  if len(objects) == 0:
285  return ()
286  if len(objects) > self.NO_SORTING_ABOVE:
287  return objects
288  unsortedObjects = list(objects)
289  sortedObjects = []
290  for object in reversed(list(objects)):
291  globalMother=True
292  for mother in self.dataAccessor().allMotherRelations(object):
293  if mother in unsortedObjects:
294  globalMother=False
295  break
296  if object in unsortedObjects and globalMother:
297  unsortedObjects.remove(object)
298  sortedObjects.insert(0, object)
299  i = 0
300  for child in self.dataAccessor().allDaughterRelations(object):
301  if child in unsortedObjects:
302  i += 1
303  unsortedObjects.remove(child)
304  sortedObjects.insert(i, child)
305  sortedObjects += unsortedObjects
306  return tuple(sortedObjects)
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger list("!*","!HLTx*"if it matches 2 triggers or more) will accept the event if all the matching triggers are FAIL.It will reject the event if any of the triggers are PASS or EXCEPTION(this matches the behavior of"!*"before the partial wildcard feature was incorporated).Triggers which are in the READY state are completely ignored.(READY should never be returned since the trigger paths have been run
def Vispa.Views.BoxDecayView.BoxDecayView.arrangeUsingRelations (   self)

Definition at line 52 of file BoxDecayView.py.

References Vispa.Views.BoxDecayView.BoxDecayView._arrangeUsingRelationsFlag.

Referenced by Vispa.Views.BoxDecayView.BoxDecayContainer.autolayoutAlgorithm(), Vispa.Views.BoxDecayView.BoxDecayView.createBoxesRecursive(), and Vispa.Views.BoxDecayView.BoxDecayView.updateContent().

52 
53  def arrangeUsingRelations(self):
54  return self._arrangeUsingRelationsFlag
def Vispa.Views.BoxDecayView.BoxDecayView.boxContentScript (   self)

Definition at line 64 of file BoxDecayView.py.

References Vispa.Views.BoxDecayView.BoxDecayView._boxContentScript.

64 
65  def boxContentScript(self):
66  return self._boxContentScript
def Vispa.Views.BoxDecayView.BoxDecayView.cancel (   self)
Stop all running operations.

Definition at line 78 of file BoxDecayView.py.

References Vispa.Views.BoxDecayView.BoxDecayView._operationId.

78 
79  def cancel(self):
80  """ Stop all running operations.
81  """
82  self._operationId += 1
def Vispa.Views.BoxDecayView.BoxDecayView.checkNumberOfObjects (   self)

Definition at line 83 of file BoxDecayView.py.

References Vispa.Share.ObjectHolder.ObjectHolder.numberDataObjectChildren(), and Vispa.Views.BoxDecayView.BoxDecayView.WARNING_ABOVE.

Referenced by Vispa.Views.BoxDecayView.BoxDecayView.updateContent().

83 
84  def checkNumberOfObjects(self):
85  numObjects=self.numberDataObjectChildren()
86  if self.WARNING_ABOVE>0 and numObjects>self.WARNING_ABOVE:
87  result=QCoreApplication.instance().showMessageBox("You are about to display more than "+str(numObjects)+" (>"+str(self.WARNING_ABOVE)+") objects. This may take some time. ",
88  "Would you like to continue?",
89  QMessageBox.Yes | QMessageBox.No,
90  QMessageBox.Yes, [("Yes (remember my decision)",QMessageBox.YesRole)])
91  if result == QMessageBox.No:
92  return False
93  if result == 0:
94  self.WARNING_ABOVE=0
95  return True
def Vispa.Views.BoxDecayView.BoxDecayView.closeEvent (   self,
  event 
)

Definition at line 307 of file BoxDecayView.py.

References EopVariables.clear(), TrackerTreeVariables.clear(), CastorCalibrationsSet.clear(), TkOffTreeVariables.clear(), ReducedTrackerTreeVariables.clear(), StringMap.clear(), AlignmentErrors.clear(), AlignmentErrorsExtended.clear(), Alignments.clear(), ora::MultiRecordSelectOperation.clear(), CastorCalibrationWidthsSet.clear(), HcalCalibrationsSet.clear(), HcalCalibrationWidthsSet.clear(), HLTTauDQMOfflineObjects.clear(), OOTPileupCorrectionColl.clear(), NumberOfDevices.clear(), edm::reftobase::RefVectorHolderBase.clear(), Overlayer.clear(), cond::PayloadRef< DataT >.clear(), ora::DataElement.clear(), Vispa.Plugins.EdmBrowser.EventContentView.EventContentView.clear(), StorableDoubleMap< T >.clear(), ora::TransactionCache.clear(), edm::BranchChildren.clear(), ora::MultiIndexDataTrie.clear(), ora::Sequences.clear(), ora::RelationalDeleter.clear(), Vispa.Share.FindAlgorithm.FindAlgorithm.clear(), CSCALCTDigi.clear(), CSCCLCTDigi.clear(), ecaldqm::MESetMulti.clear(), edm::reftobase::BaseVectorHolder< T >.clear(), edm::reftobase::RefVectorHolder< REFV >.clear(), CSCCorrelatedLCTDigi.clear(), helper::ClusterStorer.clear(), reco::PattRecoTree< ScaleType, Cluster >.clear(), edm::reftobase::IndirectVectorHolder< T >.clear(), ClusterCollectionFP420.clear(), RecoCollectionFP420.clear(), TrackCollectionFP420.clear(), ClhepEvaluator.clear(), python.seqvaluedict.seqdict.clear(), OpticalAlignMeasurementInfo.clear(), ora::NamedSequence.clear(), DigiCollectionFP420.clear(), ora::PoolDbCache.clear(), SegmentToTrackAssociator.clear(), ora::ContainerUpdateTable.clear(), FWFromSliceSelector.clear(), pos::PixelROCStatus.clear(), AlignmentParameterSelector.clear(), edm::reftobase::VectorHolder< T, REFVECTOR >.clear(), cond::SequenceManager.clear(), edm::OrphanHandleBase.clear(), DataFormats_MuonReco::dictionary::edm::OrphanHandleBase.clear(), edm::ParentageRegistry.clear(), CondIter< DataT >.clear(), ora::RelationalBuffer.clear(), ecaldqm::MESet.clear(), HLTPerformanceInfo::Module.clear(), SiPixelPerformanceSummary.clear(), ora::IArrayHandler.clear(), CSCTriggerContainer< T >.clear(), edm::RefToBaseVector< T >.clear(), edm::StreamedProduct.clear(), MuonResidualsFromTrack.clear(), ora::Handle< T >.clear(), ora::SequenceManager.clear(), DTBufferTree< Key, Content >.clear(), DrawIteration.clear(), edm::ThinnedAssociationsHelper.clear(), OpticalAlignParam.clear(), ora::PVectorReader.clear(), cond::Iov_t.clear(), edm::WorkerRegistry.clear(), egHLT::OffEvt.clear(), edm::ScheduleItems.clear(), Vispa.Views.TreeView.TreeView.clear(), SiStripDelay.clear(), edm::HandleBase.clear(), DataFormats_MuonReco::dictionary::edm::HandleBase.clear(), ora::CArrayHandler.clear(), SiStripQuality.clear(), edm::TrieFactory< T >.clear(), DDI::Store< N, I, K >.clear(), cond::Tag_t.clear(), ora::IRelationalReader.clear(), edm::Association< C >.clear(), DDBase< N, C >.clear(), Vispa.Views.TableView.TableView.clear(), edm::DetSet< T >.clear(), SiPixelCalibDigiProducer.clear(), DTTFFEDReader.clear(), ora::STLContainerHandler.clear(), ora::QueryableVectorReader.clear(), ora::MappingDatabase.clear(), edm::ProcessHistory.clear(), FBaseSimEvent.clear(), ora::PVectorHandler.clear(), BXVector< T >.clear(), ora::PrimitiveReader.clear(), Vispa.Views.PropertyView.PropertyView.clear(), ora::OraReferenceReader.clear(), edm::PtrVectorBase.clear(), HLTPerformanceInfo::Path.clear(), DataFormats_MuonReco::dictionary::edm::PtrVectorBase.clear(), ora::BlobReader.clear(), l1t::IntervalManager< TimeType, PayloadType >.clear(), ora::UniqueRefReader.clear(), ora::OraPtrReader.clear(), ora::CArrayReader.clear(), ora::InlineCArrayReader.clear(), edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >.clear(), ora::ObjectReader.clear(), HcalDTCHeader.clear(), OpticalAlignInfo.clear(), DTCCBConfig.clear(), ora::STLContainerReader.clear(), CondBasicIter.clear(), Vispa.Views.WidgetView.WidgetView.clear(), edm::RefVectorBase< T >.clear(), ora::NamedRefReader.clear(), CSCDCCExaminer.clear(), DTLVStatus.clear(), DTT0.clear(), DDXMLElement.clear(), DTTPGParameters.clear(), FWGeometry.clear(), ora::SpecialSTLContainerHandler.clear(), DTRangeT0.clear(), CastorCTDCHeader.clear(), edm::Handle< GenericObject >.clear(), Vispa.Plugins.EdmBrowser.EventContentDataAccessor.EventContentDataAccessor.clear(), HcalDCCHeader.clear(), DTHVStatus.clear(), AlignmentParameterSelector::PXBDetIdRanges.clear(), edm::EventSetup.clear(), edm::Handle< FWGenericObject >.clear(), edm::TrieNode< T >.clear(), DTReadOutMapping.clear(), edm::OwnArray< T, MAX_SIZE, P >.clear(), reco::FlavorHistoryEvent.clear(), AlignmentParameterSelector::PXFDetIdRanges.clear(), edm::RefVector< C, T, F >.clear(), edm::OwnVector< T, P >.clear(), DTTtrig.clear(), AlignmentParameterSelector::TIBDetIdRanges.clear(), DTPerformance.clear(), edm::AssociationMap< Tag >.clear(), DTStatusFlag.clear(), HLTPerformanceInfo.clear(), AlignmentParameterSelector::TIDDetIdRanges.clear(), edm::ValueMap< T >.clear(), DTDeadFlag.clear(), ora::SelectOperation.clear(), AlignmentParameterSelector::TOBDetIdRanges.clear(), DTMtime.clear(), AlignmentParameterSelector::TECDetIdRanges.clear(), pos::PixelFEDCard.clear(), ora::PVector< Tp >.clear(), graph< N, E >.clear(), edm::Trie< T >.clear(), reco::HitPattern.clear(), ora::QueryableVector< Tp >.clear(), Json::Value.clear(), and BeautifulSoup.Tag.clear().

308  def closeEvent(self, event):
309  self.clear()
310  WidgetView.closeEvent(self, event)
def Vispa.Views.BoxDecayView.BoxDecayView.collapseAll (   self)

Definition at line 322 of file BoxDecayView.py.

References Vispa.Views.WidgetView.WidgetView.widgets(), and progressbar.ProgressBar.widgets.

Referenced by Vispa.Views.TreeView.TreeView.expandToDepthDialog().

323  def collapseAll(self):
324  for widget in self.widgets():
325  if isinstance(widget,WidgetContainer) and not widget.collapsed():
326  widget.toggleCollapse()
def Vispa.Views.BoxDecayView.BoxDecayView.collapseObject (   self,
  object 
)

Definition at line 344 of file BoxDecayView.py.

References Vispa.Views.WidgetView.WidgetView.widgetByObject(), and Vispa.Views.BoxDecayView.BoxDecayContainer.widgetByObject().

345  def collapseObject(self,object):
346  widget=self.widgetByObject(object)
347  if isinstance(widget,WidgetContainer) and not widget.collapsed():
348  widget.toggleCollapse()
def Vispa.Views.BoxDecayView.BoxDecayView.contentStartX (   self)

Definition at line 311 of file BoxDecayView.py.

References Vispa.Gui.Zoomable.Zoomable.zoomFactor().

312  def contentStartX(self):
313  return 10 * self.zoomFactor()
def Vispa.Views.BoxDecayView.BoxDecayView.contentStartY (   self)

Definition at line 314 of file BoxDecayView.py.

References Vispa.Gui.Zoomable.Zoomable.zoomFactor().

315  def contentStartY(self):
316  return 10 * self.zoomFactor()
def Vispa.Views.BoxDecayView.BoxDecayView.createBox (   self,
  widgetParent,
  container,
  title,
  text 
)
Create a WidgetContainer or ConnectableWidget and set its properties.

Definition at line 129 of file BoxDecayView.py.

Referenced by Vispa.Views.BoxDecayView.BoxDecayView.createBoxesRecursive().

130  def createBox(self, widgetParent, container, title, text):
131  """ Create a WidgetContainer or ConnectableWidget and set its properties.
132  """
133  if container:
134  widget = BoxDecayContainer(widgetParent)
135  else:
136  widget = ConnectableWidget(widgetParent)
137  widget.noRearangeContent()
138  widget.setText(text)
139  widget.textField().setOutputFlags(Qt.AlignLeft)
140  widget.setShowPortNames(True)
141  widget.setDragable(False)
142  widget.setDeletable(False)
143  widget.enableAutosizing(True, False)
144 # widget.ROUNDRECT_RADIUS=0
145 # widget.setColors(Qt.black,Qt.white,Qt.white)
146  widget.setTitle(title)
147  return widget
def Vispa.Views.BoxDecayView.BoxDecayView.createBoxesRecursive (   self,
  operationId,
  objects,
  widgetParent,
  positionName = "0" 
)
Creates a box from an object.

All children of this object are created recursively.

Definition at line 213 of file BoxDecayView.py.

References Vispa.Views.BoxDecayView.BoxDecayView._boxContentScript, Vispa.Views.BoxDecayView.BoxDecayView._operationId, Vispa.Views.BoxDecayView.BoxDecayView._sortBeforeArranging, Vispa.Views.BoxDecayView.BoxDecayView._sortByRelations(), Vispa.Views.BoxDecayView.BoxDecayView._updateCounter, Vispa.Plugins.ConfigEditor.ConfigEditorBoxView.ConfigEditorBoxView._updateCounter, Vispa.Gui.Header.FrameWithHeader.addWidget(), Vispa.Gui.ToolBoxContainer.ToolBoxContainer.addWidget(), Vispa.Views.WidgetView.WidgetView.addWidget(), Vispa.Share.ObjectHolder.ObjectHolder.applyFilter(), Vispa.Views.BoxDecayView.BoxDecayView.arrangeUsingRelations(), Vispa.Gui.ZoomableScrollableWidgetOwner.ZoomableScrollableWidgetOwner.autosizeScrollArea(), Vispa.Plugins.EdmBrowser.EdmBrowserBoxView.EdmBrowserBoxView.createBox(), Vispa.Plugins.ConfigEditor.ConfigEditorBoxView.ConfigEditorBoxView.createBox(), Vispa.Views.BoxDecayView.BoxDecayView.createBox(), Vispa.Views.BoxDecayView.BoxDecayView.createBoxesRecursive(), Vispa.Plugins.ConfigEditor.ConfigEditorBoxView.ConfigEditorBoxView.createConnections(), Vispa.Views.BoxDecayView.BoxDecayView.createConnections(), Vispa.Share.ObjectHolder.ObjectHolder.dataAccessor(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController.dataAccessor(), Vispa.Main.Exceptions.exception_traceback(), diffTwoXMLs.label, python.rootplot.root2matplotlib.replace(), and Vispa.Views.BoxDecayView.BoxDecayView.UPDATE_EVERY.

Referenced by Vispa.Views.BoxDecayView.BoxDecayView.createBoxesRecursive(), and Vispa.Views.BoxDecayView.BoxDecayView.updateContent().

214  def createBoxesRecursive(self, operationId, objects, widgetParent, positionName="0"):
215  """ Creates a box from an object.
216 
217  All children of this object are created recursively.
218  """
219  #logging.debug(__name__ + ": createBoxesRecursive")
220  if self._sortBeforeArranging and self.arrangeUsingRelations():
221  thread = ThreadChain(self._sortByRelations, objects)
222  while thread.isRunning():
223  if not Application.NO_PROCESS_EVENTS:
224  QCoreApplication.instance().processEvents()
225  objects=thread.returnValue()
226 
227  i = 1
228  for object in objects:
229  if operationId != self._operationId:
230  return None
231  # Process application event loop in order to accept user input during time consuming drawing operation
232  self._updateCounter+=1
233  if self._updateCounter>=self.UPDATE_EVERY:
234  self._updateCounter=0
235  if not Application.NO_PROCESS_EVENTS:
236  QCoreApplication.instance().processEvents()
237  # create box
238  text = ""
239  if self._boxContentScript != "":
240  dataAccessorObject = BasicDataAccessorInterface(object, self.dataAccessor(), False)
241  try:
242  text = dataAccessorObject.runScript(self._boxContentScript).replace("None", "")
243  except Exception, e:
244  logging.info("Error in script: " + exception_traceback())
245  text = ""
246  widget = self.createBox(widgetParent, self.dataAccessor().isContainer(object), self.dataAccessor().label(object), text)
247  child_positionName = positionName + "-" + str(i)
248  self.addWidget(widget, object, child_positionName)
249  i += 1
250 
251  # create Connections
252  if not self.createConnections(operationId, widgetParent):
253  return None
254 
255  for widget in widgetParent.children():
256  # Abort drawing if operationId out of date
257  if operationId != self._operationId:
258  return None
259  # create children objects
260  if isinstance(widget, WidgetContainer):
261  if not self.createBoxesRecursive(operationId, self.applyFilter(self.dataAccessor().children(widget.object)), widget, positionName):
262  return None
263  if isinstance(widget, (WidgetContainer,ConnectableWidget)):
264  widget.noRearangeContent(False)
265 
266  for widget in widgetParent.children():
267  # Abort drawing if operationId out of date
268  if operationId != self._operationId:
269  return None
270  # draw box
271  if isinstance(widget, (WidgetContainer,ConnectableWidget)):
272  widget.show()
273  self.autosizeScrollArea()
274 
275  return True
def Vispa.Views.BoxDecayView.BoxDecayView.createConnection (   self,
  w1,
  name1,
  w2,
  name2,
  color = None,
  portsVisible = True 
)
Create a connection widget between w1 and w2.

Definition at line 174 of file BoxDecayView.py.

References Vispa.Views.BoxDecayView.BoxDecayView.createSinkPort(), and Vispa.Views.BoxDecayView.BoxDecayView.createSourcePort().

Referenced by Vispa.Views.BoxDecayView.BoxDecayView.createConnections().

175  def createConnection(self, w1, name1, w2, name2, color=None, portsVisible=True):
176  """ Create a connection widget between w1 and w2.
177  """
178  port1 = self.createSourcePort(w1, name1, portsVisible)
179  port2 = self.createSinkPort(w2, name2, portsVisible)
180  connection = LinearPortConnection(w1.parent(), port1, port2)
181  connection.setSelectable(False)
182  connection.setDeletable(False)
183 
184  if color:
185  connection.FILL_COLOR2 = color
186  return connection
def Vispa.Views.BoxDecayView.BoxDecayView.createConnections (   self,
  operationId,
  widgetParent 
)
Create connection lines between objects.

In BoxDecayView default mother-daughter relations are vizualized by the connections.

Definition at line 187 of file BoxDecayView.py.

References Vispa.Views.BoxDecayView.BoxDecayView._operationId, Vispa.Views.BoxDecayView.BoxDecayView._updateCounter, Vispa.Plugins.ConfigEditor.ConfigEditorBoxView.ConfigEditorBoxView._updateCounter, Vispa.Views.BoxDecayView.BoxDecayView.createConnection(), Vispa.Share.ObjectHolder.ObjectHolder.dataAccessor(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController.dataAccessor(), Vispa.Views.BoxDecayView.BoxDecayView.UPDATE_EVERY, Vispa.Views.WidgetView.WidgetView.widgetByObject(), and Vispa.Views.BoxDecayView.BoxDecayContainer.widgetByObject().

Referenced by Vispa.Views.BoxDecayView.BoxDecayView.createBoxesRecursive().

188  def createConnections(self, operationId, widgetParent):
189  """ Create connection lines between objects.
190 
191  In BoxDecayView default mother-daughter relations are vizualized by the connections.
192  """
193  for w1 in widgetParent.children():
194  # Process application event loop in order to accept user input during time consuming drawing operation
195  self._updateCounter+=1
196  if self._updateCounter>=self.UPDATE_EVERY:
197  self._updateCounter=0
198  if not Application.NO_PROCESS_EVENTS:
199  QCoreApplication.instance().processEvents()
200  # Abort drawing if operationId out of date
201  if operationId != self._operationId:
202  return None
203  if isinstance(w1, ConnectableWidget):
204  w1.setShowPortNames(False)
205  for daughter in self.dataAccessor().daughterRelations(w1.object):
206  if self.dataAccessor().isContainer(w1.object) or self.dataAccessor().isContainer(daughter):
207  continue
208  w2 = self.widgetByObject(daughter)
209  if w2:
210  connectionWidget = self.createConnection(w1, 'daughterRelations', w2, 'motherRelations', None, False)
211  connectionWidget.stackUnder(w2)
212  return True
def Vispa.Views.BoxDecayView.BoxDecayView.createSinkPort (   self,
  w,
  name,
  visible = True 
)
Create a sink port and set its properties.

Definition at line 161 of file BoxDecayView.py.

Referenced by Vispa.Views.BoxDecayView.BoxDecayView.createConnection().

162  def createSinkPort(self, w, name, visible=True):
163  """ Create a sink port and set its properties.
164  """
165  port = w.sinkPort(name)
166  if not port:
167  port = w.addSinkPort(name)
168  port.setDragable(False)
169  port.setSelectable(False)
170  if not visible:
171  port.HEIGHT = 0
172  port.show()
173  return port
def Vispa.Views.BoxDecayView.BoxDecayView.createSourcePort (   self,
  w,
  name,
  visible = True 
)
Create a source port and set its properties.

Definition at line 148 of file BoxDecayView.py.

Referenced by Vispa.Views.BoxDecayView.BoxDecayView.createConnection().

149  def createSourcePort(self, w, name, visible=True):
150  """ Create a source port and set its properties.
151  """
152  port = w.sourcePort(name)
153  if not port:
154  port = w.addSourcePort(name)
155  port.setDragable(False)
156  port.setSelectable(False)
157  if not visible:
158  port.HEIGHT = 0
159  port.show()
160  return port
def Vispa.Views.BoxDecayView.BoxDecayView.expandAll (   self)

Definition at line 317 of file BoxDecayView.py.

References Vispa.Views.WidgetView.WidgetView.widgets(), and progressbar.ProgressBar.widgets.

318  def expandAll(self):
319  for widget in self.widgets():
320  if isinstance(widget,WidgetContainer) and widget.collapsed():
321  widget.toggleCollapse()
def Vispa.Views.BoxDecayView.BoxDecayView.expandObject (   self,
  object 
)

Definition at line 339 of file BoxDecayView.py.

References Vispa.Views.WidgetView.WidgetView.widgetByObject(), and Vispa.Views.BoxDecayView.BoxDecayContainer.widgetByObject().

340  def expandObject(self,object):
341  widget=self.widgetByObject(object)
342  if isinstance(widget,WidgetContainer) and widget.collapsed():
343  widget.toggleCollapse()
def Vispa.Views.BoxDecayView.BoxDecayView.expandToDepth (   self,
  depth 
)

Definition at line 327 of file BoxDecayView.py.

References Vispa.Views.WidgetView.WidgetView.widgets(), and progressbar.ProgressBar.widgets.

Referenced by Vispa.Views.TreeView.TreeView.expandToDepthDialog(), and Vispa.Views.TreeView.TreeView.updateContent().

328  def expandToDepth(self,depth):
329  for widget in self.widgets():
330  if isinstance(widget,WidgetContainer):
331  mother=widget
332  d=0
333  while isinstance(mother.parent(),WidgetContainer):
334  mother=mother.parent()
335  d+=1
336  if not widget.collapsed() and d>=depth or\
337  widget.collapsed() and d<depth:
338  widget.toggleCollapse()
def Vispa.Views.BoxDecayView.BoxDecayView.setArrangeUsingRelations (   self,
  set 
)

Definition at line 44 of file BoxDecayView.py.

References Vispa.Views.BoxDecayView.BoxDecayView.WARNING_ABOVE.

44 
45  def setArrangeUsingRelations(self, set):
46  if self.WARNING_ABOVE>0:
47  if set:
48  self.WARNING_ABOVE=300
49  else:
50  self.WARNING_ABOVE=1000
def Vispa.Views.BoxDecayView.BoxDecayView.setBoxContentScript (   self,
  script 
)

Definition at line 61 of file BoxDecayView.py.

61 
62  def setBoxContentScript(self, script):
63  self._boxContentScript = script
def Vispa.Views.BoxDecayView.BoxDecayView.setDataAccessor (   self,
  accessor 
)
Sets the DataAccessor from which the boxes are created.

You need to call updateContent() in order to make the changes visible.   

Definition at line 67 of file BoxDecayView.py.

67 
68  def setDataAccessor(self, accessor):
69  """ Sets the DataAccessor from which the boxes are created.
70 
71  You need to call updateContent() in order to make the changes visible.
72  """
73  if not isinstance(accessor, BasicDataAccessor):
74  raise TypeError(__name__ + " requires data accessor of type BasicDataAccessor.")
75  if not isinstance(accessor, RelativeDataAccessor):
76  raise TypeError(__name__ + " requires data accessor of type RelativeDataAccessor.")
77  WidgetView.setDataAccessor(self, accessor)
def Vispa.Views.BoxDecayView.BoxDecayView.setSortBeforeArranging (   self,
  set 
)

Definition at line 55 of file BoxDecayView.py.

References Vispa.Views.BoxDecayView.BoxDecayView._sortBeforeArranging.

55 
56  def setSortBeforeArranging(self, set):
57  self._sortBeforeArranging = set
def Vispa.Views.BoxDecayView.BoxDecayView.sortBeforeArranging (   self)

Definition at line 58 of file BoxDecayView.py.

References Vispa.Views.BoxDecayView.BoxDecayView._sortBeforeArranging.

58 
59  def sortBeforeArranging(self):
def Vispa.Views.BoxDecayView.BoxDecayView.toggleCollapsed (   self,
  object 
)

Definition at line 349 of file BoxDecayView.py.

References edm::signalslot::Signal< T >.emit(), edm::signalslot::Signal< void(StreamID)>.emit(), edm::signalslot::Signal< void(const std::string &, const std::string &)>.emit(), edm::signalslot::Signal< void(service::SystemBounds const &)>.emit(), edm::signalslot::Signal< void(StreamContext const &)>.emit(), edm::signalslot::Signal< void(const std::string &, const edmplugin::PluginInfo &)>.emit(), edm::signalslot::Signal< void(TerminationOrigin)>.emit(), edm::signalslot::Signal< void(StreamContext const &, PathContext const &, HLTPathStatus const &)>.emit(), edm::signalslot::Signal< void(edm::StreamContext const &, edm::ModuleCallingContext const &)>.emit(), edm::signalslot::Signal< void()>.emit(), edm::signalslot::Signal< void(std::string const &, bool)>.emit(), edm::signalslot::Signal< void(GlobalContext const &, ModuleCallingContext const &)>.emit(), edm::signalslot::Signal< void(const edmplugin::SharedLibrary &)>.emit(), edm::signalslot::Signal< void(edm::BranchDescription const &)>.emit(), edm::signalslot::Signal< void(GlobalContext const &)>.emit(), edm::signalslot::Signal< void(unsigned int, unsigned int)>.emit(), edm::signalslot::Signal< void(StreamContext const &, PathContext const &)>.emit(), edm::signalslot::Signal< void(GlobalContext const &, TerminationOrigin)>.emit(), edm::signalslot::Signal< void(const boost::filesystem::path &)>.emit(), edm::signalslot::Signal< void(const edmplugin::PluginFactoryBase *)>.emit(), edm::signalslot::Signal< void(PathsAndConsumesOfModulesBase const &, ProcessContext const &)>.emit(), edm::signalslot::Signal< void(StreamContext const &, ModuleCallingContext const &)>.emit(), edm::signalslot::Signal< void(StreamContext const &, TerminationOrigin)>.emit(), and edm::signalslot::Signal< void(ModuleDescription const &)>.emit().

Referenced by Vispa.Views.BoxDecayView.BoxDecayContainer.toggleCollapse().

350  def toggleCollapsed(self,object):
351  self.emit(SIGNAL("toggleCollapsed"), object)
def Vispa.Views.BoxDecayView.BoxDecayView.updateContent (   self,
  overrideCheck = False 
)
Clear the BoxDecayView and refill it.

Definition at line 96 of file BoxDecayView.py.

References Vispa.Views.BoxDecayView.BoxDecayView._operationId, Vispa.Views.BoxDecayView.BoxDecayView._sortBeforeArranging, Vispa.Views.BoxDecayView.BoxDecayView._sortByRelations(), Vispa.Views.WidgetView.WidgetView._updatingFlag, Vispa.Views.TreeView.TreeView._updatingFlag, Vispa.Views.TableView.TableView._updatingFlag, Vispa.Views.RootCanvasView.RootCanvasView._updatingFlag, Vispa.Views.PropertyView.PropertyView._updatingFlag, Vispa.Share.ObjectHolder.ObjectHolder.applyFilter(), Vispa.Views.BoxDecayView.BoxDecayView.arrangeUsingRelations(), Vispa.Gui.TextDialog.TextDialog.cancel, Vispa.Views.AbstractView.AbstractView.cancel(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController.cancel(), Vispa.Main.TabController.TabController.cancel(), Vispa.Main.Application.Application.cancel(), Vispa.Views.BoxDecayView.BoxDecayView.checkNumberOfObjects(), EopVariables.clear(), TrackerTreeVariables.clear(), CastorCalibrationsSet.clear(), TkOffTreeVariables.clear(), ReducedTrackerTreeVariables.clear(), StringMap.clear(), AlignmentErrors.clear(), AlignmentErrorsExtended.clear(), Alignments.clear(), ora::MultiRecordSelectOperation.clear(), CastorCalibrationWidthsSet.clear(), NumberOfDevices.clear(), HLTTauDQMOfflineObjects.clear(), OOTPileupCorrectionColl.clear(), HcalCalibrationsSet.clear(), edm::reftobase::RefVectorHolderBase.clear(), HcalCalibrationWidthsSet.clear(), Overlayer.clear(), cond::PayloadRef< DataT >.clear(), ora::TransactionCache.clear(), Vispa.Plugins.EdmBrowser.EventContentView.EventContentView.clear(), StorableDoubleMap< T >.clear(), ora::DataElement.clear(), ora::Sequences.clear(), edm::BranchChildren.clear(), ora::MultiIndexDataTrie.clear(), ora::RelationalDeleter.clear(), Vispa.Share.FindAlgorithm.FindAlgorithm.clear(), CSCALCTDigi.clear(), CSCCLCTDigi.clear(), ecaldqm::MESetMulti.clear(), edm::reftobase::BaseVectorHolder< T >.clear(), edm::reftobase::RefVectorHolder< REFV >.clear(), CSCCorrelatedLCTDigi.clear(), helper::ClusterStorer.clear(), reco::PattRecoTree< ScaleType, Cluster >.clear(), TrackCollectionFP420.clear(), edm::reftobase::IndirectVectorHolder< T >.clear(), ClusterCollectionFP420.clear(), RecoCollectionFP420.clear(), ClhepEvaluator.clear(), DigiCollectionFP420.clear(), ora::NamedSequence.clear(), python.seqvaluedict.seqdict.clear(), OpticalAlignMeasurementInfo.clear(), ora::PoolDbCache.clear(), pos::PixelROCStatus.clear(), cond::SequenceManager.clear(), FWFromSliceSelector.clear(), SegmentToTrackAssociator.clear(), ora::ContainerUpdateTable.clear(), AlignmentParameterSelector.clear(), edm::reftobase::VectorHolder< T, REFVECTOR >.clear(), DataFormats_MuonReco::dictionary::edm::OrphanHandleBase.clear(), edm::OrphanHandleBase.clear(), ora::RelationalBuffer.clear(), edm::ParentageRegistry.clear(), CondIter< DataT >.clear(), ecaldqm::MESet.clear(), HLTPerformanceInfo::Module.clear(), SiPixelPerformanceSummary.clear(), CSCTriggerContainer< T >.clear(), ora::IArrayHandler.clear(), edm::RefToBaseVector< T >.clear(), edm::StreamedProduct.clear(), ora::Handle< T >.clear(), MuonResidualsFromTrack.clear(), DTBufferTree< Key, Content >.clear(), ora::SequenceManager.clear(), DrawIteration.clear(), edm::ThinnedAssociationsHelper.clear(), ora::PVectorReader.clear(), cond::Iov_t.clear(), OpticalAlignParam.clear(), SiStripDelay.clear(), egHLT::OffEvt.clear(), edm::ScheduleItems.clear(), edm::WorkerRegistry.clear(), Vispa.Views.TreeView.TreeView.clear(), DataFormats_MuonReco::dictionary::edm::HandleBase.clear(), edm::HandleBase.clear(), ora::CArrayHandler.clear(), SiStripQuality.clear(), edm::TrieFactory< T >.clear(), DDI::Store< N, I, K >.clear(), cond::Tag_t.clear(), edm::Association< C >.clear(), ora::IRelationalReader.clear(), DDBase< N, C >.clear(), Vispa.Views.TableView.TableView.clear(), SiPixelCalibDigiProducer.clear(), edm::DetSet< T >.clear(), DTTFFEDReader.clear(), ora::STLContainerHandler.clear(), ora::QueryableVectorReader.clear(), ora::MappingDatabase.clear(), edm::ProcessHistory.clear(), FBaseSimEvent.clear(), BXVector< T >.clear(), ora::PVectorHandler.clear(), Vispa.Views.PropertyView.PropertyView.clear(), ora::PrimitiveReader.clear(), ora::OraReferenceReader.clear(), HLTPerformanceInfo::Path.clear(), DataFormats_MuonReco::dictionary::edm::PtrVectorBase.clear(), edm::PtrVectorBase.clear(), ora::BlobReader.clear(), l1t::IntervalManager< TimeType, PayloadType >.clear(), ora::UniqueRefReader.clear(), ora::OraPtrReader.clear(), ora::CArrayReader.clear(), ora::InlineCArrayReader.clear(), edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >.clear(), ora::ObjectReader.clear(), OpticalAlignInfo.clear(), HcalDTCHeader.clear(), DTCCBConfig.clear(), ora::STLContainerReader.clear(), CondBasicIter.clear(), Vispa.Views.WidgetView.WidgetView.clear(), edm::RefVectorBase< T >.clear(), ora::NamedRefReader.clear(), CSCDCCExaminer.clear(), DTLVStatus.clear(), DTT0.clear(), DDXMLElement.clear(), DTTPGParameters.clear(), FWGeometry.clear(), ora::SpecialSTLContainerHandler.clear(), DTRangeT0.clear(), CastorCTDCHeader.clear(), edm::Handle< GenericObject >.clear(), Vispa.Plugins.EdmBrowser.EventContentDataAccessor.EventContentDataAccessor.clear(), HcalDCCHeader.clear(), DTHVStatus.clear(), AlignmentParameterSelector::PXBDetIdRanges.clear(), edm::EventSetup.clear(), edm::Handle< FWGenericObject >.clear(), edm::TrieNode< T >.clear(), DTReadOutMapping.clear(), reco::FlavorHistoryEvent.clear(), edm::OwnArray< T, MAX_SIZE, P >.clear(), AlignmentParameterSelector::PXFDetIdRanges.clear(), edm::RefVector< C, T, F >.clear(), edm::OwnVector< T, P >.clear(), DTTtrig.clear(), AlignmentParameterSelector::TIBDetIdRanges.clear(), DTPerformance.clear(), edm::AssociationMap< Tag >.clear(), DTStatusFlag.clear(), HLTPerformanceInfo.clear(), AlignmentParameterSelector::TIDDetIdRanges.clear(), edm::ValueMap< T >.clear(), DTDeadFlag.clear(), ora::SelectOperation.clear(), AlignmentParameterSelector::TOBDetIdRanges.clear(), DTMtime.clear(), AlignmentParameterSelector::TECDetIdRanges.clear(), pos::PixelFEDCard.clear(), ora::PVector< Tp >.clear(), graph< N, E >.clear(), edm::Trie< T >.clear(), reco::HitPattern.clear(), ora::QueryableVector< Tp >.clear(), Json::Value.clear(), BeautifulSoup.Tag.clear(), Vispa.Views.BoxDecayView.BoxDecayView.createBoxesRecursive(), Vispa.Share.ObjectHolder.ObjectHolder.dataAccessor(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController.dataAccessor(), Vispa.Share.ObjectHolder.ObjectHolder.dataObject(), and Vispa.Share.ObjectHolder.ObjectHolder.dataObjects().

96 
97  def updateContent(self, overrideCheck=False):
98  """ Clear the BoxDecayView and refill it.
99  """
100  logging.debug(__name__ + ": updateContent")
101  self.cancel()
102  if self.dataAccessor() == None:
103  return False
104  self._updatingFlag+=1
105  self.clear()
106  if self.dataObject()==None:
107  self._updatingFlag-=1
108  return True
109  operationId = self._operationId
110  if not overrideCheck:
111  if not self.checkNumberOfObjects():
112  self._updatingFlag-=1
113  return False
114  objects = self.applyFilter(self.dataObjects())
115  if self._sortBeforeArranging and self.arrangeUsingRelations():
116  thread = ThreadChain(self._sortByRelations, objects)
117  while thread.isRunning():
118  if not Application.NO_PROCESS_EVENTS:
119  QCoreApplication.instance().processEvents()
120  objects=thread.returnValue()
121  if operationId != self._operationId:
122  self._updatingFlag -=1
123  return False
124  self.createBoxesRecursive(operationId, objects, self)
125  # arrange objects which are not within a container
126  BoxDecayContainer.autolayoutAlgorithm(self)
127  self._updatingFlag -=1
128  return operationId == self._operationId

Member Data Documentation

Vispa.Views.BoxDecayView.BoxDecayView._arrangeUsingRelationsFlag
private

Definition at line 37 of file BoxDecayView.py.

Referenced by Vispa.Views.BoxDecayView.BoxDecayView.arrangeUsingRelations().

Vispa.Views.BoxDecayView.BoxDecayView._boxContentScript
private

Definition at line 35 of file BoxDecayView.py.

Referenced by Vispa.Views.BoxDecayView.BoxDecayView.boxContentScript(), Vispa.Views.BoxDecayView.BoxDecayView.createBoxesRecursive(), and Vispa.Views.BoxDecayView.BoxDecayView.setBoxContentScript().

Vispa.Views.BoxDecayView.BoxDecayView._leftMargin
private

Definition at line 38 of file BoxDecayView.py.

Vispa.Views.BoxDecayView.BoxDecayView._operationId
private

Definition at line 34 of file BoxDecayView.py.

Referenced by Vispa.Views.TreeView.TreeView.cancel(), Vispa.Views.TableView.TableView.cancel(), Vispa.Views.LineDecayView.LineDecayView.cancel(), Vispa.Views.PropertyView.PropertyView.cancel(), Vispa.Views.BoxDecayView.BoxDecayView.cancel(), Vispa.Views.RootCanvasView.RootCanvasView.cancel(), Vispa.Views.BoxDecayView.BoxDecayView.createBoxesRecursive(), Vispa.Views.BoxDecayView.BoxDecayView.createConnections(), Vispa.Views.LineDecayView.LineDecayView.operationId(), Vispa.Views.RootCanvasView.RootCanvasView.updateContent(), Vispa.Views.TreeView.TreeView.updateContent(), Vispa.Views.LineDecayView.LineDecayView.updateContent(), Vispa.Views.TableView.TableView.updateContent(), and Vispa.Views.BoxDecayView.BoxDecayView.updateContent().

Vispa.Views.BoxDecayView.BoxDecayView._sortBeforeArranging
private

Definition at line 36 of file BoxDecayView.py.

Referenced by Vispa.Views.BoxDecayView.BoxDecayView.createBoxesRecursive(), Vispa.Views.BoxDecayView.BoxDecayView.setSortBeforeArranging(), Vispa.Views.BoxDecayView.BoxDecayView.sortBeforeArranging(), and Vispa.Views.BoxDecayView.BoxDecayView.updateContent().

Vispa.Views.BoxDecayView.BoxDecayView._topMargin
private

Definition at line 39 of file BoxDecayView.py.

Vispa.Views.BoxDecayView.BoxDecayView._updateCounter
private

Definition at line 40 of file BoxDecayView.py.

Referenced by Vispa.Views.BoxDecayView.BoxDecayView.createBoxesRecursive(), Vispa.Views.BoxDecayView.BoxDecayView.createConnections(), Vispa.Views.TreeView.TreeView.updateContent(), and Vispa.Views.TableView.TableView.updateContent().

string Vispa.Views.BoxDecayView.BoxDecayView.LABEL = "&Box Decay View"
static

Definition at line 25 of file BoxDecayView.py.

int Vispa.Views.BoxDecayView.BoxDecayView.NO_SORTING_ABOVE = 10000
static

Definition at line 27 of file BoxDecayView.py.

Referenced by Vispa.Views.BoxDecayView.BoxDecayView._sortByRelations().

int Vispa.Views.BoxDecayView.BoxDecayView.UPDATE_EVERY = 20
static

Definition at line 26 of file BoxDecayView.py.

Referenced by Vispa.Views.BoxDecayView.BoxDecayView.createBoxesRecursive(), Vispa.Plugins.ConfigEditor.ConfigEditorBoxView.ConfigEditorBoxView.createConnections(), Vispa.Views.BoxDecayView.BoxDecayView.createConnections(), Vispa.Views.TreeView.TreeView.updateContent(), and Vispa.Views.TableView.TableView.updateContent().

int Vispa.Views.BoxDecayView.BoxDecayView.WARNING_ABOVE = 500
static

Definition at line 28 of file BoxDecayView.py.

Referenced by Vispa.Views.BoxDecayView.BoxDecayView.checkNumberOfObjects(), Vispa.Views.BoxDecayView.BoxDecayView.setArrangeUsingRelations(), and Vispa.Views.LineDecayView.LineDecayView.updateContent().

Vispa.Views.BoxDecayView.BoxDecayView.WARNING_ABOVE

Definition at line 47 of file BoxDecayView.py.

Referenced by Vispa.Views.LineDecayView.LineDecayView.updateContent().