1546 TEveBrowser *browser = gEve->GetBrowser();
1547 browser->StartEmbedding(TRootBrowser::kBottom);
1549 TGMainFrame *frame =
new TGMainFrame(gClient->GetRoot());
1550 frame->SetWindowName(
"XX GUI");
1551 frame->SetCleanup(kDeepCleanup);
1553 frame->SetLayoutBroken(kTRUE);
1561 fLabel =
new TGLabel(frame,
"TrackSet :");
1562 fLabel->MoveResize(posx,posy,dx=60,20);
1573 fTrackSet->MoveResize(posx,posy,dx=60,20);
1574 fTrackSet->Connect(
"Selected(const char *)",
"EdbEDATrackSetTab",
this,
"Selected(const char *)");
1585 fScanID =
new TGTextButton(frame,
"hoge");
1586 fScanID->MoveResize(posx,posy,dx=150,20);
1587 fScanID->Connect(
"Clicked()",
"EdbEDATrackSetTab",
this,
"ChangeScanID()");
1608 fReadMicro =
new TGCheckButton(frame,
"Microtrk");
1609 fReadMicro->MoveResize(posx, posy, dx=70,20);
1610 fReadMicro->Connect(
"Toggled(bool)",
"EdbEDATrackSetTab",
this,
"Update()");
1613 fb =
fPredScan =
new TGTextButton(frame,
"Read Pred. Scan");
1614 fb->MoveResize(posx,posy,dx=100,20);
1615 fb->Connect(
"Clicked()",
"EdbEDATrackSetTab",
this,
"ReadPredictionScan()");
1618 fb =
fReadText =
new TGTextButton(frame,
"Read File");
1619 fb->MoveResize(posx,posy,dx=90,20);
1620 fb->Connect(
"Clicked()",
"EdbEDATrackSetTab",
this,
"ReadFile()");
1623 fb =
fReadText =
new TGTextButton(frame,
"Read Text File");
1624 fb->MoveResize(posx,posy,dx=90,20);
1625 fb->Connect(
"Clicked()",
"EdbEDATrackSetTab",
this,
"ReadTextTracks()");
1628 fb =
new TGTextButton(frame,
"Clear");
1629 fb->MoveResize(posx,posy,dx=50,20);
1630 fb->Connect(
"Clicked()",
"EdbEDATrackSetTab",
this,
"ClearTracks()");
1637 fDataText->MoveResize(posx,posy,dx=70,20);
1640 fColorAuto =
new TGCheckButton(frame,
"Color auto");
1641 fColorAuto->MoveResize(posx, posy, dx=80,20);
1642 fColorAuto->Connect(
"Toggled(bool)",
"EdbEDATrackSetTab",
this,
"ToggleAuto(bool)");
1647 fTrackColor->Connect(
"ColorSelected(Pixel_t)",
"EdbEDATrackSetTab",
this,
"Update()");
1653 fTrackWidth->Connect(
"Selected(int)",
"EdbEDATrackSetTab",
this,
"Update()");
1658 fLayerColor->Connect(
"ColorSelected(Pixel_t)",
"EdbEDATrackSetTab",
this,
"Update()");
1664 fLayerWidth->Connect(
"Selected(int)",
"EdbEDATrackSetTab",
this,
"Update()");
1668 fLabel =
new TGLabel(frame,
"Layer length");
1669 fLabel->MoveResize(posx,posy,dx=70,20);
1673 fLayerLength->Connect(
"TextChanged(char *)",
"EdbEDATrackSetTab",
this,
"Update()");
1676 fTrackID =
new TGCheckButton(frame,
"ID");
1677 fTrackID->MoveResize(posx, posy, dx=35,20);
1678 fTrackID->Connect(
"Toggled(bool)",
"EdbEDATrackSetTab",
this,
"Update()");
1683 fTrackAngle->Connect(
"Toggled(bool)",
"EdbEDATrackSetTab",
this,
"Update()");
1693 fb =
new TGTextButton(frame,
"Font");
1694 fb->MoveResize(posx, posy, dx=35,20);
1695 fb->Connect(
"Clicked()",
"EdbEDATrackSetTab",
this,
"MakeFontWindow()");
1708 fExtendMode->Connect(
"Selected(const char *)",
"EdbEDATrackSetTab",
this,
"Update()");
1715 frame->MapSubwindows();
1719 browser->StopEmbedding();
1720 browser->SetTabTitle(
"TrackSets", 2);
EdbEDA * gEDA
Definition: EdbEDA.C:3
TGColorSelect * fTrackColor
Definition: EdbEDATrackSet.h:624
TGLabel * fDataText
Definition: EdbEDATrackSet.h:636
TGNumberEntryField * fLayerLength
Definition: EdbEDATrackSet.h:628
TGCheckButton * fTrackID
Definition: EdbEDATrackSet.h:621
TGMainFrame * fFontWindow
Definition: EdbEDATrackSet.h:633
TGComboBox * fExtendMode
Definition: EdbEDATrackSet.h:629
bool eEnable
Definition: EdbEDATrackSet.h:610
TGComboBox * fTrackSet
Definition: EdbEDATrackSet.h:623
TGCheckButton * fReadMicro
Definition: EdbEDATrackSet.h:620
TGTextButton * fReadText
Definition: EdbEDATrackSet.h:618
TGLineWidthComboBox * fTrackWidth
Definition: EdbEDATrackSet.h:625
void SetAttributeGUIs(EdbEDATrackSet *set)
Definition: EdbEDATrackSet.C:1851
TGCheckButton * fTrackAngle
Definition: EdbEDATrackSet.h:622
TGCheckButton * fColorAuto
Definition: EdbEDATrackSet.h:619
TGTextButton * fScanID
Definition: EdbEDATrackSet.h:634
TGLineWidthComboBox * fLayerWidth
Definition: EdbEDATrackSet.h:627
TGColorSelect * fLayerColor
Definition: EdbEDATrackSet.h:626
TGTextButton * fPredScan
Definition: EdbEDATrackSet.h:617
EdbEDATrackSet * eSet
Definition: EdbEDATrackSet.h:612
Definition: EdbEDATrackSet.h:178
int NTrackSets()
Definition: EdbEDA.h:616
EdbEDATrackSet * GetTrackSet(int i)
Definition: EdbEDA.h:617
EdbScanSet * set
Definition: emtraceback.cpp:14
@ kExtendUpDown
Definition: EdbEDAUtil.h:91
@ kExtendAuto
Definition: EdbEDAUtil.h:90
@ kExtendUp
Definition: EdbEDAUtil.h:93
@ kExtendDown
Definition: EdbEDAUtil.h:92
@ kExtendNo
Definition: EdbEDAUtil.h:94
#define NULL
Definition: nidaqmx.h:84