30 TGTransientFrame(0,0,800,300,0),
33 fL1 =
new TGLayoutHints(kLHintsLeft|kLHintsTop|kLHintsExpandX, 2, 2, 2, 2);
34 fL2 =
new TGLayoutHints(kLHintsLeft|kLHintsTop, 2, 2, 2, 2);
49 std::map<std::string,Printable*>&
53 for (; itr!=itrEnd; ++itr) {
62 base += itr->second->PrintTag();
65 sprintf(runevt,
".%d.%d",
80 fFilename[i]->SetToolTipText(
"Base file name for print");
87 fDoPNG[i]->Resize(wCheckBox,h);
94 fDoGIF[i]->Resize(wCheckBox,h);
101 fDoPDF[i]->Resize(wCheckBox,h);
108 fDoEPS[i]->Resize(wCheckBox,h);
127 new TGLayoutHints(kLHintsLeft,4,4,4,4));
130 fCancelButton->Connect(
"Clicked()",
"evdb::PrintDialog",
this,
"Cancel()");
132 new TGLayoutHints(kLHintsRight,4,4,4,4));
137 this->MapSubwindows();
138 this->Resize(500, fNprintable*(h+8)+38);
140 this->SetWindowName(
"Print Dialog");
143 this->Connect(
"CloseWindow()",
"evdb::PrintDialog",
this,
"CloseWindow()");
static std::map< std::string, bool > gsPrintableSelection
TGCheckButton * fDoGIF[10]
TGCheckButton * fDoEPS[10]
TGTextEntry * fFilename[10]
std::string fPrintTag[10]
TGCheckButton * fDoPDF[10]
TGCheckButton * fPrintableCB[10]
static std::map< std::string, evdb::Printable * > & GetPrintables()
TGCheckButton * fDoPNG[10]
static EventHolder * Instance()
TGTextButton * fCancelButton
TGCompositeFrame * fButtonFrame
TGCompositeFrame * fPrintFrame[10]
static std::map< std::string, bool > gsFormatSelection
TGTextButton * fPrintButton
Printable * fPrintable[10]
h
training ###############################