1741 TEveWindowSlot *slot = 0;
1745 char name[] =
"Feedback";
1748 slot = TEveWindow::CreateWindowInTab(gEve->GetBrowser()->GetTabRight());
1750 TGTab *tabs = gEve->GetBrowser()->GetTabRight();
1751 TGTabElement *tab = tabs->GetTabTab(tabs->GetNumberOfTabs()-1);
1755 TEveWindowPack* pack1 = slot->MakePack();
1756 pack1->SetElementName(
name);
1757 pack1->SetShowTitleBar(kFALSE);
1758 pack1->SetHorizontal();
1761 slot = pack1->NewSlot();
1762 TEveViewer *v =
new TEveViewer(
name);
1768 v->SpawnGLViewer((TGedEditor *) gEve->GetEditor());
1770 slot->ReplaceWindow(v);
1771 gEve->GetViewers()->AddElement(v);
1772 v->AddScene(gEve->GetEventScene());
1776 slot = pack1->NewSlot();
1777 fMainFrame = slot->MakeFrame()->GetGUICompositeFrame();
1778 fMainFrame->SetWindowName(
"Feedback editor");
1782 TGTextButton *fb =
new TGTextButton(
fMainFrame,
"Add Vertices");
1783 fMainFrame->AddFrame(fb,
new TGLayoutHints(kLHintsLeft | kLHintsTop,2,2,2,2));
1784 fb->MoveResize(20,20,80,20);
1785 fb->Connect(
"Clicked()",
"EdbEDAFeedbackEditor",
this,
"AddVerticesButton()");
1791 fTabVertices->Connect(
"Selected(Int_t)",
"EdbEDAFeedbackEditor",
this,
"HilightElementV(Int_t)");
1792 fTabVertices->Connect(
"CloseTab(Int_t)",
"EdbEDAFeedbackEditor",
this,
"RemoveVertexTab(Int_t)");
1795 fb =
new TGTextButton(
fMainFrame,
"Add Tracks");
1796 fMainFrame->AddFrame(fb,
new TGLayoutHints(kLHintsLeft | kLHintsTop,2,2,2,2));
1797 fb->MoveResize(20,20,80,20);
1798 fb->Connect(
"Clicked()",
"EdbEDAFeedbackEditor",
this,
"AddTracksButton()");
1804 fTabTracks->Connect(
"Selected(Int_t)",
"EdbEDAFeedbackEditor",
this,
"HilightElementT(Int_t)");
1805 fTabTracks->Connect(
"CloseTab(Int_t)",
"EdbEDAFeedbackEditor",
this,
"RemoveTrackTab(Int_t)");
TGCompositeFrame * fMainFrame
Definition: EdbDecaySearch.h:534
TGTab * fTabTracks
Definition: EdbDecaySearch.h:535
TObjArray * fVertexEntries
Definition: EdbDecaySearch.h:538
TGTab * fTabVertices
Definition: EdbDecaySearch.h:536
TObjArray * fTrackEntries
Definition: EdbDecaySearch.h:537
const char * name
Definition: merge_Energy_SytematicSources_Electron.C:24