![]() |
![]() |
Public Member Functions | |
def | __init__ (self, application=None, title="VISPA") |
def | addTab (self, widget) |
def | addWindow (self, widget, width=None, height=None) |
def | application (self) |
def | changeEvent (self, event) |
def | closeEvent (self, event) |
def | createStartupScreen (self) |
def | editMenu (self) |
def | event (self, event) |
def | fileMenu (self) |
def | fileToolBar (self) |
def | helpMenu (self) |
def | isTabWidget (self, widget) |
def | keyPressEvent (self, event) |
def | newAnalysisDesignerSlot (self, checked=False) |
def | newPxlSlot (self, checked=False) |
def | openAnalysisFileSlot (self, checked=False) |
def | openPxlFileSlot (self, checked=False) |
def | resizeEvent (self, event) |
def | setStartupScreenVisible (self, show) |
def | startupScreen (self) |
def | tabWidget (self) |
def | tabWidgets (self) |
def | updateStartupScreenGeometry (self) |
Private Member Functions | |
def | _loadIni (self) |
def | _saveIni (self) |
Private Attributes | |
_application | |
_editMenu | |
_fileMenu | |
_fileToolBar | |
_helpMenu | |
_justActivated | |
_startupScreen | |
_tabWidget | |
Definition at line 13 of file MainWindow.py.
Definition at line 19 of file MainWindow.py.
|
private |
Load the window properties.
Definition at line 115 of file MainWindow.py.
References reco::TrackResiduals.resize(), LayerHitMapCache::SimpleCache.resize(), EZMgrVL< T >.resize(), StorageAccount.resize, LocalCacheFile.resize(), EZMgrFL< T >.resize(), DavixFile.resize(), StorageAccountProxy.resize(), LStoreFile.resize(), edm::stream::impl::dummy_vec.resize(), DCacheFile.resize(), HGCDataFrame< D, S >.resize(), BXVector< const l1t::l1t::L1Candidate * >.resize(), BXVector< const l1t::l1t::Muon * >.resize(), BXVector< l1t::Tau >.resize(), BXVector< T >.resize(), BXVector< const GlobalExtBlk * >.resize(), BXVector< RegionalMuonCand >.resize(), BXVector< const l1t::l1t::EtSum * >.resize(), BXVector< l1t::Muon >.resize(), Storage.resize(), GsfMaterialEffectsUpdator.resize(), FEDRawData.resize(), lhef::HEPRUP.resize(), FTLDataFrameT< D, S, DECODE >.resize(), XrdFile.resize(), File.resize(), EZArrayFL< T >.resize(), EZArrayFL< GlobalPoint >.resize(), SiPixelClusterShapeCache.resize(), Phase2ITPixelClusterShapeCache.resize(), edm::DataFrameContainer.resize(), L1GctProcessor::Pipeline< T >.resize(), edm::VecArray< T, N >.resize(), VecArray< reco::TrackBase::TrackAlgorithm, reco::TrackBase::algoSize >.resize(), edm::VecArray< std::pair< int, int >, 9 >.resize(), edm::VecArray< edm::ProductID, 2 >.resize(), L1GtfeExtWord.resize(), reco::FlavorHistoryEvent.resize(), lhef::HEPEUP.resize(), edm::soa::Table< Args >.resize(), Json::Value.resize(), edmNew::DetSetVector< T >::FastFiller.resize(), edmNew::DetSetVector< T >::TSFastFiller.resize(), DetSetVector< SiStripCluster >.resize(), edmNew::DetSetVector< T >.resize(), DetSetVector< ClusterType >.resize(), const_iterator.resize(), DetSetVector< T >.resize(), DetSetVector< SiPixelCluster >.resize(), TrackingNtuple::DetIdCommon.resize(), TrackingNtuple::DetIdOTCommon.resize(), Vispa.Gui.VispaWidget.VispaWidget.resize(), and TrackingNtuple::DetIdStripOnly.resize().
|
private |
Save the window properties.
Definition at line 136 of file MainWindow.py.
References cscdqm::StripClusterFitData.height(), FedTimingAnalysis.height(), btag::SimpleMatrix< T >.height, btag::SimpleMatrix< Delta >.height, presentation.PageLayout.height, FWFramedTextTableCellRenderer.height(), FWTextTableCellRenderer.height(), FWTableCellRendererBase.height(), ApvTimingAnalysis.height(), DaqScopeModeAnalysis.height(), FWGeometryTableManagerBase::ColorBoxRenderer.height(), TkAlMap.TkAlMap.height, svgfig.Plot.height, svgfig.Frame.height, Vispa.Gui.VispaWidget.VispaWidget.height(), svgfig.Dots.height, str, TmModule.width, Random_struct.width, OpenBounds.width(), SimpleDiskBounds.width(), FourPointPlaneBounds.width(), RectangularPlaneBounds.width(), DiskSectorBounds.width(), GeneralNSurfaceDelimitedBounds.width(), funct::GammaZInterference.width, SiStripClusterInfo.width(), Range< OAxisX_t >.width(), SimpleCylinderBounds.width(), Range< OAxisY_t >.width(), PhysicsTools::Calibration::Range< Axis_t >.width(), PhysicsTools::Calibration::Range< float >.width(), PhysicsTools::Calibration::Range< AxisY_t >.width(), PhysicsTools::Calibration::Range< AxisX_t >.width(), Range< OAxis_t >.width(), funct::BreitWigner.width, reco::helper::CastorJetIDHelper.width(), DDTIDAxialCableAlgo.width, Bounds.width(), DDTECAxialCableAlgo.width, TrapezoidalPlaneBounds.width(), reco::CastorJetID.width, AlignableSurface.width(), DDI::Division.width(), FWCheckedTextTableCellRenderer.width(), FWColumnLabelCellRenderer.width(), function::ZMuStandaloneFunction.width, function::ZMuMuFunction.width, function::ZMuTrackFunction.width, btag::SimpleMatrix< T >.width, function::ZMuMuScaledFunction.width, btag::SimpleMatrix< Delta >.width, function::ZMuTrackScaledFunction.width, SimpleConeBounds.width(), function::ZMuStandaloneScaledFunction.width, FWCollectionSummaryModelCellRenderer.width(), function::ZMuTrackScaledNormalBack.width, presentation.PageLayout.width, FWTextTableCellRenderer.width(), FWFramedTextTableCellRenderer.width(), FWTableCellRendererBase.width(), ProcNormalize::Map.width, reco::CastorCluster.width(), DaqFakeReader.width, reco::CastorJet.width(), reco::CastorEgamma.width(), edm::OStreamColumn.width(), ProcLikelihood::SplinePDF.width, FWTextTreeCellRenderer.width(), SiStripMonitorCluster::ClusterProperties.width, FWGeometryTableManagerBase::ColorBoxRenderer.width(), DDDivision.width(), python.rootplot.utilities.Hist.width, TkAlMap.TkAlMap.width, dqmTnP::VoigtianPlusExponentialFitter.width, svgfig.Plot.width, svgfig.Frame.width, Vispa.Gui.VispaWidget.VispaWidget.width(), plotting.PlotTextBox.width(), and svgfig.Dots.width.
Referenced by Vispa.Main.MainWindow.MainWindow.closeEvent().
def Vispa.Main.MainWindow.MainWindow.addTab | ( | self, | |
widget | |||
) |
Add a new tab to the TabWidget and call the TabController to update the label of the Tab.
Definition at line 96 of file MainWindow.py.
References Vispa.Main.AbstractTab.AbstractTab._tabWidget, and Vispa.Main.MainWindow.MainWindow._tabWidget.
Add a new window and call the TabController to update the label of the window.
Definition at line 83 of file MainWindow.py.
def Vispa.Main.MainWindow.MainWindow.application | ( | self | ) |
Definition at line 56 of file MainWindow.py.
References Vispa.Main.AboutDialog.AboutDialog._application, and Vispa.Main.MainWindow.MainWindow._application.
Referenced by Vispa.Plugins.ConfigEditor.ConfigEditorPlugin.ConfigEditorPlugin.__init__(), Vispa.Plugins.Browser.BrowserPlugin.BrowserPlugin._collapseAll(), Vispa.Plugins.EdmBrowser.EdmBrowserPlugin.EdmBrowserPlugin._eventContent(), Vispa.Plugins.Browser.BrowserPlugin.BrowserPlugin._expandAll(), Vispa.Plugins.EdmBrowser.EdmBrowserPlugin.EdmBrowserPlugin._expandToDepth(), Vispa.Plugins.Browser.BrowserPlugin.BrowserPlugin._expandToDepth(), Vispa.Plugins.EdmBrowser.EdmBrowserPlugin.EdmBrowserPlugin._filterBranches(), Vispa.Plugins.EdmBrowser.EdmBrowserPlugin.EdmBrowserPlugin._hideUnderscoreProperties(), Vispa.Plugins.Browser.BrowserPlugin.BrowserPlugin._showBoxContentDialog(), Vispa.Plugins.Browser.BrowserPlugin.BrowserPlugin.addCenterView(), Vispa.Main.MainWindow.MainWindow.closeEvent(), Vispa.Plugins.Browser.BrowserPlugin.BrowserPlugin.filterDialog(), Vispa.Plugins.EventBrowser.EventBrowserPlugin.EventBrowserPlugin.first(), Vispa.Plugins.EventBrowser.EventBrowserPlugin.EventBrowserPlugin.goto(), Vispa.Main.MainWindow.MainWindow.keyPressEvent(), Vispa.Plugins.EventBrowser.EventBrowserPlugin.EventBrowserPlugin.last(), Vispa.Main.MainWindow.MainWindow.newAnalysisDesignerSlot(), Vispa.Plugins.ConfigEditor.ConfigEditorPlugin.ConfigEditorPlugin.newFile(), Vispa.Main.MainWindow.MainWindow.newPxlSlot(), Vispa.Plugins.EdmBrowser.EdmBrowserPlugin.EdmBrowserPlugin.newTab(), Vispa.Plugins.ConfigEditor.ConfigEditorPlugin.ConfigEditorPlugin.newTab(), Vispa.Plugins.EventBrowser.EventBrowserPlugin.EventBrowserPlugin.next(), Vispa.Main.MainWindow.MainWindow.openAnalysisFileSlot(), Vispa.Main.VispaPlugin.VispaPlugin.openFile(), Vispa.Main.MainWindow.MainWindow.openPxlFileSlot(), Vispa.Plugins.EventBrowser.EventBrowserPlugin.EventBrowserPlugin.previous(), Vispa.Plugins.Browser.BrowserPlugin.BrowserPlugin.saveImage(), Vispa.Plugins.Browser.BrowserPlugin.BrowserPlugin.switchCenterViewSlot(), and Vispa.Plugins.Browser.BrowserPlugin.BrowserPlugin.zoomDialog().
def Vispa.Main.MainWindow.MainWindow.changeEvent | ( | self, | |
event | |||
) |
Together with event() this function makes sure tabChanged() is called when the window is activated.
Definition at line 163 of file MainWindow.py.
References Vispa.Main.MainWindow.MainWindow._justActivated.
def Vispa.Main.MainWindow.MainWindow.closeEvent | ( | self, | |
event | |||
) |
Closes all tabs and exits program if succeeded.
Definition at line 71 of file MainWindow.py.
References Vispa.Main.MainWindow.MainWindow._saveIni(), Vispa.Main.Application.Application._saveIni(), and Vispa.Main.MainWindow.MainWindow.application().
def Vispa.Main.MainWindow.MainWindow.createStartupScreen | ( | self | ) |
Definition at line 200 of file MainWindow.py.
References Vispa.Main.MainWindow.MainWindow._startupScreen.
def Vispa.Main.MainWindow.MainWindow.editMenu | ( | self | ) |
def Vispa.Main.MainWindow.MainWindow.event | ( | self, | |
event | |||
) |
Emits activated() signal if correct event occures and if correct changeEvent occured before. Also see changeEvent(). The Application shall connect to windowActivated().
Definition at line 149 of file MainWindow.py.
References Vispa.Main.MainWindow.MainWindow._justActivated, Signal< void(BranchDescription const &)>.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(RunIndex)>.emit(), edm::signalslot::Signal< void(GlobalContext const &, ModuleCallingContext const &)>.emit(), edm::signalslot::Signal< void(eventsetup::ComponentDescription const *, eventsetup::EventSetupRecordKey const &, eventsetup::DataKey const &)>.emit(), edm::signalslot::Signal< void(LuminosityBlockIndex)>.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(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(), edm::signalslot::Signal< void(ModuleDescription const &)>.emit(), and edm::signalslot::Signal< T >.emit().
Referenced by Types.EventID.cppID().
def Vispa.Main.MainWindow.MainWindow.fileMenu | ( | self | ) |
def Vispa.Main.MainWindow.MainWindow.fileToolBar | ( | self | ) |
Definition at line 68 of file MainWindow.py.
References Vispa.Main.MainWindow.MainWindow._fileToolBar.
def Vispa.Main.MainWindow.MainWindow.helpMenu | ( | self | ) |
def Vispa.Main.MainWindow.MainWindow.isTabWidget | ( | self, | |
widget | |||
) |
Definition at line 112 of file MainWindow.py.
def Vispa.Main.MainWindow.MainWindow.keyPressEvent | ( | self, | |
event | |||
) |
On Escape cancel all running operations.
Definition at line 169 of file MainWindow.py.
References Vispa.Main.MainWindow.MainWindow.application().
Creates new analysis designer tab if that plugin was loaded.
Definition at line 203 of file MainWindow.py.
References Vispa.Main.MainWindow.MainWindow.application(), and fwrapper.plugin.
Creates new pxl tab if that plugin was loaded.
Definition at line 210 of file MainWindow.py.
References Vispa.Main.MainWindow.MainWindow.application(), and fwrapper.plugin.
Definition at line 217 of file MainWindow.py.
References Vispa.Main.MainWindow.MainWindow.application(), and fwrapper.plugin.
Definition at line 230 of file MainWindow.py.
References Vispa.Main.MainWindow.MainWindow.application(), and fwrapper.plugin.
def Vispa.Main.MainWindow.MainWindow.resizeEvent | ( | self, | |
event | |||
) |
Definition at line 177 of file MainWindow.py.
References Vispa.Main.MainWindow.MainWindow.updateStartupScreenGeometry().
def Vispa.Main.MainWindow.MainWindow.setStartupScreenVisible | ( | self, | |
show | |||
) |
Definition at line 181 of file MainWindow.py.
References Vispa.Main.MainWindow.MainWindow._startupScreen, and Vispa.Main.MainWindow.MainWindow.updateStartupScreenGeometry().
def Vispa.Main.MainWindow.MainWindow.startupScreen | ( | self | ) |
Definition at line 53 of file MainWindow.py.
References Vispa.Main.MainWindow.MainWindow._startupScreen.
def Vispa.Main.MainWindow.MainWindow.tabWidget | ( | self | ) |
Definition at line 106 of file MainWindow.py.
References Vispa.Main.AbstractTab.AbstractTab._tabWidget, and Vispa.Main.MainWindow.MainWindow._tabWidget.
def Vispa.Main.MainWindow.MainWindow.tabWidgets | ( | self | ) |
Definition at line 109 of file MainWindow.py.
def Vispa.Main.MainWindow.MainWindow.updateStartupScreenGeometry | ( | self | ) |
Definition at line 188 of file MainWindow.py.
References Vispa.Main.MainWindow.MainWindow._startupScreen, cscdqm::StripClusterFitData.height(), FedTimingAnalysis.height(), btag::SimpleMatrix< T >.height, btag::SimpleMatrix< Delta >.height, presentation.PageLayout.height, FWFramedTextTableCellRenderer.height(), FWTextTableCellRenderer.height(), FWTableCellRendererBase.height(), ApvTimingAnalysis.height(), DaqScopeModeAnalysis.height(), FWGeometryTableManagerBase::ColorBoxRenderer.height(), TkAlMap.TkAlMap.height, svgfig.Plot.height, svgfig.Frame.height, Vispa.Gui.VispaWidget.VispaWidget.height(), svgfig.Dots.height, SiStripPI.max, TmModule.width, Random_struct.width, OpenBounds.width(), SimpleDiskBounds.width(), FourPointPlaneBounds.width(), RectangularPlaneBounds.width(), DiskSectorBounds.width(), GeneralNSurfaceDelimitedBounds.width(), funct::GammaZInterference.width, SiStripClusterInfo.width(), Range< OAxisX_t >.width(), SimpleCylinderBounds.width(), Range< OAxisY_t >.width(), PhysicsTools::Calibration::Range< Axis_t >.width(), PhysicsTools::Calibration::Range< float >.width(), PhysicsTools::Calibration::Range< AxisY_t >.width(), PhysicsTools::Calibration::Range< AxisX_t >.width(), Range< OAxis_t >.width(), funct::BreitWigner.width, reco::helper::CastorJetIDHelper.width(), DDTIDAxialCableAlgo.width, Bounds.width(), DDTECAxialCableAlgo.width, TrapezoidalPlaneBounds.width(), reco::CastorJetID.width, AlignableSurface.width(), DDI::Division.width(), FWCheckedTextTableCellRenderer.width(), FWColumnLabelCellRenderer.width(), function::ZMuStandaloneFunction.width, function::ZMuMuFunction.width, function::ZMuTrackFunction.width, btag::SimpleMatrix< T >.width, function::ZMuMuScaledFunction.width, btag::SimpleMatrix< Delta >.width, function::ZMuTrackScaledFunction.width, SimpleConeBounds.width(), function::ZMuStandaloneScaledFunction.width, FWCollectionSummaryModelCellRenderer.width(), function::ZMuTrackScaledNormalBack.width, presentation.PageLayout.width, FWTextTableCellRenderer.width(), FWFramedTextTableCellRenderer.width(), FWTableCellRendererBase.width(), ProcNormalize::Map.width, reco::CastorCluster.width(), DaqFakeReader.width, reco::CastorJet.width(), reco::CastorEgamma.width(), edm::OStreamColumn.width(), ProcLikelihood::SplinePDF.width, FWTextTreeCellRenderer.width(), SiStripMonitorCluster::ClusterProperties.width, FWGeometryTableManagerBase::ColorBoxRenderer.width(), DDDivision.width(), python.rootplot.utilities.Hist.width, TkAlMap.TkAlMap.width, dqmTnP::VoigtianPlusExponentialFitter.width, svgfig.Plot.width, svgfig.Frame.width, Vispa.Gui.VispaWidget.VispaWidget.width(), plotting.PlotTextBox.width(), and svgfig.Dots.width.
Referenced by Vispa.Main.MainWindow.MainWindow.resizeEvent(), and Vispa.Main.MainWindow.MainWindow.setStartupScreenVisible().
|
private |
Definition at line 24 of file MainWindow.py.
Referenced by Vispa.Main.VispaPlugin.VispaPlugin.application(), and Vispa.Main.MainWindow.MainWindow.application().
|
private |
Definition at line 38 of file MainWindow.py.
Referenced by Vispa.Main.MainWindow.MainWindow.editMenu().
|
private |
Definition at line 37 of file MainWindow.py.
Referenced by Vispa.Main.MainWindow.MainWindow.fileMenu().
|
private |
Definition at line 41 of file MainWindow.py.
Referenced by Vispa.Main.MainWindow.MainWindow.fileToolBar().
|
private |
Definition at line 39 of file MainWindow.py.
Referenced by Vispa.Main.MainWindow.MainWindow.helpMenu().
|
private |
Definition at line 22 of file MainWindow.py.
Referenced by Vispa.Main.MainWindow.MainWindow.changeEvent(), and Vispa.Main.MainWindow.MainWindow.event().
|
private |
|
private |
Definition at line 27 of file MainWindow.py.
Referenced by Vispa.Main.MainWindow.MainWindow.addTab(), and Vispa.Main.MainWindow.MainWindow.tabWidget().