#include <BDQViewer.h>
Public Member Functions | |
| BDQViewer (const char *filename) | |
| void | CloseWindow () |
| void | DoTab (Int_t tab) |
Private Attributes | |
| TGMainFrame * | fMain |
| TGTextView * | fText |
| CanvasTabs * | fCTabs |
Created on: Tue Dec 6 14:35:23 2005
Definition at line 36 of file BDQViewer.h.
|
|
Definition at line 233 of file BDQViewer.cxx. References CanvasTabs::AdoptTab(), DbCheck::Expose(), fCTabs, fMain, fText, and CanvasTabs::GetTabs(). 00234 {
00235 fMain = new TGMainFrame(0, 800,800);
00236 fMain->SetCleanup(kDeepCleanup);
00237 fMain->Connect("CloseWindow()", "BDQViewer", this, "CloseWindow()");
00238
00239 fMain->SetWindowName("GuiTest Signal/Slots");
00240
00241 fCTabs = new CanvasTabs(fMain);
00242
00243 TGTab& tab = fCTabs->GetTabs();
00244 tab.Connect("Selected(Int_t)", "BDQViewer", this, "DoTab(Int_t)");
00245
00246 TFile f(filename);
00247 HistMan io(f);
00248
00249 fText = new TGTextView(fMain,800,150,"");
00250
00251 DbCheck* dbcheck = new DbCheck(fText);
00252 fCTabs->AdoptTab("SpillTimeND check",dbcheck);
00253 fCTabs->AdoptTab("File based spill dT",new Earliest(fText));
00254 fCTabs->AdoptTab("#POT per time",new PerTime(fText));
00255 fCTabs->AdoptTab("Toroid comparisons",new TorCheck(fText));
00256 fCTabs->AdoptTab("Device counts",new DevCount(fText));
00257 dbcheck->Expose();
00258
00259 TGLayoutHints* lh = new TGLayoutHints(kLHintsBottom | kLHintsLeft |
00260 kLHintsExpandX, 5, 5, 5, 5);
00261 fMain->AddFrame(fText,lh);
00262
00263 fMain->Resize(800,800);
00264 fMain->Layout();
00265 fMain->MapSubwindows();
00266 fMain->MapWindow();
00267
00268 //fMain->Print();
00269 }
|
|
|
Definition at line 275 of file BDQViewer.cxx. 00276 {
00277 gApplication->Terminate();
00278 }
|
|
|
Definition at line 271 of file BDQViewer.cxx. 00272 {
00273 }
|
|
|
Definition at line 42 of file BDQViewer.h. Referenced by BDQViewer(). |
|
|
Definition at line 39 of file BDQViewer.h. Referenced by BDQViewer(). |
|
|
Definition at line 40 of file BDQViewer.h. Referenced by BDQViewer(). |
1.3.9.1