Public Attributes | |
PORT_LINES_TARGET_X | |
PORT_LINES_TARGET_Y | |
Public Attributes inherited from Vispa.Gui.VispaWidget.VispaWidget | |
fillColor1 | |
fillColor2 | |
framePenColor | |
HEIGHT | |
WIDTH | |
Private Member Functions | |
def | _addPort |
def | _getMaxPortTitleWidth |
def | _getMaxSinkTitleWidth |
def | _getMaxSourceTitleWidth |
Private Attributes | |
_menuWidget | |
_portNamesPosition | |
_ports | |
_showPortLines | |
_showPortNames | |
Widget which can be connection by PortConnections to other selectable widgets. Supports showing source and sink ports. The widget is owner of PortWidgets.
Definition at line 11 of file ConnectableWidget.py.
def Vispa.Gui.ConnectableWidget.ConnectableWidget.__init__ | ( | self, | |
parent = None , |
|||
name = None |
|||
) |
Constructor.
Definition at line 34 of file ConnectableWidget.py.
|
private |
Definition at line 237 of file ConnectableWidget.py.
References Vispa.Gui.ConnectableWidget.ConnectableWidget._ports, and Vispa.Gui.VispaWidget.VispaWidget.scheduleRearangeContent().
Referenced by Vispa.Gui.ConnectableWidget.ConnectableWidget.addSinkPort(), and Vispa.Gui.ConnectableWidget.ConnectableWidget.addSourcePort().
|
private |
Definition at line 322 of file ConnectableWidget.py.
References max(), Vispa.Gui.ConnectableWidget.ConnectableWidget.sinkPorts(), and Vispa.Gui.ConnectableWidget.ConnectableWidget.sourcePorts().
Referenced by Vispa.Gui.ConnectableWidget.ConnectableWidget._getMaxSinkTitleWidth(), and Vispa.Gui.ConnectableWidget.ConnectableWidget._getMaxSourceTitleWidth().
|
private |
Definition at line 334 of file ConnectableWidget.py.
References Vispa.Gui.ConnectableWidget.ConnectableWidget._getMaxPortTitleWidth().
Referenced by Vispa.Gui.ConnectableWidget.ConnectableWidget.defineDistances(), and Vispa.Gui.ConnectableWidget.ConnectableWidget.sizeHint().
|
private |
Definition at line 337 of file ConnectableWidget.py.
References Vispa.Gui.ConnectableWidget.ConnectableWidget._getMaxPortTitleWidth().
Referenced by Vispa.Gui.ConnectableWidget.ConnectableWidget.sizeHint().
def Vispa.Gui.ConnectableWidget.ConnectableWidget.addMenuEntry | ( | self, | |
name, | |||
slot = None |
|||
) |
Definition at line 511 of file ConnectableWidget.py.
References Vispa.Gui.ConnectableWidget.ConnectableWidget._menuWidget, python.multivaluedict.MyUserList.parent, FSimVertex.parent(), reco::PattRecoNode< Cluster >.parent(), DDI::Division.parent(), EmDQMReco::FourVectorMonitorElements.parent, graphwalker< ReferenceCountingPointer, ReferenceCountingPointer >.parent(), graphwalker< DDLogicalPart, DDPosData * >.parent(), graphwalker< N, E >.parent(), OpticalObject.parent(), DDLSAX2FileHandler.parent(), edm::DocFormatHelper.parent(), FWPSetTableManager::PSetData.parent, DDFilteredView.parent(), confdb.HLTProcess.parent, DDExpandedView.parent(), DDDivision.parent(), stor::TriggerSelector::TreeElement.parent(), DDXMLElement.parent(), argparse.HelpFormatter._Section.parent, python.rootplot.argparse.HelpFormatter._Section.parent, globcontrol.parent, TiXmlNode.parent, and Vispa.Views.LineDecayView.DecayObject.parent().
Referenced by Vispa.Gui.WidgetContainer.WidgetContainer.setShowCollapseMenu().
def Vispa.Gui.ConnectableWidget.ConnectableWidget.addSinkPort | ( | self, | |
name, | |||
description = None |
|||
) |
Adds sink port with name and optional description text.
Definition at line 223 of file ConnectableWidget.py.
References Vispa.Gui.ConnectableWidget.ConnectableWidget._addPort().
def Vispa.Gui.ConnectableWidget.ConnectableWidget.addSourcePort | ( | self, | |
name, | |||
description = None |
|||
) |
Adds source port with name and optional description text.
Definition at line 230 of file ConnectableWidget.py.
References Vispa.Gui.ConnectableWidget.ConnectableWidget._addPort().
def Vispa.Gui.ConnectableWidget.ConnectableWidget.arrangePorts | ( | self, | |
filter = None |
|||
) |
Sets positions of set ports depending on zoom factor. If filter is set it may be 'sink' or 'source'.
Definition at line 374 of file ConnectableWidget.py.
References Vispa.Gui.ConnectableWidget.ConnectableWidget._ports, ValidateGeometry.getDistance(), Vispa.Gui.VispaWidget.VispaWidget.getDistance(), and Vispa.Gui.ConnectableWidget.ConnectableWidget.getEffectivePortHeight().
Referenced by Vispa.Gui.ConnectableWidget.ConnectableWidget.rearangeContent(), and Vispa.Gui.ConnectableWidget.ConnectableWidget.sizeHint().
def Vispa.Gui.ConnectableWidget.ConnectableWidget.attachedConnections | ( | self | ) |
Definition at line 557 of file ConnectableWidget.py.
References Vispa.Gui.ConnectableWidget.ConnectableWidget._ports.
def Vispa.Gui.ConnectableWidget.ConnectableWidget.centerSinglePortVertically | ( | self, | |
ports, | |||
portX | |||
) |
Centers port vertically within body part (widget without title) of ModuleWidget. ports can either be the list of source or sink ports of ModuleWidget. portX specifies the designated x coordinate to be adjustable for sinks and sources.
Definition at line 362 of file ConnectableWidget.py.
References ValidateGeometry.getDistance(), Vispa.Gui.VispaWidget.VispaWidget.getDistance(), cscdqm::StripClusterFitData.height(), GifDisplay.height, FedTimingAnalysis.height(), lhef::SimpleMatrix< T >.height, btag::SimpleMatrix< T >.height, produceOfflineValidationTex.PageLayout.height, FWTextTableCellRenderer.height(), FWFramedTextTableCellRenderer.height(), ApvTimingAnalysis.height(), FWTableCellRendererBase.height(), FWGeometryTableManagerBase::ColorBoxRenderer.height(), svgfig.Plot.height, svgfig.Frame.height, Vispa.Gui.VispaWidget.VispaWidget.height(), svgfig.Dots.height, and Vispa.Gui.ConnectableWidget.ConnectableWidget.move().
def Vispa.Gui.ConnectableWidget.ConnectableWidget.defineDistances | ( | self, | |
keepDefaultRatio = False |
|||
) |
Extends distances of VispaWidget by the additionally needed distances for displaying ports.
Definition at line 155 of file ConnectableWidget.py.
References Vispa.Gui.ConnectableWidget.ConnectableWidget._getMaxSinkTitleWidth(), Vispa.Gui.ConnectableWidget.ConnectableWidget._showPortNames, Vispa.Gui.VispaWidget.VispaWidget.distances(), Vispa.Gui.ConnectableWidget.ConnectableWidget.sinkPorts(), and Vispa.Gui.VispaWidget.VispaWidget.textFieldIsSet().
Referenced by Vispa.Gui.VispaWidget.VispaWidget.getDistance().
def Vispa.Gui.ConnectableWidget.ConnectableWidget.deleteLater | ( | self | ) |
Definition at line 244 of file ConnectableWidget.py.
References Vispa.Gui.ConnectableWidget.ConnectableWidget._menuWidget, Vispa.Gui.ConnectableWidget.ConnectableWidget._ports, and Vispa.Gui.ConnectableWidget.ConnectableWidget.removeMenu().
Referenced by Vispa.Gui.PortConnection.PointToPointConnection.delete(), and Vispa.Gui.VispaWidget.VispaWidget.delete().
def Vispa.Gui.ConnectableWidget.ConnectableWidget.dragWidget | ( | self, | |
pPos | |||
) |
Definition at line 538 of file ConnectableWidget.py.
References Vispa.Gui.ConnectableWidget.ConnectableWidget.positionizeMenuWidget().
Referenced by Vispa.Gui.VispaWidget.VispaWidget.mouseMoveEvent().
def Vispa.Gui.ConnectableWidget.ConnectableWidget.drawBody | ( | self, | |
painter | |||
) |
Takes care of painting widget content on given painter.
Definition at line 400 of file ConnectableWidget.py.
References Vispa.Gui.VispaWidget.VispaWidget.drawImage(), Vispa.Gui.ConnectableWidget.ConnectableWidget.drawPortLines(), Vispa.Gui.ConnectableWidget.ConnectableWidget.drawPortNames(), Vispa.Gui.PortWidget.PortWidget.drawTextField(), and Vispa.Gui.VispaWidget.VispaWidget.drawTextField().
Referenced by Vispa.Gui.VispaWidget.VispaWidget.paint().
def Vispa.Gui.ConnectableWidget.ConnectableWidget.drawPortLines | ( | self, | |
painter | |||
) |
Draws lines from every port to a common point. See setShowPortLines().
Definition at line 441 of file ConnectableWidget.py.
References Vispa.Gui.ConnectableWidget.ConnectableWidget._showPortLines.
Referenced by Vispa.Gui.ConnectableWidget.ConnectableWidget.drawBody().
def Vispa.Gui.ConnectableWidget.ConnectableWidget.drawPortNames | ( | self, | |
painter | |||
) |
Paints port names next to PortWidget. See setShowPortNames().
Definition at line 408 of file ConnectableWidget.py.
References Vispa.Gui.ConnectableWidget.ConnectableWidget._portNamesPosition, Vispa.Gui.ConnectableWidget.ConnectableWidget._showPortNames, ValidateGeometry.getDistance(), Vispa.Gui.VispaWidget.VispaWidget.getDistance(), Vispa.Gui.ConnectableWidget.ConnectableWidget.NO_VALID_PORT_NAMES_POSITION_MESSAGE, Vispa.Gui.VispaWidget.VispaWidget.paint(), Vispa.Gui.ConnectableWidget.ConnectableWidget.PORT_NAMES_ABOVE_PORTS, Vispa.Gui.ConnectableWidget.ConnectableWidget.PORT_NAMES_NEXT_TO_PORTS, CaloMeanResponse.scale, LocalError.scale(), CaloSamples.scale(), DQMRivetClient::ScaleFactorOption.scale, python.rootplot.rootmath.Target.scale, reco::PattRecoPeak< Real >.scale(), python.rootplot.tree2hists.RootTree.scale, MuonErrorMatrix.scale, Vispa.Gui.VispaWidget.VispaWidget.scale(), Vispa.Gui.ConnectableWidget.ConnectableWidget.sinkPorts(), Vispa.Gui.ConnectableWidget.ConnectableWidget.sourcePorts(), TmModule.width, Random_struct.width, OpenBounds.width(), GifDisplay.width, SimpleDiskBounds.width(), PhysicsTools::Calibration::Range< Axis_t >.width(), GeneralTrapezoidalPlaneBounds.width(), RectangularPlaneBounds.width(), funct::GammaZInterference.width, RooCB.width, GeneralNSurfaceDelimitedBounds.width(), Bounds.width(), SimpleCylinderBounds.width(), funct::BreitWigner.width, DDTIDAxialCableAlgo.width, DDTECAxialCableAlgo.width, TrapezoidalPlaneBounds.width(), reco::CastorJetID.width, AlignableSurface.width(), DDI::Division.width(), FWCheckedTextTableCellRenderer.width(), function::ZMuStandaloneFunction.width, function::ZMuMuFunction.width, FWColumnLabelCellRenderer.width(), btag::SimpleMatrix< T >.width, lhef::SimpleMatrix< T >.width, function::ZMuTrackFunction.width, function::ZMuMuScaledFunction.width, function::ZMuStandaloneScaledFunction.width, function::ZMuTrackScaledFunction.width, function::ZMuTrackScaledNormalBack.width, FWCollectionSummaryModelCellRenderer.width(), SimpleConeBounds.width(), produceOfflineValidationTex.PageLayout.width, FWTextTableCellRenderer.width(), FWFramedTextTableCellRenderer.width(), FWTableCellRendererBase.width(), ProcNormalize::Map.width, reco::CastorCluster.width(), RooDoubleCB.width, reco::CastorJet.width(), reco::CastorEgamma.width(), ProcLikelihood::SplinePDF.width, FWTextTreeCellRenderer.width(), timing.width(), SiStripMonitorCluster::ClusterProperties.width, FWGeometryTableManagerBase::ColorBoxRenderer.width(), RooRelBW.width, DDDivision.width(), python.rootplot.utilities.Hist.width, dqmTnP::VoigtianPlusExponentialFitter.width, svgfig.Plot.width, svgfig.Frame.width, Vispa.Gui.VispaWidget.VispaWidget.width(), and svgfig.Dots.width.
Referenced by Vispa.Gui.ConnectableWidget.ConnectableWidget.drawBody().
def Vispa.Gui.ConnectableWidget.ConnectableWidget.dropArea | ( | self, | |
port | |||
) |
A drop area is a QRect in which the ConnectableWidget accepts dropping of PortWidgets to create connections. The area is greater than the port itself to make dropping easier.
Definition at line 460 of file ConnectableWidget.py.
References Vispa.Gui.ConnectableWidget.ConnectableWidget._showPortNames, ValidateGeometry.getDistance(), and Vispa.Gui.VispaWidget.VispaWidget.getDistance().
Referenced by Vispa.Gui.ConnectableWidget.ConnectableWidget.dropAreaPort().
def Vispa.Gui.ConnectableWidget.ConnectableWidget.dropAreaPort | ( | self, | |
position | |||
) |
If a port's drop area is associated with position the port is returned. If there is no drop area associated with the position None is returned. See dropArea().
Definition at line 475 of file ConnectableWidget.py.
References Vispa.Gui.ConnectableWidget.ConnectableWidget._ports, edm.contains(), and Vispa.Gui.ConnectableWidget.ConnectableWidget.dropArea().
Referenced by Vispa.Gui.ConnectableWidget.ConnectableWidget.mousePressEvent().
def Vispa.Gui.ConnectableWidget.ConnectableWidget.getEffectivePortHeight | ( | self, | |
port | |||
) |
Returns the bigger value of the source height and the height of the port name text field.
Definition at line 340 of file ConnectableWidget.py.
References Vispa.Gui.ConnectableWidget.ConnectableWidget._portNamesPosition, Vispa.Gui.ConnectableWidget.ConnectableWidget._showPortNames, max(), Vispa.Gui.ConnectableWidget.ConnectableWidget.NO_VALID_PORT_NAMES_POSITION_MESSAGE, Vispa.Gui.ConnectableWidget.ConnectableWidget.PORT_NAMES_ABOVE_PORTS, Vispa.Gui.ConnectableWidget.ConnectableWidget.PORT_NAMES_NEXT_TO_PORTS, CaloMeanResponse.scale, LocalError.scale(), CaloSamples.scale(), DQMRivetClient::ScaleFactorOption.scale, python.rootplot.rootmath.Target.scale, reco::PattRecoPeak< Real >.scale(), python.rootplot.tree2hists.RootTree.scale, MuonErrorMatrix.scale, and Vispa.Gui.VispaWidget.VispaWidget.scale().
Referenced by Vispa.Gui.ConnectableWidget.ConnectableWidget.arrangePorts(), and Vispa.Gui.ConnectableWidget.ConnectableWidget.getPortsHeight().
def Vispa.Gui.ConnectableWidget.ConnectableWidget.getPortsHeight | ( | self, | |
portType | |||
) |
Returns height of all ports of given type. portType can either be 'sink" or 'source'.
Definition at line 73 of file ConnectableWidget.py.
References Vispa.Gui.ConnectableWidget.ConnectableWidget.getEffectivePortHeight(), Vispa.Gui.ConnectableWidget.ConnectableWidget.sinkPorts(), Vispa.Gui.ConnectableWidget.ConnectableWidget.sourcePorts(), and detailsBasic3DVector.y.
Referenced by Vispa.Gui.ConnectableWidget.ConnectableWidget.sizeHint().
def Vispa.Gui.ConnectableWidget.ConnectableWidget.leaveEvent | ( | self, | |
event | |||
) |
Definition at line 499 of file ConnectableWidget.py.
References Vispa.Gui.ConnectableWidget.ConnectableWidget._menuWidget, python.DBCopy.DBCopy.cursor, TiXmlParsingData.cursor, TrackingRecHitLessFromGlobalPosition.geometry, HcalDigiTester.geometry, CSCLayer.geometry(), TrackingRecHitTranslator.geometry, SortHitsByGlobalPosition.geometry, SeedGeneratorForCRack.geometry, SeedGeneratorForCosmics.geometry, SiClusterTranslator.geometry, SortHitPointersByGlobalPosition.geometry, cms::CosmicTrackFinder.geometry, EcalDeadCellTriggerPrimitiveFilter.geometry, CaloHitRespoNew.geometry(), HcalSimHitsValidation.geometry, EcalHitResponse.geometry(), SiTrackerGaussianSmearingRecHitConverter.geometry, CaloMiscalibMapEcal.geometry, EcalDeadCellDeltaRFilter.geometry, CosmicTrajectoryBuilder.geometry, Numbers.geometry, CRackTrajectoryBuilder.geometry, HcalRecHitsAnalyzer.geometry, HcalRecHitsValidation.geometry, DetIdSelector.isSelected(), FWGUISubviewArea.isSelected(), FWEventItem::ModelInfo.isSelected(), Vispa.Gui.PortConnection.PointToPointConnection.isSelected(), Vispa.Gui.VispaWidget.VispaWidget.isSelected(), python.multivaluedict.MyUserList.parent, FSimVertex.parent(), reco::PattRecoNode< Cluster >.parent(), DDI::Division.parent(), EmDQMReco::FourVectorMonitorElements.parent, graphwalker< ReferenceCountingPointer, ReferenceCountingPointer >.parent(), graphwalker< DDLogicalPart, DDPosData * >.parent(), graphwalker< N, E >.parent(), OpticalObject.parent(), DDLSAX2FileHandler.parent(), edm::DocFormatHelper.parent(), FWPSetTableManager::PSetData.parent, DDFilteredView.parent(), confdb.HLTProcess.parent, DDExpandedView.parent(), DDDivision.parent(), stor::TriggerSelector::TreeElement.parent(), DDXMLElement.parent(), argparse.HelpFormatter._Section.parent, python.rootplot.argparse.HelpFormatter._Section.parent, globcontrol.parent, TiXmlNode.parent, and Vispa.Views.LineDecayView.DecayObject.parent().
def Vispa.Gui.ConnectableWidget.ConnectableWidget.menu | ( | self | ) |
Definition at line 508 of file ConnectableWidget.py.
References Vispa.Gui.ConnectableWidget.ConnectableWidget._menuWidget.
Referenced by Vispa.Gui.WidgetContainer.WidgetContainer.mouseMoveEvent(), Vispa.Views.LineDecayView.LineDecayContainer.mouseMoveEvent(), Vispa.Gui.WidgetContainer.WidgetContainer.showMenu(), and Vispa.Gui.WidgetContainer.WidgetContainer.toggleCollapse().
def Vispa.Gui.ConnectableWidget.ConnectableWidget.mouseMoveEvent | ( | self, | |
event | |||
) |
Definition at line 486 of file ConnectableWidget.py.
References Vispa.Gui.ConnectableWidget.ConnectableWidget._menuWidget, Vispa.Gui.ConnectableWidget.ConnectableWidget.positionizeMenuWidget(), and Vispa.Gui.ConnectableWidget.ConnectableWidget.showMenu().
def Vispa.Gui.ConnectableWidget.ConnectableWidget.mousePressEvent | ( | self, | |
event | |||
) |
Makes sure event is forwarded to both base classes. If position of event is within the dropArea of a port a QMouseEvent is sent to the port. See dropArea().
Definition at line 195 of file ConnectableWidget.py.
References Vispa.Gui.ConnectableWidget.ConnectableWidget.dropAreaPort().
def Vispa.Gui.ConnectableWidget.ConnectableWidget.mouseReleaseEvent | ( | self, | |
event | |||
) |
Calls realeseMouse() to make sure the widget does not grab the mouse. Necessary because ConnectableWidgetOwner.propagateEventUnderConnectionWidget() may call grabMouse() on this widget.
Definition at line 209 of file ConnectableWidget.py.
def Vispa.Gui.ConnectableWidget.ConnectableWidget.move | ( | self, | |
target | |||
) |
Definition at line 547 of file ConnectableWidget.py.
References Vispa.Gui.ConnectableWidget.ConnectableWidget._menuWidget, and Vispa.Gui.ConnectableWidget.ConnectableWidget.updateAttachedConnections().
Referenced by Vispa.Gui.WidgetContainer.WidgetContainer.autosize(), Vispa.Gui.ConnectableWidget.ConnectableWidget.centerSinglePortVertically(), Vispa.Gui.VispaWidget.VispaWidget.dragWidget(), Vispa.Views.LineDecayView.LineDecayContainer.mouseMoveEvent(), Vispa.Gui.VispaWidget.VispaWidget.setZoom(), and Vispa.Gui.PortConnection.PointToPointConnection.updateConnection().
def Vispa.Gui.ConnectableWidget.ConnectableWidget.port | ( | self, | |
name, | |||
type | |||
) |
Returns port with given name and of given type.
Definition at line 312 of file ConnectableWidget.py.
References Vispa.Gui.ConnectableWidget.ConnectableWidget._ports.
Referenced by Vispa.Gui.ConnectableWidget.ConnectableWidget.sinkPort(), and Vispa.Gui.ConnectableWidget.ConnectableWidget.sourcePort().
def Vispa.Gui.ConnectableWidget.ConnectableWidget.portExists | ( | self, | |
name, | |||
description = None |
|||
) |
Definition at line 261 of file ConnectableWidget.py.
References Vispa.Gui.ConnectableWidget.ConnectableWidget._ports.
def Vispa.Gui.ConnectableWidget.ConnectableWidget.ports | ( | self | ) |
Returns list containing all source and sink port widgets.
Definition at line 218 of file ConnectableWidget.py.
References Vispa.Gui.ConnectableWidget.ConnectableWidget._ports.
def Vispa.Gui.ConnectableWidget.ConnectableWidget.positionizeMenuWidget | ( | self | ) |
Definition at line 530 of file ConnectableWidget.py.
References Vispa.Gui.ConnectableWidget.ConnectableWidget._menuWidget, Vispa.Gui.VispaWidget.VispaWidget.getDistance(), max(), python.multivaluedict.MyUserList.parent, FSimVertex.parent(), reco::PattRecoNode< Cluster >.parent(), DDI::Division.parent(), EmDQMReco::FourVectorMonitorElements.parent, graphwalker< ReferenceCountingPointer, ReferenceCountingPointer >.parent(), graphwalker< DDLogicalPart, DDPosData * >.parent(), graphwalker< N, E >.parent(), OpticalObject.parent(), DDLSAX2FileHandler.parent(), edm::DocFormatHelper.parent(), FWPSetTableManager::PSetData.parent, DDFilteredView.parent(), confdb.HLTProcess.parent, DDExpandedView.parent(), DDDivision.parent(), stor::TriggerSelector::TreeElement.parent(), DDXMLElement.parent(), argparse.HelpFormatter._Section.parent, python.rootplot.argparse.HelpFormatter._Section.parent, globcontrol.parent, TiXmlNode.parent, Vispa.Views.LineDecayView.DecayObject.parent(), TmModule.width, Random_struct.width, OpenBounds.width(), GifDisplay.width, SimpleDiskBounds.width(), PhysicsTools::Calibration::Range< Axis_t >.width(), GeneralTrapezoidalPlaneBounds.width(), RectangularPlaneBounds.width(), funct::GammaZInterference.width, RooCB.width, GeneralNSurfaceDelimitedBounds.width(), Bounds.width(), SimpleCylinderBounds.width(), funct::BreitWigner.width, DDTIDAxialCableAlgo.width, DDTECAxialCableAlgo.width, TrapezoidalPlaneBounds.width(), reco::CastorJetID.width, AlignableSurface.width(), DDI::Division.width(), function::ZMuStandaloneFunction.width, FWCheckedTextTableCellRenderer.width(), btag::SimpleMatrix< T >.width, function::ZMuMuFunction.width, lhef::SimpleMatrix< T >.width, FWColumnLabelCellRenderer.width(), function::ZMuMuScaledFunction.width, function::ZMuTrackFunction.width, function::ZMuStandaloneScaledFunction.width, function::ZMuTrackScaledFunction.width, function::ZMuTrackScaledNormalBack.width, FWCollectionSummaryModelCellRenderer.width(), SimpleConeBounds.width(), produceOfflineValidationTex.PageLayout.width, FWFramedTextTableCellRenderer.width(), FWTextTableCellRenderer.width(), FWTableCellRendererBase.width(), ProcNormalize::Map.width, reco::CastorCluster.width(), RooDoubleCB.width, reco::CastorJet.width(), reco::CastorEgamma.width(), ProcLikelihood::SplinePDF.width, FWTextTreeCellRenderer.width(), timing.width(), SiStripMonitorCluster::ClusterProperties.width, FWGeometryTableManagerBase::ColorBoxRenderer.width(), RooRelBW.width, DDDivision.width(), python.rootplot.utilities.Hist.width, dqmTnP::VoigtianPlusExponentialFitter.width, svgfig.Plot.width, svgfig.Frame.width, Vispa.Gui.VispaWidget.VispaWidget.width(), svgfig.Dots.width, Quad.x, RPFlatParams::EP.x, reco::MuonRPCHitMatch.x, gen::PdfInfo.x, EnergyDepositUnit.x(), reco::MuonChamberMatch.x, SimplePixel.x, AmplitudeSegmentFP420.x(), lumiregperbunch.bsmeas.x, TkLayerMap::XYbin.x, QuantileCalculator::point.x, SignalPoint.x(), TwoBodyDecayParameters.x, reco::MuonMETCorrectionData.x(), cmsmath::MinimizerContext.x, Geom::Polar2Cartesian< T >.x(), SiStripFineDelayTOF.x(), EnergySegmentFP420.x(), RooCB.x, BinomialProbHelper.x(), HFShowerPhoton.x(), ClusterShape.x, EcalTBHodoscopeRecInfoAlgo::BeamTrack.x, reco::MuonSegmentMatch.x, SiPixelCluster::Pixel.x, RHStopTracer::StopPoint.x, VerticalInterpHistPdf.x(), BeamSpotFakeConditions.x, PGlobalSimHit::Vtx.x, RooPower.x, QcdLowPtDQM::Pixel.x(), TotemTestHistoClass::Hit.x, PV2DBase< float, PointTag, LocalTag >.x(), PV2DBase< T, VectorTag, FrameTag >.x(), PV2DBase< float, VectorTag, GlobalTag >.x(), PV2DBase< T, PointTag, FrameTag >.x(), PV2DBase< double, PointTag, LocalTag >.x(), Point2DBase< Scalar, LocalTag >.x(), Point2DBase< U, FrameTag >.x(), Vector2DBase< U, FrameTag >.x(), Point2DBase< T, Frame >.x(), Vector2DBase< U, Frame >.x(), Vector2DBase< T, Frame >.x(), Point2DBase< U, Frame >.x(), Point2DBase< T, FrameTag >.x(), Vector2DBase< T, FrameTag >.x(), PV2DBase< T, PVType, FrameType >.x(), mathSSE::Rot3< Scalar >.x(), mathSSE::Rot3< double >.x(), mathSSE::Rot3< float >.x(), mathSSE::Rot3< align::Scalar >.x(), Rot3< T >.x(), mathSSE::Rot3< T >.x(), HcalForwardAnalysis::Photon.x, Geom::Cylindrical2Cartesian< T >.x(), ParabolaFit::Point.x, BeamSpotOnline.x(), VertexType.x, MuScleFitMuon.x(), RooCMSShape.x, Pixinfo.x, RooDoubleCB.x, funct::GaussLegendreIntegrator.x, Basic2DVector< double >.x(), Basic2DVector< float >.x(), Basic2DVector< TmpType >.x(), Hit.x, Basic2DVector< U >.x(), reco::CastorCell.x(), Basic2DVector< T >.x(), PV3DBase< float, VectorTag, LocalTag >.x(), PV3DBase< float, PointTag, LocalTag >.x(), PV3DBase< Scalar, VectorTag, GlobalTag >.x(), PV3DBase< T, PointTag, GlobalTag >.x(), PV3DBase< T, VectorTag, FrameTag >.x(), PV3DBase< Scalar, PointTag, GlobalTag >.x(), PV3DBase< T, PointTag, FrameTag >.x(), PV3DBase< float, PointTag, GlobalTag >.x(), PV3DBase< align::Scalar, PointTag, GlobalTag >.x(), PV3DBase< long double, PointTag, GlobalTag >.x(), Point3DBase< U, LocalTag >.x(), Vector3DBase< U, LocalTag >.x(), Point3DBase< U, GlobalTag >.x(), Vector3DBase< U, GlobalTag >.x(), Point3DBase< U, FrameTag >.x(), Vector3DBase< U, FrameTag >.x(), Point3DBase< T, Frame >.x(), Vector3DBase< U, Frame >.x(), Vector3DBase< T, Frame >.x(), Point3DBase< U, Frame >.x(), Vector3DBase< T, FrameTag >.x(), PV3DBase< T, PVType, FrameType >.x(), Clust.x, PrimaryVertexAnalyzer::simPrimaryVertex.x, python.rootplot.utilities.Hist2D.x, reco::BeamSpot.x(), Geom::Spherical2Cartesian< T >.x(), Basic3DVector< long double >.x(), QcdLowPtDQM::Vertex.x(), PixelUnpackingRegions::Module.x, SiPixelCluster.x(), Rechit.x, reco::CastorEgamma.x(), reco::CastorJet.x(), MoveFlatParamsToDB.x, HcalForwardAnalysis.x, RooFermi.x, hit.x, Basic3DVector< Scalar >.x(), Basic3DVector< float >.x(), Basic3DVector< align::Scalar >.x(), Basic3DVector< U >.x(), Basic3DVector< double >.x(), Basic3DVector< T >.x(), stAPVGain.x, Geom::Cartesian2Cartesian3D< T >.x(), reco::Vertex.x(), reco::CastorTower.x(), reco::CastorCluster.x(), cmsmath::OneDimMinimizer.x(), GaussianSumUtilities1D::FinderState.x, PrimaryVertexAnalyzer4PU::simPrimaryVertex.x, VertexClassifier::GeneratedPrimaryVertex.x, RooRelBW.x, funct::GaussIntegrator.x, SiPixelDigitizerAlgorithm::EnergyDepositUnit.x(), XHistogram::position.x, mathSSE::Rot2< double >.x(), Rot2< T >.x(), mathSSE::Rot2< T >.x(), MuonGeometryArrange::MGACollection.x, python.rootplot.utilities.Hist.x, PrimaryVertexAnalyzer4PU::SimEvent.x, TrackClassifier::GeneratedPrimaryVertex.x, SiPixelDigitizerAlgorithm::SignalPoint.x(), reco::CaloCluster.x(), lhef::HEPEUP::FiveVector.x, EPOS::EPOS_Wrapper.x(), BeamSpotOnlineRaw_v4.x, RooLevelledExp.x, RawParticle.x(), MuScleFitUtils.x, perftools::detail::Hist.x, TkRotation< Scalar >.x(), TkRotation< double >.x(), TkRotation< float >.x(), TkRotation< align::Scalar >.x(), TkRotation< U >.x(), TkRotation< T >.x(), hitfit::Fourvec_Event.x(), TkRotation2D< double >.x(), TkRotation2D< T >.x(), PDF.x, svgfig.Plot.x, svgfig.Frame.x, Vispa.Views.LineDecayView.DecayNode.x(), PMuonSimHit::Vtx.x, PTrackerSimHit::Vtx.x, svgfig.Text.x, svgfig.TextGlobal.x, svgfig.VLine.x, Quad.y, RPFlatParams::EP.y, reco::MuonChamberMatch.y, EnergyDepositUnit.y(), TkLayerMap::XYbin.y, SimplePixel.y, AmplitudeSegmentFP420.y(), lumiregperbunch.bsmeas.y, SignalPoint.y(), TwoBodyDecayParameters.y, reco::MuonMETCorrectionData.y(), Geom::Polar2Cartesian< T >.y(), SiStripFineDelayTOF.y(), EnergySegmentFP420.y(), HFShowerPhoton.y(), ClusterShape.y, reco::MuonSegmentMatch.y, SiPixelCluster::Pixel.y, RHStopTracer::StopPoint.y, BeamSpotFakeConditions.y, PGlobalSimHit::Vtx.y, QcdLowPtDQM::Pixel.y(), TotemTestHistoClass::Hit.y, PV2DBase< double, PointTag, LocalTag >.y(), Point2DBase< U, FrameTag >.y(), Vector2DBase< T, Frame >.y(), PV2DBase< T, PVType, FrameType >.y(), Vector2DBase< U, FrameTag >.y(), Point2DBase< U, Frame >.y(), PV2DBase< float, PointTag, LocalTag >.y(), Point2DBase< Scalar, LocalTag >.y(), PV2DBase< T, PointTag, FrameTag >.y(), Vector2DBase< U, Frame >.y(), PV2DBase< T, VectorTag, FrameTag >.y(), Point2DBase< T, Frame >.y(), PV2DBase< float, VectorTag, GlobalTag >.y(), Vector2DBase< T, FrameTag >.y(), Point2DBase< T, FrameTag >.y(), Rot3< T >.y(), mathSSE::Rot3< T >.y(), mathSSE::Rot3< align::Scalar >.y(), mathSSE::Rot3< double >.y(), mathSSE::Rot3< Scalar >.y(), mathSSE::Rot3< float >.y(), HcalForwardAnalysis::Photon.y, ParabolaFit::Point.y, Geom::Cylindrical2Cartesian< T >.y(), BeamSpotOnline.y(), VertexType.y, MuScleFitMuon.y(), Pixinfo.y, Hit.y, Vector3DBase< U, GlobalTag >.y(), Vector3DBase< T, FrameTag >.y(), Vector3DBase< U, Frame >.y(), PV3DBase< Scalar, VectorTag, GlobalTag >.y(), Vector3DBase< T, Frame >.y(), PV3DBase< T, PointTag, FrameTag >.y(), Point3DBase< U, LocalTag >.y(), PV3DBase< T, PVType, FrameType >.y(), Point3DBase< U, GlobalTag >.y(), PV3DBase< float, PointTag, GlobalTag >.y(), Point3DBase< U, Frame >.y(), Vector3DBase< U, FrameTag >.y(), Vector3DBase< U, LocalTag >.y(), Point3DBase< T, Frame >.y(), PV3DBase< float, VectorTag, LocalTag >.y(), PV3DBase< Scalar, PointTag, GlobalTag >.y(), PV3DBase< T, PointTag, GlobalTag >.y(), PV3DBase< float, PointTag, LocalTag >.y(), PV3DBase< align::Scalar, PointTag, GlobalTag >.y(), PV3DBase< long double, PointTag, GlobalTag >.y(), PV3DBase< T, VectorTag, FrameTag >.y(), Point3DBase< U, FrameTag >.y(), Basic2DVector< T >.y(), Basic2DVector< U >.y(), Basic2DVector< float >.y(), Basic2DVector< TmpType >.y(), reco::CastorCell.y(), Basic2DVector< double >.y(), PrimaryVertexAnalyzer::simPrimaryVertex.y, Clust.y, python.rootplot.utilities.Hist2D.y, reco::BeamSpot.y(), Geom::Spherical2Cartesian< T >.y(), QcdLowPtDQM::Vertex.y(), Basic3DVector< long double >.y(), PixelUnpackingRegions::Module.y, Rechit.y, reco::CastorEgamma.y(), reco::CastorJet.y(), ProtoJet.y(), HcalForwardAnalysis.y, MoveFlatParamsToDB.y, SiPixelCluster.y(), hit.y, Basic3DVector< align::Scalar >.y(), Geom::Cartesian2Cartesian3D< T >.y(), stAPVGain.y, Basic3DVector< Scalar >.y(), Basic3DVector< T >.y(), Basic3DVector< U >.y(), Basic3DVector< double >.y(), Basic3DVector< float >.y(), reco::Vertex.y(), reco::CastorTower.y(), reco::Particle.y(), reco::CastorCluster.y(), PrimaryVertexAnalyzer4PU::simPrimaryVertex.y, reco::Candidate.y(), GaussianSumUtilities1D::FinderState.y, VertexClassifier::GeneratedPrimaryVertex.y, SiPixelDigitizerAlgorithm::EnergyDepositUnit.y(), XHistogram::position.y, reco::LeafRefCandidateT< T >.y(), LeafRefCandidateT< T >.y(), mathSSE::Rot2< double >.y(), Rot2< T >.y(), mathSSE::Rot2< T >.y(), MuonGeometryArrange::MGACollection.y, python.rootplot.utilities.Hist.y, PrimaryVertexAnalyzer4PU::SimEvent.y, TrackClassifier::GeneratedPrimaryVertex.y, python.rootplot.root2matplotlib.Hist.y, CandidateWithRef< Ref >.y(), reco::LeafCandidate.y(), SiPixelDigitizerAlgorithm::SignalPoint.y(), reco::CaloCluster.y(), EPOS::EPOS_Wrapper.y(), BeamSpotOnlineRaw_v4.y, ParticleBase.y(), RawParticle.y(), TkRotation< float >.y(), TkRotation< U >.y(), TkRotation< T >.y(), TkRotation< Scalar >.y(), TkRotation< align::Scalar >.y(), TkRotation< double >.y(), Exhume::CrossSection.y, TkRotation2D< T >.y(), TkRotation2D< double >.y(), svgfig.Plot.y, svgfig.Frame.y, Vispa.Views.LineDecayView.DecayNode.y(), PMuonSimHit::Vtx.y, svgfig.Curve.Sample.y, PTrackerSimHit::Vtx.y, svgfig.Text.y, svgfig.TextGlobal.y, and svgfig.HLine.y.
Referenced by Vispa.Gui.ConnectableWidget.ConnectableWidget.dragWidget(), Vispa.Gui.WidgetContainer.WidgetContainer.mouseMoveEvent(), Vispa.Gui.ConnectableWidget.ConnectableWidget.mouseMoveEvent(), and Vispa.Views.LineDecayView.LineDecayContainer.mouseMoveEvent().
def Vispa.Gui.ConnectableWidget.ConnectableWidget.rearangeContent | ( | self | ) |
Arranges ports after content is rearranged by VispaWidget.
Definition at line 356 of file ConnectableWidget.py.
References Vispa.Gui.ConnectableWidget.ConnectableWidget.arrangePorts().
Referenced by Vispa.Gui.VispaWidget.VispaWidget.defineDistances(), and Vispa.Gui.VispaWidget.VispaWidget.showEvent().
def Vispa.Gui.ConnectableWidget.ConnectableWidget.removeMenu | ( | self | ) |
Definition at line 524 of file ConnectableWidget.py.
References Vispa.Gui.ConnectableWidget.ConnectableWidget._menuWidget.
Referenced by Vispa.Gui.ConnectableWidget.ConnectableWidget.deleteLater(), and Vispa.Gui.ConnectableWidget.ConnectableWidget.removeMenuEntry().
def Vispa.Gui.ConnectableWidget.ConnectableWidget.removeMenuEntry | ( | self, | |
entry | |||
) |
Definition at line 517 of file ConnectableWidget.py.
References Vispa.Gui.ConnectableWidget.ConnectableWidget._menuWidget, and Vispa.Gui.ConnectableWidget.ConnectableWidget.removeMenu().
Referenced by Vispa.Gui.WidgetContainer.WidgetContainer.setShowCollapseMenu().
def Vispa.Gui.ConnectableWidget.ConnectableWidget.removePort | ( | self, | |
port | |||
) |
Removes given port if it is port of this widget.
Definition at line 251 of file ConnectableWidget.py.
References Vispa.Gui.ConnectableWidget.ConnectableWidget._ports, and Vispa.Gui.VispaWidget.VispaWidget.scheduleRearangeContent().
def Vispa.Gui.ConnectableWidget.ConnectableWidget.removePorts | ( | self, | |
filter = None |
|||
) |
Remove registered ports. If filter is "sink" only sinks are removed, if it is "source" only sources are removed, otherwise all ports are removed.
Definition at line 267 of file ConnectableWidget.py.
References Vispa.Gui.ConnectableWidget.ConnectableWidget._ports, Vispa.Gui.VispaWidget.VispaWidget.scheduleRearangeContent(), DDDWorldObserver< Event >.update(), SaveSimTrack.update(), PixelTrackFilter.update(), PTStatistics.update(), KillSecondariesRunAction.update(), KillSecondariesTrackAction.update(), HIPixelTrackFilter.update(), HIProtoTrackFilter.update(), KalmanAlignmentMetricsUpdator.update(), PrintTrackNumberAction.update(), GenericMVAComputerCache.update(), reco::KalmanGhostTrackUpdater.update(), DDG4ProductionCuts.update(), SimpleMetricsUpdator.update(), HICMuonUpdator.update(), MSLayersAtAngle.update(), TrajectoryStateUpdator.update(), MultiMetricsUpdator.update(), FastFedCablingTask.update(), LagrangeChildUpdator.update(), VertexTrackUpdator< N >.update(), DummyVertexTrackUpdator< N >.update(), VpspScanTask.update(), ErrorCorrelation.update(), ApvTimingTask.update(), DaqScopeModeTask.update(), FedTimingTask.update(), DummyMetricsUpdator.update(), PedestalsTask.update(), GsfMultiStateUpdator.update(), OptoScanTask.update(), MonopoleSteppingAction.update(), ApvTimingHistosUsingDb.update(), NoiseHistosUsingDb.update(), OptoScanHistosUsingDb.update(), PedestalsHistosUsingDb.update(), PedsFullNoiseHistosUsingDb.update(), PedsOnlyHistosUsingDb.update(), VpspScanHistosUsingDb.update(), CalibrationScanTask.update(), CalibrationTask.update(), LatencyTask.update(), FineDelayTask.update(), CurrentAlignmentKFUpdator.update(), RHStopTracer.update(), FastFedCablingHistosUsingDb.update(), PrintSensitive.update(), FedCablingTask.update(), SamplingHistosUsingDb.update(), TkPixelMeasurementDet.update(), PedsOnlyTask.update(), EcalUnpackerWorkerBase.update(), KFStrip1DUpdator.update(), KFStripUpdator.update(), LatencyHistosUsingDb.update(), CheckOverlap.update(), NoiseTask.update(), CalibrationHistosUsingDb.update(), KFSwitchingUpdator.update(), ChildUpdator.update(), PedsFullNoiseTask.update(), CountProcessesAction.update(), PrintGeomInfoAction.update(), PrintMaterialBudgetInfo.update(), FineDelayHistosUsingDb.update(), progressbar.Widget.update(), MeasurementTracker.update(), ora::PVectorUpdater.update(), KinematicConstrainedVertexUpdator.update(), PhysicsTools::MVAComputerCache.update(), MaterialBudgetHcal.update(), StoreSecondary.update(), BinomialProbability.update(), ESUnpackerWorker.update(), OnDemandMeasurementTracker.update(), TrackingMaterialProducer.update(), GraphPath< N, E >.update(), MuonServiceProxy.update(), MaterialBudgetForward.update(), EcalUnpackerWorker.update(), GflashG4Watcher.update(), EcalSimHitsValidProducer.update(), funct::Master< F >.update(), CheckSecondary.update(), Observer< T >.update(), KFSwitching1DUpdator.update(), pat::CandidateSummaryTable::Record.update(), Observer< const DDDWorld * >.update(), Observer< const BeginOfTrack * >.update(), Observer< const G4Step * >.update(), Observer< const EndOfRun * >.update(), Observer< const EndOfTrack * >.update(), Observer< const BeginOfJob * >.update(), Observer< const BeginOfEvent * >.update(), Observer< const EndOfEvent * >.update(), Observer< const BeginOfRun * >.update(), Observer< const Event * >.update(), Observer< const T * >.update(), KFUpdator.update(), HLTMonBTagClient.update(), KalmanVertexTrackUpdator< 5 >.update(), KalmanVertexTrackUpdator< N >.update(), HcaluLUTTPGCoder.update(), CaloTrkProcessing.update(), HcalTestAnalysis.update(), pos::PixelConfig.update(), TkStripMeasurementDet.update(), ora::IRelationalUpdater.update(), jptJetAnalysis::TrackPropagatorToCalo.update(), FWJobMetadataManager.update(), BasicMultiTrajectoryState.update(), KalmanAlignmentUserVariables.update(), TrackingVerboseAction.update(), PhysicsTools::TreeReader.update(), MaterialBudgetAction.update(), ora::QueryableVectorUpdater.update(), FiberSD.update(), SingleParticleEvent.update(), KalmanVertexUpdator< 5 >.update(), reco::GhostTrackFitter::PredictionUpdater.update(), KalmanVertexUpdator< N >.update(), SimG4HcalValidation.update(), SiStripPartition.update(), fwlite::RecordWriter.update(), KinematicConstrainedVertexUpdatorT< nTrk, nConstraint >.update(), simwatcher::BeginOfTrackCounter.update(), FWParameterSetterBase.update(), MuonTrajectoryUpdator.update(), progressbar.Timer.update(), TotemTestGem.update(), PLTSensitiveDetector.update(), DQMOldReceiver.update(), TkAccumulatingSensitiveDetector.update(), MuonUpdatorAtVertex.update(), ora::OraPtrUpdater.update(), jptJetAnalysis::StripSignalOverNoiseCalculator.update(), LaserAlignmentSimulation.update(), HcalTB02Analysis.update(), ora::PrimitiveUpdater.update(), ora::UniqueRefUpdater.update(), ora::CArrayUpdater.update(), ora::OraReferenceUpdater.update(), HcalTB06Analysis.update(), ApvAnalysisFactory.update(), BTagPerformanceAnalyzerOnData.update, TotemSD.update(), ora::ObjectUpdater.update(), progressbar.WidgetHFill.update(), ora::BlobUpdater.update(), HcalForwardAnalysis.update(), MuonSensitiveDetector.update(), MeasurementTrackerImpl.update(), StMeasurementDetSet.update(), SimTracer.update(), ora::InlineCArrayUpdater.update(), HcalTB04Analysis.update(), sistrip::RawToDigiUnpacker.update(), DTVDriftCalibration::cellInfo.update(), DAClusterizerInZ.update(), DTSegmentUpdator.update(), ora::STLContainerUpdater.update(), DynamicTruncation.update(), sim_act::Signaler< EndOfRun >.update(), sim_act::Signaler< BeginOfTrack >.update(), sim_act::Signaler< G4Step >.update(), sim_act::Signaler< BeginOfEvent >.update(), sim_act::Signaler< EndOfTrack >.update(), sim_act::Signaler< BeginOfRun >.update(), EcalTBH4Trigger.update(), sim_act::Signaler< T >.update(), sim_act::Signaler< BeginOfJob >.update(), sim_act::Signaler< DDDWorld >.update(), sim_act::Signaler< EndOfEvent >.update(), DoCastorAnalysis.update(), ora::NamedRefUpdater.update(), ZdcTestAnalysis.update(), CastorTestAnalysis.update(), CaloSD.update(), BTagPerformanceAnalyzerMC.update, BscSD.update(), edm::service::SimpleMemoryCheck.update(), edm::BMixingModule.update(), PhysicsTools::MVAModuleHelper< Record, Object, Filler >::Value.update(), ora::Container.update(), BetafuncEvtVtxGenerator.update(), PhysicsTools::TreeReader::Value.update(), progressbar.Bar.update(), FP420SD.update(), progressbar.BouncingBar.update(), HLTScalersClient::CountLSFifo_t.update(), GaussianSumUtilities1D.update(), CastorShowerLibraryMaker.update(), MonitorElement.update(), ora::Database.update(), StandAloneMuonFilter.update(), DTRecSegment2D.update(), DQMNet::Peer.update, CommissioningTask.update(), FWPSetTableManager.update(), progressbar.FormatLabel.update(), DQMNet::AutoPeer.update, G4StepStatistics.update(), FWLiteESRecordWriterAnalyzer.update(), python.seqvaluedict.seqdict.update(), FP420Test.update(), Folder.update(), BscTest.update(), TrajectoryStateOnSurface.update(), BasicTrajectoryState.update(), progressbar.ProgressBar.update(), edmNew::DetSetVector< T >.update(), DetSetVector< SiPixelCluster >.update(), DetSetVector< T >.update(), const_iterator.update(), DetSetVector< SiStripCluster >.update(), DetSetVector< ClusterType >.update(), and evf::iDie::lsStat.update().
Definition at line 542 of file ConnectableWidget.py.
References Vispa.Gui.ConnectableWidget.ConnectableWidget._menuWidget.
Referenced by Vispa.Views.LineDecayView.LineDecayContainer.createObject(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController.find(), Vispa.Views.LineDecayView.LineDecayContainer.mousePressEvent(), Vispa.Gui.PortConnection.PointToPointConnection.mousePressEvent(), Vispa.Gui.VispaWidget.VispaWidget.mousePressEvent(), and Vispa.Views.AbstractView.AbstractView.restoreSelection().
def Vispa.Gui.ConnectableWidget.ConnectableWidget.setPortNamesPosition | ( | self, | |
position | |||
) |
Sets position where port names will be shown. Possible values are self.PORT_NAMES_NEXT_TO_PORTS and self.PORT_NAMES_ABOVE_PORTS.
Definition at line 58 of file ConnectableWidget.py.
References Vispa.Gui.ConnectableWidget.ConnectableWidget._portNamesPosition.
def Vispa.Gui.ConnectableWidget.ConnectableWidget.setShowPortLines | ( | self, | |
show | |||
) |
If True lines from all ports to a specific target point are drawn. The target point is defined by PORT_LINES_TARGET_X and PORT_LINES_TARGET_Y. If both of these values are -1 the target point is set to the widget's centre.
Definition at line 65 of file ConnectableWidget.py.
References Vispa.Gui.ConnectableWidget.ConnectableWidget._showPortLines.
def Vispa.Gui.ConnectableWidget.ConnectableWidget.setShowPortNames | ( | self, | |
show | |||
) |
If True the port name's will be drawn. The port names wont be on the port itself. Instead they will appear next to the port icons on the ConnectableWidget.
Definition at line 50 of file ConnectableWidget.py.
References Vispa.Gui.ConnectableWidget.ConnectableWidget._showPortNames.
def Vispa.Gui.ConnectableWidget.ConnectableWidget.setZoom | ( | self, | |
zoom | |||
) |
Arranges ports when zoom has changed.
Definition at line 189 of file ConnectableWidget.py.
Referenced by Vispa.Gui.Zoomable.Zoomable.decrementZoom(), Vispa.Gui.Zoomable.Zoomable.incrementZoom(), Vispa.Main.TabController.TabController.zoomAll(), Vispa.Main.TabController.TabController.zoomDialog(), Vispa.Main.TabController.TabController.zoomHundred(), and Vispa.Main.TabController.TabController.zoomUser().
def Vispa.Gui.ConnectableWidget.ConnectableWidget.showMenu | ( | self | ) |
Definition at line 494 of file ConnectableWidget.py.
References Vispa.Gui.ConnectableWidget.ConnectableWidget._menuWidget.
Referenced by Vispa.Gui.WidgetContainer.WidgetContainer.mouseMoveEvent(), Vispa.Gui.ConnectableWidget.ConnectableWidget.mouseMoveEvent(), and Vispa.Views.LineDecayView.LineDecayContainer.mouseMoveEvent().
def Vispa.Gui.ConnectableWidget.ConnectableWidget.sinkPort | ( | self, | |
name | |||
) |
Returns sink port with given name or None if no such port is found.
Definition at line 302 of file ConnectableWidget.py.
References DTCtcp.port, EcalTPGParamReaderFromDB.port, EcalDBConnection.port, DQMNet::AutoPeer.port, and Vispa.Gui.ConnectableWidget.ConnectableWidget.port().
def Vispa.Gui.ConnectableWidget.ConnectableWidget.sinkPorts | ( | self | ) |
Returns list of all sink ports set.
Definition at line 286 of file ConnectableWidget.py.
References Vispa.Gui.ConnectableWidget.ConnectableWidget._ports, and alcazmumu_cfi.filter.
Referenced by Vispa.Gui.ConnectableWidget.ConnectableWidget._getMaxPortTitleWidth(), Vispa.Gui.ConnectableWidget.ConnectableWidget.defineDistances(), Vispa.Gui.ConnectableWidget.ConnectableWidget.drawPortNames(), Vispa.Gui.ConnectableWidget.ConnectableWidget.getPortsHeight(), and Vispa.Gui.ConnectableWidget.ConnectableWidget.sizeHint().
def Vispa.Gui.ConnectableWidget.ConnectableWidget.sizeHint | ( | self | ) |
Returns size needed to draw widget's content.
Definition at line 92 of file ConnectableWidget.py.
References Vispa.Gui.ConnectableWidget.ConnectableWidget._getMaxSinkTitleWidth(), Vispa.Gui.ConnectableWidget.ConnectableWidget._getMaxSourceTitleWidth(), Vispa.Gui.ConnectableWidget.ConnectableWidget._portNamesPosition, Vispa.Gui.ConnectableWidget.ConnectableWidget._showPortNames, Vispa.Gui.ConnectableWidget.ConnectableWidget.arrangePorts(), ValidateGeometry.getDistance(), Vispa.Gui.VispaWidget.VispaWidget.getDistance(), Vispa.Gui.ConnectableWidget.ConnectableWidget.getPortsHeight(), Vispa.Gui.VispaWidget.VispaWidget.imageSizeF(), max(), Vispa.Gui.ConnectableWidget.ConnectableWidget.NO_VALID_PORT_NAMES_POSITION_MESSAGE, Vispa.Gui.ConnectableWidget.ConnectableWidget.PORT_NAMES_ABOVE_PORTS, Vispa.Gui.ConnectableWidget.ConnectableWidget.PORT_NAMES_NEXT_TO_PORTS, CaloMeanResponse.scale, LocalError.scale(), CaloSamples.scale(), DQMRivetClient::ScaleFactorOption.scale, python.rootplot.rootmath.Target.scale, reco::PattRecoPeak< Real >.scale(), python.rootplot.tree2hists.RootTree.scale, MuonErrorMatrix.scale, Vispa.Gui.VispaWidget.VispaWidget.scale(), Vispa.Gui.ConnectableWidget.ConnectableWidget.sinkPorts(), Vispa.Gui.ConnectableWidget.ConnectableWidget.sourcePorts(), Vispa.Gui.VispaWidget.VispaWidget.textField(), Vispa.Gui.VispaWidget.VispaWidget.textFieldIsSet(), and Vispa.Gui.VispaWidget.VispaWidget.titleIsSet().
Referenced by Vispa.Gui.VispaWidget.VispaWidget.autosize().
def Vispa.Gui.ConnectableWidget.ConnectableWidget.sourcePort | ( | self, | |
name | |||
) |
Returns source port with given name or None if no such port is found.
Definition at line 307 of file ConnectableWidget.py.
References DTCtcp.port, EcalTPGParamReaderFromDB.port, EcalDBConnection.port, DQMNet::AutoPeer.port, and Vispa.Gui.ConnectableWidget.ConnectableWidget.port().
def Vispa.Gui.ConnectableWidget.ConnectableWidget.sourcePorts | ( | self | ) |
Returns list of all source ports set.
Definition at line 294 of file ConnectableWidget.py.
References Vispa.Gui.ConnectableWidget.ConnectableWidget._ports, and alcazmumu_cfi.filter.
Referenced by Vispa.Gui.ConnectableWidget.ConnectableWidget._getMaxPortTitleWidth(), Vispa.Gui.ConnectableWidget.ConnectableWidget.drawPortNames(), Vispa.Gui.ConnectableWidget.ConnectableWidget.getPortsHeight(), and Vispa.Gui.ConnectableWidget.ConnectableWidget.sizeHint().
def Vispa.Gui.ConnectableWidget.ConnectableWidget.updateAttachedConnections | ( | self | ) |
Definition at line 553 of file ConnectableWidget.py.
References Vispa.Gui.ConnectableWidget.ConnectableWidget._ports.
Referenced by Vispa.Gui.ConnectableWidget.ConnectableWidget.move().
|
private |
Definition at line 41 of file ConnectableWidget.py.
Referenced by Vispa.Gui.ConnectableWidget.ConnectableWidget.addMenuEntry(), Vispa.Gui.ConnectableWidget.ConnectableWidget.deleteLater(), Vispa.Gui.ConnectableWidget.ConnectableWidget.leaveEvent(), Vispa.Gui.ConnectableWidget.ConnectableWidget.menu(), Vispa.Gui.ConnectableWidget.ConnectableWidget.mouseMoveEvent(), Vispa.Gui.ConnectableWidget.ConnectableWidget.move(), Vispa.Gui.ConnectableWidget.ConnectableWidget.positionizeMenuWidget(), Vispa.Gui.ConnectableWidget.ConnectableWidget.removeMenu(), Vispa.Gui.ConnectableWidget.ConnectableWidget.removeMenuEntry(), Vispa.Gui.ConnectableWidget.ConnectableWidget.select(), and Vispa.Gui.ConnectableWidget.ConnectableWidget.showMenu().
|
private |
Definition at line 39 of file ConnectableWidget.py.
Referenced by Vispa.Gui.ConnectableWidget.ConnectableWidget.drawPortNames(), Vispa.Gui.ConnectableWidget.ConnectableWidget.getEffectivePortHeight(), Vispa.Gui.ConnectableWidget.ConnectableWidget.setPortNamesPosition(), and Vispa.Gui.ConnectableWidget.ConnectableWidget.sizeHint().
|
private |
Definition at line 37 of file ConnectableWidget.py.
Referenced by Vispa.Gui.ConnectableWidget.ConnectableWidget._addPort(), Vispa.Gui.ConnectableWidget.ConnectableWidget.arrangePorts(), Vispa.Gui.ConnectableWidget.ConnectableWidget.attachedConnections(), Vispa.Gui.ConnectableWidget.ConnectableWidget.deleteLater(), Vispa.Gui.ConnectableWidget.ConnectableWidget.dropAreaPort(), Vispa.Gui.ConnectableWidget.ConnectableWidget.port(), Vispa.Gui.ConnectableWidget.ConnectableWidget.portExists(), Vispa.Gui.ConnectableWidget.ConnectableWidget.ports(), Vispa.Gui.ConnectableWidget.ConnectableWidget.removePort(), Vispa.Gui.ConnectableWidget.ConnectableWidget.removePorts(), Vispa.Gui.ConnectableWidget.ConnectableWidget.sinkPorts(), Vispa.Gui.ConnectableWidget.ConnectableWidget.sourcePorts(), and Vispa.Gui.ConnectableWidget.ConnectableWidget.updateAttachedConnections().
|
private |
Definition at line 40 of file ConnectableWidget.py.
Referenced by Vispa.Gui.ConnectableWidget.ConnectableWidget.drawPortLines(), and Vispa.Gui.ConnectableWidget.ConnectableWidget.setShowPortLines().
|
private |
Definition at line 38 of file ConnectableWidget.py.
Referenced by Vispa.Gui.ConnectableWidget.ConnectableWidget.defineDistances(), Vispa.Gui.ConnectableWidget.ConnectableWidget.drawPortNames(), Vispa.Gui.ConnectableWidget.ConnectableWidget.dropArea(), Vispa.Gui.ConnectableWidget.ConnectableWidget.getEffectivePortHeight(), Vispa.Gui.ConnectableWidget.ConnectableWidget.setShowPortNames(), and Vispa.Gui.ConnectableWidget.ConnectableWidget.sizeHint().
|
static |
Definition at line 18 of file ConnectableWidget.py.
|
static |
Definition at line 29 of file ConnectableWidget.py.
Referenced by Vispa.Gui.ConnectableWidget.ConnectableWidget.drawPortNames(), Vispa.Gui.ConnectableWidget.ConnectableWidget.getEffectivePortHeight(), and Vispa.Gui.ConnectableWidget.ConnectableWidget.sizeHint().
|
static |
Definition at line 31 of file ConnectableWidget.py.
Vispa.Gui.ConnectableWidget.ConnectableWidget.PORT_LINES_TARGET_X |
Definition at line 449 of file ConnectableWidget.py.
|
static |
Definition at line 32 of file ConnectableWidget.py.
Vispa.Gui.ConnectableWidget.ConnectableWidget.PORT_LINES_TARGET_Y |
Definition at line 449 of file ConnectableWidget.py.
|
static |
Definition at line 24 of file ConnectableWidget.py.
Referenced by Vispa.Gui.ConnectableWidget.ConnectableWidget.drawPortNames(), Vispa.Gui.ConnectableWidget.ConnectableWidget.getEffectivePortHeight(), and Vispa.Gui.ConnectableWidget.ConnectableWidget.sizeHint().
|
static |
Definition at line 23 of file ConnectableWidget.py.
Referenced by Vispa.Gui.ConnectableWidget.ConnectableWidget.drawPortNames(), Vispa.Gui.ConnectableWidget.ConnectableWidget.getEffectivePortHeight(), and Vispa.Gui.ConnectableWidget.ConnectableWidget.sizeHint().
|
static |
Definition at line 27 of file ConnectableWidget.py.
|
static |
Definition at line 20 of file ConnectableWidget.py.
|
static |
Definition at line 19 of file ConnectableWidget.py.