759 browser->StartEmbedding(TRootBrowser::kBottom);
761 frame =
new TGMainFrame(gClient->GetRoot());
762 frame->SetWindowName(
"XX GUI");
763 frame->SetCleanup(kDeepCleanup);
771 fLabel =
new TGLabel(
frame,
"For Track :");
772 fLabel->MoveResize(posx,posy,dx=80,20);
775 fb =
new TGTextButton(
frame,
"Connect");
776 fb->MoveResize(posx,posy,dx=80,20);
777 fb->Connect(
"Clicked()",
"EdbEDAOperationTab",
this,
"ConnectTracksButton()");
780 fb =
new TGTextButton(
frame,
"Disconnect");
781 fb->MoveResize(posx,posy,dx=80,20);
782 fb->Connect(
"Clicked()",
"EdbEDAOperationTab",
this,
"DisconnectTracks()");
785 fb =
new TGTextButton(
frame,
"RemoveSegment");
786 fb->MoveResize(posx,posy,dx=100,20);
787 fb->Connect(
"Clicked()",
"EdbEDAOperationTab",
this,
"RemoveSegment()");
790 fb =
new TGTextButton(
frame,
"Attach to Vtx");
791 fb->MoveResize(posx,posy,dx=100,20);
792 fb->Connect(
"Clicked()",
"EdbEDAOperationTab",
this,
"AttachToVertexButton()");
793 fb->SetToolTipText(
"Attach selected tracks to the selected vertex (red).\n"
794 "the vertex position will not be re-calculated.");
798 fb =
new TGTextButton(
frame,
"Move to TrackSet");
799 fb->MoveResize(posx,posy,dx=100,20);
800 fb->Connect(
"Clicked()",
"EdbEDAOperationTab",
this,
"MoveToTrackSetButton()");
801 fb->SetToolTipText(
"Move current selected tracks to a different track set.");
804 fb =
new TGTextButton(
frame,
"Dump text");
805 fb->MoveResize(posx,posy,dx=100,20);
806 fb->Connect(
"Clicked()",
"EdbEDAOperationTab",
this,
"DumpTracksButton()");
807 fb->SetToolTipText(
"Dump all segments of the selected tracks to a text file.\nthis would be usefull when you want to show a volume scan data with another volume scan data.");
821 fb =
new TGTextButton(
frame,
"Redo");
822 fb->MoveResize(posx,posy,dx=80,20);
823 fb->Connect(
"Clicked()",
"EdbEDAOperationTab",
this,
"Redo()");
825 frame->MapSubwindows();
830 browser->SetTabTitle(
"Operation", 2);
TGMainFrame * frame
Definition: EdbEDATabs.h:162
int eLastOperation
Definition: EdbEDATabs.h:167
TEveBrowser * browser
Definition: EdbEDATabs.h:161