#include <guitest.h>
Inheritance diagram for TestDialog:
Definition at line 119 of file guitest.h.
TestDialog::TestDialog | ( | const TGWindow * | p, | |
const TGWindow * | main, | |||
UInt_t | w, | |||
UInt_t | h, | |||
UInt_t | options = kVerticalFrame | |||
) |
Definition at line 396 of file guitest.cpp.
References TList::Add(), TGListBox::AddEntry(), TGComboBox::AddEntry(), TGCompositeFrame::AddFrame(), TGTab::AddTab(), TGTextBuffer::AddText(), TGWidget::Associate(), TGFrame::ChangeBackground(), fBtn1, fBtn2, fCancelButton, fCheckMulti, fChk1, fChk2, fCleanup, TGObject::fClient, fCombo, fEc1, fEc2, fF1, fF2, fF3, fF4, fF5, fF6, fF7, fFillHistos, fFirstEntry, fFrame1, TGFrame::fHeight, fHpx, fHpxpy, fL1, fL2, fL3, fL4, fLastEntry, fListBox, fOkButton, fRad1, fRad2, fStartB, fStopB, fTab, fTxt1, fTxt2, TGFrame::fWidth, TRootEmbeddedCanvas::GetCanvas(), TGClient::GetColorByName(), TGFrame::GetDefaultHeight(), TGCompositeFrame::GetDefaultSize(), TGFrame::GetHeight(), TGObject::GetId(), TGWindow::GetParent(), TGTab::GetTabTab(), gVirtualX, i, j, kFALSE, kFixedWidth, kHorizontalFrame, kLHintsBottom, kLHintsExpandX, kLHintsExpandY, kLHintsLeft, kLHintsRight, kLHintsTop, kVerticalFrame, main(), TGCompositeFrame::MapSubwindows(), TGFrame::MapWindow(), TGFrame::Move(), TGListBox::Resize(), TGFrame::Resize(), TPad::SetBorderMode(), TGTextEntry::SetFont(), TGCompositeFrame::SetLayoutManager(), TGMainFrame::SetWindowName(), sprintf(), and TGCompositeFrame::TGCompositeFrame().
TestDialog::~TestDialog | ( | ) | [virtual] |
Definition at line 604 of file guitest.cpp.
References TList::Delete(), fBtn1, fBtn2, fCancelButton, fCheckMulti, fChk1, fChk2, fCleanup, fCombo, fEc1, fEc2, fF1, fF2, fF3, fF4, fF5, fF6, fF7, fFrame1, fHpx, fHpxpy, fL1, fL2, fL3, fL4, fListBox, fOkButton, fRad1, fRad2, fStartB, fStopB, fTab, fTxt1, and fTxt2.
TestDialog::TestDialog | ( | const TGWindow * | p, | |
const TGWindow * | main, | |||
UInt_t | w, | |||
UInt_t | h, | |||
UInt_t | options = kVerticalFrame | |||
) |
virtual TestDialog::~TestDialog | ( | ) | [virtual] |
TestDialog::TestDialog | ( | const TGWindow * | p, | |
const TGWindow * | main, | |||
UInt_t | w, | |||
UInt_t | h, | |||
UInt_t | options = kVerticalFrame | |||
) |
virtual TestDialog::~TestDialog | ( | ) | [virtual] |
void TestDialog::FillHistos | ( | ) | [private] |
Definition at line 629 of file guitest.cpp.
References c1, TCanvas::cd(), xmlio::cnt, TH1::Draw(), fEc1, fEc2, fFillHistos, fHpx, fHpxpy, TH2::Fill(), TH1::Fill(), TRootEmbeddedCanvas::GetCanvas(), gRandom, gSystem, kRed, kUPDATE, TPad::Modified(), TSystem::ProcessEvents(), TRandom::Rannor(), TAttFill::SetFillColor(), and TCanvas::Update().
Referenced by HandleButtons(), and ProcessMessage().
void TestDialog::CloseWindow | ( | ) | [virtual] |
Reimplemented from TGMainFrame.
Definition at line 668 of file guitest.cpp.
Referenced by DoClose(), and ProcessMessage().
Reimplemented from TGCompositeFrame.
Definition at line 675 of file guitest.cpp.
References TGListBox::AddEntry(), TGTab::AddTab(), CloseWindow(), fCheckMulti, fEc1, fEc2, fFillHistos, fFirstEntry, FillHistos(), fLastEntry, fListBox, fRad1, fRad2, fTab, GET_MSG(), GET_SUBMSG(), TGTab::GetNumberOfTabs(), TGButton::GetState(), TGTabElement::GetString(), TGTab::GetTabTab(), i, kButtonUp, kC_COMMAND, kCM_BUTTON, kCM_CHECKBUTTON, kCM_RADIOBUTTON, kCM_TAB, kFALSE, kTRUE, TGListBox::Layout(), TGCompositeFrame::Layout(), TGCompositeFrame::MapSubwindows(), TGListBox::RemoveEntry(), TGTab::RemoveTab(), s, SafeDelete, TGListBox::SetMultipleSelections(), TGButton::SetState(), and sprintf().
void TestDialog::FillHistos | ( | ) | [private] |
virtual void TestDialog::CloseWindow | ( | ) | [virtual] |
Reimplemented from TGMainFrame.
Reimplemented from TGCompositeFrame.
void TestDialog::FillHistos | ( | ) | [private] |
void TestDialog::DoClose | ( | ) |
Definition at line 1208 of file guitest.C.
References CloseWindow(), fFillHistos, TVirtualPadEditor::GetPadEditor(), kFALSE, TTimer::SingleShot(), and TVirtualPadEditor::Terminate().
void TestDialog::CloseWindow | ( | ) | [virtual] |
Reimplemented from TGMainFrame.
void TestDialog::DoOK | ( | ) |
Definition at line 1229 of file guitest.C.
References fCancelButton, fFillHistos, fOkButton, TVirtualPadEditor::GetPadEditor(), kButtonDisabled, kFALSE, TGButton::SetState(), TTimer::SingleShot(), and TVirtualPadEditor::Terminate().
void TestDialog::DoCancel | ( | ) |
Definition at line 1254 of file guitest.C.
References fCancelButton, fFillHistos, fOkButton, TVirtualPadEditor::GetPadEditor(), kButtonDisabled, kFALSE, TGButton::SetState(), TTimer::SingleShot(), and TVirtualPadEditor::Terminate().
void TestDialog::HandleButtons | ( | Int_t | id = -1 |
) |
Definition at line 1267 of file guitest.C.
References TGListBox::AddEntry(), TGTab::AddTab(), fCheckMulti, fCombo, fEc1, fEc2, fFillHistos, fFirstEntry, FillHistos(), fLastEntry, fListBox, fMain, fRad1, fRad2, fTab, TGTab::GetNumberOfTabs(), TGButton::GetState(), TGTabElement::GetString(), TGTab::GetTabTab(), gTQSender, kButtonUp, kDeepCleanup, kFALSE, kTRUE, TGListBox::Layout(), TGCompositeFrame::Layout(), TGCompositeFrame::MapSubwindows(), TGCompositeFrame::MustCleanup(), TGListBox::RemoveEntry(), TGTab::RemoveTab(), s, TGComboBox::Select(), TGListBox::SetMultipleSelections(), TGButton::SetState(), sprintf(), and TGWidget::WidgetId().
TGCompositeFrame* TestDialog::fFrame1 [private] |
TGCompositeFrame * TestDialog::fF1 [private] |
TGCompositeFrame * TestDialog::fF2 [private] |
TGCompositeFrame * TestDialog::fF3 [private] |
TGCompositeFrame * TestDialog::fF4 [private] |
TGCompositeFrame * TestDialog::fF5 [private] |
TGCompositeFrame * TestDialog::fF6 [private] |
TGGroupFrame * TestDialog::fF7 [private] |
TGButton* TestDialog::fOkButton [private] |
Definition at line 123 of file guitest.h.
Referenced by DoCancel(), DoOK(), TestDialog(), and ~TestDialog().
TGButton * TestDialog::fCancelButton [private] |
Definition at line 123 of file guitest.h.
Referenced by DoCancel(), DoOK(), TestDialog(), and ~TestDialog().
TGButton * TestDialog::fStartB [private] |
TGButton * TestDialog::fStopB [private] |
TGButton* TestDialog::fBtn1 [private] |
TGButton * TestDialog::fBtn2 [private] |
TGButton * TestDialog::fChk1 [private] |
TGButton * TestDialog::fChk2 [private] |
TGButton * TestDialog::fRad1 [private] |
Definition at line 124 of file guitest.h.
Referenced by HandleButtons(), ProcessMessage(), TestDialog(), and ~TestDialog().
TGButton * TestDialog::fRad2 [private] |
Definition at line 124 of file guitest.h.
Referenced by HandleButtons(), ProcessMessage(), TestDialog(), and ~TestDialog().
TGPictureButton* TestDialog::fPicBut1 [private] |
TGRadioButton* TestDialog::fRadio1 [private] |
TGRadioButton * TestDialog::fRadio2 [private] |
TGCheckButton* TestDialog::fCheck1 [private] |
TGCheckButton* TestDialog::fCheckMulti [private] |
Definition at line 128 of file guitest.h.
Referenced by HandleButtons(), ProcessMessage(), TestDialog(), and ~TestDialog().
TGListBox* TestDialog::fListBox [private] |
Definition at line 129 of file guitest.h.
Referenced by HandleButtons(), ProcessMessage(), TestDialog(), and ~TestDialog().
TGComboBox* TestDialog::fCombo [private] |
Definition at line 130 of file guitest.h.
Referenced by HandleButtons(), TestDialog(), and ~TestDialog().
TGTab* TestDialog::fTab [private] |
Definition at line 131 of file guitest.h.
Referenced by HandleButtons(), ProcessMessage(), TestDialog(), and ~TestDialog().
TGTextEntry* TestDialog::fTxt1 [private] |
TGTextEntry * TestDialog::fTxt2 [private] |
TGLayoutHints* TestDialog::fL1 [private] |
TGLayoutHints * TestDialog::fL2 [private] |
TGLayoutHints * TestDialog::fL3 [private] |
TGLayoutHints * TestDialog::fL4 [private] |
TRootEmbeddedCanvas* TestDialog::fEc1 [private] |
Definition at line 134 of file guitest.h.
Referenced by FillHistos(), HandleButtons(), ProcessMessage(), TestDialog(), and ~TestDialog().
TRootEmbeddedCanvas * TestDialog::fEc2 [private] |
Definition at line 134 of file guitest.h.
Referenced by FillHistos(), HandleButtons(), ProcessMessage(), TestDialog(), and ~TestDialog().
Int_t TestDialog::fFirstEntry [private] |
Definition at line 135 of file guitest.h.
Referenced by HandleButtons(), ProcessMessage(), and TestDialog().
Int_t TestDialog::fLastEntry [private] |
Definition at line 136 of file guitest.h.
Referenced by HandleButtons(), ProcessMessage(), and TestDialog().
Bool_t TestDialog::fFillHistos [private] |
Definition at line 137 of file guitest.h.
Referenced by DoCancel(), DoClose(), DoOK(), FillHistos(), HandleButtons(), ProcessMessage(), and TestDialog().
TH1F* TestDialog::fHpx [private] |
Definition at line 138 of file guitest.h.
Referenced by FillHistos(), TestDialog(), and ~TestDialog().
TH2F* TestDialog::fHpxpy [private] |
Definition at line 139 of file guitest.h.
Referenced by FillHistos(), TestDialog(), and ~TestDialog().
TList* TestDialog::fCleanup [private] |
TGCompositeFrame* TestDialog::fFrame1 [private] |
Definition at line 253 of file guitest.cxx.
TGGroupFrame* TestDialog::fF6 [private] |
Definition at line 254 of file guitest.cxx.
TGGroupFrame * TestDialog::fF7 [private] |
Definition at line 254 of file guitest.cxx.
TGButton* TestDialog::fOkButton [private] |
Definition at line 255 of file guitest.cxx.
TGButton* TestDialog::fBtn1 [private] |
Definition at line 256 of file guitest.cxx.
TGPictureButton* TestDialog::fPicBut1 [private] |
Definition at line 257 of file guitest.cxx.
TGCheckButton* TestDialog::fCheck1 [private] |
Definition at line 258 of file guitest.cxx.
TGCheckButton* TestDialog::fCheckMulti [private] |
Definition at line 259 of file guitest.cxx.
TGListBox* TestDialog::fListBox [private] |
Definition at line 260 of file guitest.cxx.
TGComboBox* TestDialog::fCombo [private] |
Definition at line 261 of file guitest.cxx.
TGTab* TestDialog::fTab [private] |
Definition at line 262 of file guitest.cxx.
TGTextEntry* TestDialog::fTxt1 [private] |
Definition at line 263 of file guitest.cxx.
TGLayoutHints* TestDialog::fL1 [private] |
Definition at line 264 of file guitest.cxx.
TRootEmbeddedCanvas* TestDialog::fEc1 [private] |
Definition at line 265 of file guitest.cxx.
TH1F* TestDialog::fHpx [private] |
Definition at line 269 of file guitest.cxx.
TH2F* TestDialog::fHpxpy [private] |
Definition at line 270 of file guitest.cxx.
TGTransientFrame* TestDialog::fMain [private] |
Reimplemented from TGTransientFrame.
Definition at line 272 of file guitest.C.
Referenced by HandleButtons().
TGCompositeFrame* TestDialog::fFrame1 [private] |
TGGroupFrame* TestDialog::fF6 [private] |
TGButton* TestDialog::fOkButton [private] |
TGButton* TestDialog::fBtn1 [private] |
TGPictureButton* TestDialog::fPicBut1 [private] |
TGCheckButton* TestDialog::fCheck1 [private] |
TGCheckButton* TestDialog::fCheckMulti [private] |
TGListBox* TestDialog::fListBox [private] |
TGComboBox* TestDialog::fCombo [private] |
TGTab* TestDialog::fTab [private] |
TGTextEntry* TestDialog::fTxt1 [private] |
TGLayoutHints* TestDialog::fL1 [private] |
TRootEmbeddedCanvas* TestDialog::fEc1 [private] |
TH1F* TestDialog::fHpx [private] |
TH2F* TestDialog::fHpxpy [private] |