Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

/Go4QtBaseWidgets/TGo4WorkSpace.h

Go to the documentation of this file.
00001 //---------------------------------------------------------------
00002 //        Go4 Release Package v2.10-5 (build 21005) 
00003 //                      03-Nov-2005
00004 //---------------------------------------------------------------
00005 //       The GSI Online Offline Object Oriented (Go4) Project
00006 //       Experiment Data Processing at DVEE department, GSI
00007 //---------------------------------------------------------------
00008 //
00009 //Copyright (C) 2000- Gesellschaft f. Schwerionenforschung, GSI
00010 //                    Planckstr. 1, 64291 Darmstadt, Germany
00011 //Contact:            http://go4.gsi.de
00012 //----------------------------------------------------------------
00013 //This software can be used under the license agreements as stated
00014 //in Go4License.txt file which is part of the distribution.
00015 //----------------------------------------------------------------
00016 #ifndef TGO4WORKSPACE_H
00017 #define TGO4WORKSPACE_H
00018 
00019 #include "qworkspace.h"
00020 #include "qevent.h"
00021 
00022 class TGo4PreviewPanel;
00023 class TPad;
00028 class TGo4WorkSpace : public QWorkspace
00029 {
00030    Q_OBJECT
00031 
00032 public:
00033     TGo4WorkSpace(QWidget *parent);
00034     virtual ~TGo4WorkSpace();
00035     void closeEvent( QCloseEvent * ce );
00036     void DelViewPanel(TGo4PreviewPanel *View);
00037     void NewViewPanel(TGo4PreviewPanel *View);
00038     void ViewPanelActivated(TGo4PreviewPanel *View);
00039     void ActivePadChanged(TGo4PreviewPanel *fxView, TPad *Pad);
00040     void PadClicked(TGo4PreviewPanel *fxView, TPad *Pad);
00041     TGo4PreviewPanel *GetLastActiveViewPanel(){return fxActivePanel;}
00042 protected:
00043   virtual bool  eventFilter( QObject *fx, QEvent *e );
00044 
00045 signals:
00046     void newChild(TGo4PreviewPanel *);
00047     void childRemoved(TGo4PreviewPanel *);
00048     void ActivePad(TGo4PreviewPanel *, TPad *);
00049     void PadMouseClick(TGo4PreviewPanel *fxView, TPad *Pad);
00050 
00051 private:
00052    TGo4PreviewPanel *fxActivePanel;
00054     bool fbTerminating;
00055 };
00056 #endif //TGO4WORKSPACE_H
00057 
00058 
00059 
00060 //----------------------------END OF GO4 SOURCE FILE ---------------------

Generated on Tue Nov 8 10:56:04 2005 for Go4-v2.10-5 by doxygen1.2.15