|
CEDRIC
Revision_backup-2009-02
|
MainWindow for QtOsgEventDisplay application. More...
#include <MainWindow.h>
Public Slots | |
| void | openRootFile (const QString &filename="") |
| Open a ROOT tree mDST from disk, if no filename is given a file dialog is shown. More... | |
| void | reload () |
| Reload a ROOT file with curent selected event and configuration. More... | |
| void | setPositionStatus (float x, float y, float z) |
| Set statusbar position entry. More... | |
| void | selectEvent (int index, bool showProgress=false) |
| Load specific event from EventList. More... | |
| void | updateNavigator () |
| Call EventNavigator::init() which creates Signatures for all events and shows overview map (may take a while!) More... | |
Public Member Functions | |
| MainWindow (QWidget *parent=0) | |
| virtual | ~MainWindow () |
Protected Slots | |
| void | exportAction (QAction *ea) |
| void | optionShowOnlyParticles (bool b) |
| void | optionShowOnlyPhysicalTracks (bool b) |
Protected Member Functions | |
| void | connectDocks (bool enable=true) |
| Make connections from and to all docks when enable==true, else kills all connections. More... | |
| void | updateViewers () |
| Update setup and event nodes of active viewers. More... | |
| bool | buildSetup () |
| Instantiate PhastParser and build setup tree and scenegraph, returns false on failure. More... | |
| bool | loadSetup (int run) |
| Load setup for specified run (calls buildSetup() internally) More... | |
| void | resizeEvent (QResizeEvent *event) |
| void | moveEvent (QMoveEvent *event) |
MainWindow for QtOsgEventDisplay application.
Some of its content is specified in MainWindow.ui so it can be easily modified with QtDesigner.
| MainWindow::MainWindow | ( | QWidget * | parent = 0 | ) |
References exportAction(), g_phast, EventMultiViewer::globalActionsToolbar(), EventMultiViewer::layoutAction(), EventMultiViewer::NUM_LAYOUTS, openRootFile(), optionShowOnlyParticles(), optionShowOnlyPhysicalTracks(), PhastInterface::phast(), GlobalProgressIndicator::ref(), PhastInterface::ref(), selectEvent(), GlobalProgressIndicator::setRegent(), and updateNavigator().
|
virtual |
|
protected |
Instantiate PhastParser and build setup tree and scenegraph, returns false on failure.
References g_phast, StopWatch::start(), and StopWatch::stop().
Referenced by loadSetup(), and reload().
|
protected |
Make connections from and to all docks when enable==true, else kills all connections.
References reload(), and selectEvent().
Referenced by openRootFile().
|
protectedslot |
References EventMultiViewer::EPS, EventMultiViewer::exportActiveViewerTo(), EventMultiViewer::PDF, EventMultiViewer::PS, and EventMultiViewer::SVG.
Referenced by MainWindow().
|
protected |
Load setup for specified run (calls buildSetup() internally)
References buildSetup(), PhastInterface::phast(), ProgressIndicator::poll(), ProgressIndicator::progress(), GlobalProgressIndicator::ref(), PhastInterface::ref(), GlobalProgressIndicator::setLabel(), StopWatch::start(), and StopWatch::stop().
Referenced by selectEvent().
|
protected |
References GlobalProgressIndicator::centerOn(), and GlobalProgressIndicator::ref().
|
slot |
Open a ROOT tree mDST from disk, if no filename is given a file dialog is shown.
References EventSelectorWidget::activate(), connectDocks(), ProgressIndicator::finish(), g_phast, PhastInterface::phast(), ProgressIndicator::poll(), GlobalProgressIndicator::ref(), PhastInterface::ref(), EventNavigator::reset(), selectEvent(), GlobalProgressIndicator::setLabel(), ProgressIndicator::setRange(), GlobalProgressIndicator::setTitle(), and ProgressIndicator::start().
Referenced by main(), and MainWindow().
|
protectedslot |
References GlobalOptions::set_showOnlyParticles().
Referenced by MainWindow().
|
protectedslot |
References GlobalOptions::set_showOnlyPhysicalTracks(), and GlobalOptions::showOnlyPhysicalTracks().
Referenced by MainWindow().
|
slot |
Reload a ROOT file with curent selected event and configuration.
References buildSetup(), and updateViewers().
Referenced by connectDocks().
|
protected |
References GlobalProgressIndicator::centerOn(), and GlobalProgressIndicator::ref().
|
slot |
Load specific event from EventList.
Loads selected event as Phast current event and build the scenegraph node containing the tracks. If necessary also loads setup and builds its scenegraph node. Finally the EventViewerWidget's scenegraph is updated.
References g_phast, loadSetup(), PhastInterface::phast(), ProgressIndicator::poll(), ProgressIndicator::progress(), GlobalProgressIndicator::ref(), PhastInterface::ref(), GlobalProgressIndicator::setLabel(), StopWatch::start(), StopWatch::stop(), and updateViewers().
Referenced by connectDocks(), MainWindow(), openRootFile(), and updateNavigator().
|
slot |
Set statusbar position entry.
|
slot |
Call EventNavigator::init() which creates Signatures for all events and shows overview map (may take a while!)
References EventNavigator::init(), and selectEvent().
Referenced by MainWindow().
|
protected |
Update setup and event nodes of active viewers.
References EventMultiViewer::setPhastScene(), StopWatch::start(), and StopWatch::stop().
Referenced by reload(), and selectEvent().
1.8.6