00001
00002
00003
00004
00005
00006
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
00038 void NewEvent();
00039
00040 private:
00041 TGCompositeFrame* fButtonBar;
00042 TGLayoutHints* fLayout;
00043 TGTextButton* fPrevEvt;
00044 TGTextButton* fNextEvt;
00045 TGTextButton* fReload;
00046 TGTextEntry* fCurrentFile;
00047 TGPictureButton* fFileList;
00048
00049 TGLabel* fRunEvtLabel;
00050 TGTextEntry* fRunTextEntry;
00051 TGTextEntry* fEventTextEntry;
00052
00053 TGTextButton* fGoTo;
00054 TGTextButton* fPrint;
00055 };
00056 }
00057
00058 #endif // EVDB_BUTTONBAR_H
00059