+ {
+ fAutoLoadTime = new TEveGValuator(this, "Autoload time:", 110, 0);
+ fAutoLoadTime->SetShowSlider(kFALSE);
+ fAutoLoadTime->SetNELength(4);
+ fAutoLoadTime->Build();
+ fAutoLoadTime->SetLimits(0, 1000);
+ fAutoLoadTime->SetToolTip("Automatic event loading time in seconds");
+ fAutoLoadTime->Connect("ValueSet(Double_t)",
+ "AliEveEventManagerEditor", this, "DoSetAutoLoadTime()");
+
+ fAutoLoad = new TGCheckButton(fAutoLoadTime,"Autoload");
+ fAutoLoad->SetToolTipText("Automatic event loading (online)");
+ fAutoLoadTime->AddFrame(fAutoLoad, new TGLayoutHints(kLHintsLeft, 12, 0, 2, 0));
+ fAutoLoad->Connect("Toggled(Bool_t)",
+ "AliEveEventManagerEditor", this, "DoSetAutoLoad()");
+ AddFrame(fAutoLoadTime);
+ }
+ {
+ TGHorizontalFrame* f = new TGHorizontalFrame(this);
+ fPrevEvent = new TGTextButton(f, "Previous Event");
+ f->AddFrame(fPrevEvent, new TGLayoutHints(kLHintsExpandX, 0,4,0,0));
+ fPrevEvent->Connect("Clicked()",
+ "AliEveEventManagerEditor", this, "DoPrevEvent()");
+ fNextEvent = new TGTextButton(f, "Next Event");
+ f->AddFrame(fNextEvent, new TGLayoutHints(kLHintsExpandX, 4,0,0,0));
+ fNextEvent->Connect("Clicked()",
+ "AliEveEventManagerEditor", this, "DoNextEvent()");
+ AddFrame(f, new TGLayoutHints(kLHintsExpandX, 8,8,8,0));
+ }
+
+ {
+ TGVerticalFrame* f = new TGVerticalFrame(this);
+
+ TGLabel *eventInfoLabel = new TGLabel(f, "Event Information:");
+ f->AddFrame(eventInfoLabel, new TGLayoutHints(kLHintsNormal, 0,0,6,2));
+
+ fEventInfo = new TGTextView(f, 200, 200);
+ f->AddFrame(fEventInfo, new TGLayoutHints(kLHintsNormal | kLHintsExpandX));
+
+ AddFrame(f, new TGLayoutHints(kLHintsNormal | kLHintsExpandX));
+ }
+