Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

ButtonBar.h

Go to the documentation of this file.
00001 
00002 // $Id: ButtonBar.h,v 1.2 2007/04/25 07:01:24 fmwk Exp $
00003 //
00004 // A bar containing the next event, previous event, (etc.) buttons
00005 //
00006 // messier@indiana.edu
00008 #ifndef EVDB_BUTTONBAR_H
00009 #define EVD_BUTTONBAR_H
00010 #include "TQObject.h"
00011 #include "RQ_OBJECT.h"
00012 #include "TGButton.h"
00013 #include "TGTextEntry.h"
00014 class TGMainFrame;
00015 class TGCompositeFrame;
00016 class TGPictureButton;
00017 class TGLayoutHints;
00018 class TGLabel;
00019 
00020 namespace evdb {
00021   class ButtonBar {
00022     RQ_OBJECT("evdb::ButtonBar")
00023     
00024   public:
00025     ButtonBar(TGMainFrame* frame);
00026     virtual ~ButtonBar();
00027     
00028   public: 
00029     void PrevEvt();
00030     void NextEvt();
00031     void ReloadEvt();
00032     void FileList();
00033     void GoTo();
00034     void Print();
00035     int  NoImpl(const char* c);
00036     
00037     // New event slot
00038     void NewEvent();
00039     
00040   private:
00041     TGCompositeFrame* fButtonBar;   // The top button bar
00042     TGLayoutHints*    fLayout;      // Layout for button bar
00043     TGTextButton*     fPrevEvt;     // Goto to previous event
00044     TGTextButton*     fNextEvt;     // Goto to next event
00045     TGTextButton*     fReload;      // Reload current event
00046     TGTextEntry*      fCurrentFile; // Currently loaded file
00047     TGPictureButton*  fFileList;    // Access to the list of files attached
00048     
00049     TGLabel*          fRunEvtLabel;    // Run/Event number label
00050     TGTextEntry*      fRunTextEntry;   // Run number text entry
00051     TGTextEntry*      fEventTextEntry; // Event number text entry
00052     
00053     TGTextButton*     fGoTo;        // Go To event button
00054     TGTextButton*     fPrint;       // Print button
00055   };
00056 }
00057 
00058 #endif // EVDB_BUTTONBAR_H
00059 

Generated on Sat Oct 11 02:35:27 2008 for NOvA Offline by  doxygen 1.3.9.1