MyMainFrame Class Reference

Inheritance diagram for MyMainFrame:

TGMainFrame TGMainFrame TGMainFrame TGMainFrame TGMainFrame TGMainFrame TGMainFrame TGMainFrame TGMainFrame List of all members.

Public Member Functions

 MyMainFrame (const TGWindow *p, UInt_t w, UInt_t h)
virtual ~MyMainFrame ()
void ChangeStartLabel ()
void ChangePauseLabel ()
 MyMainFrame (const TGWindow *p, UInt_t w, UInt_t h)
virtual ~MyMainFrame ()
 MyMainFrame (const TGWindow *p, UInt_t w, UInt_t h)
virtual ~MyMainFrame ()
void DoExit ()
void DoSwitch ()
 MyMainFrame (const TGWindow *p, UInt_t w, UInt_t h)
virtual ~MyMainFrame ()
void DoExit ()
 MyMainFrame (const TGWindow *p, UInt_t w, UInt_t h)
virtual ~MyMainFrame ()
void DoExit ()
void DoSelect ()
void HandleButtons ()
void PrintSelected ()
 MyMainFrame (const TGWindow *p, UInt_t w, UInt_t h)
virtual ~MyMainFrame ()
void DoSetlabel ()
 MyMainFrame (const TGWindow *p, UInt_t w, UInt_t h)
virtual ~MyMainFrame ()
void DoSave ()
void CloseWindow ()
 MyMainFrame (const TGWindow *p, UInt_t w, UInt_t h)
virtual ~MyMainFrame ()
void DoSave ()
void CloseWindow ()
 MyMainFrame (const TGWindow *p, UInt_t w, UInt_t h)
virtual ~MyMainFrame ()
void DoExit ()
void DoDraw ()
void SetStatusText (const char *txt, Int_t pi)
void EventInfo (Int_t event, Int_t px, Int_t py, TObject *selected)

Private Attributes

TGCompositeFrame * fCframe
TGTextButton * fStart
TGTextButton * fPause
TGTextButton * fExit
Bool_t start
Bool_t pause
TGTextButton * test
TGTextButton * draw
TGTextButton * help
TGTextButton * ok
TGTextButton * cancel
TGTextButton * exit
TGLabel * fLbl1
TGLabel * fLbl2
TGLabel * fLbl3
TGLabel * fLbl4
TGTextButton * fToggle
TGListBox * fListBox
TGCheckButton * fCheckMulti
TList * fSelected
TGCompositeFrame * fHor1
TGTextButton * fExit
TGGroupFrame * fGframe
TGNumberEntry * fNumber
TGLabel * fLabel
TRootEmbeddedCanvas * fEcan
TGStatusBar * fStatusBar

Detailed Description

Definition at line 14 of file buttonChangelabel.C.


Constructor & Destructor Documentation

MyMainFrame::MyMainFrame ( const TGWindow *  p,
UInt_t  w,
UInt_t  h 
)

Definition at line 63 of file buttonChangelabel.C.

References TGCompositeFrame::AddFrame(), TQObject::Connect(), fCframe, fExit, fPause, fStart, TGCompositeFrame::GetDefaultSize(), kFALSE, kFixedWidth, kHorizontalFrame, kLHintsCenterX, kLHintsExpandX, kLHintsTop, TGCompositeFrame::MapSubwindows(), TGFrame::MapWindow(), pause, TGFrame::Resize(), TGButton::SetToolTipText(), TGMainFrame::SetWindowName(), start, and TGCompositeFrame::TGCompositeFrame().

MyMainFrame::~MyMainFrame (  )  [virtual]

Definition at line 96 of file buttonChangelabel.C.

References TGCompositeFrame::Cleanup(), and fCframe.

MyMainFrame::MyMainFrame ( const TGWindow *  p,
UInt_t  w,
UInt_t  h 
)

virtual MyMainFrame::~MyMainFrame (  )  [virtual]

MyMainFrame::MyMainFrame ( const TGWindow *  p,
UInt_t  w,
UInt_t  h 
)

virtual MyMainFrame::~MyMainFrame (  )  [virtual]

MyMainFrame::MyMainFrame ( const TGWindow *  p,
UInt_t  w,
UInt_t  h 
)

virtual MyMainFrame::~MyMainFrame (  )  [virtual]

MyMainFrame::MyMainFrame ( const TGWindow *  p,
UInt_t  w,
UInt_t  h 
)

virtual MyMainFrame::~MyMainFrame (  )  [virtual]

MyMainFrame::MyMainFrame ( const TGWindow *  p,
UInt_t  w,
UInt_t  h 
)

virtual MyMainFrame::~MyMainFrame (  )  [virtual]

MyMainFrame::MyMainFrame ( const TGWindow *  p,
UInt_t  w,
UInt_t  h 
)

virtual MyMainFrame::~MyMainFrame (  )  [virtual]

MyMainFrame::MyMainFrame ( const TGWindow *  p,
UInt_t  w,
UInt_t  h 
)

virtual MyMainFrame::~MyMainFrame (  )  [virtual]

MyMainFrame::MyMainFrame ( const TGWindow *  p,
UInt_t  w,
UInt_t  h 
)

virtual MyMainFrame::~MyMainFrame (  )  [virtual]


Member Function Documentation

void MyMainFrame::ChangeStartLabel (  ) 

Definition at line 31 of file buttonChangelabel.C.

References fStart, kButtonDown, kButtonUp, kFALSE, kTRUE, TGButton::SetState(), TGTextButton::SetText(), and start.

void MyMainFrame::ChangePauseLabel (  ) 

Definition at line 47 of file buttonChangelabel.C.

References fPause, kButtonDown, kButtonUp, kFALSE, kTRUE, pause, TGButton::SetState(), and TGTextButton::SetText().

void MyMainFrame::DoExit (  ) 

Definition at line 47 of file guilabels.C.

References gApplication, Printf(), and TApplication::Terminate().

void MyMainFrame::DoSwitch (  ) 

Definition at line 30 of file guilabels.C.

References TGLabel::Disable(), TGLabel::Enable(), fLbl1, fLbl2, fLbl3, fLbl4, and TGLabel::IsDisabled().

void MyMainFrame::DoExit (  ) 

void MyMainFrame::DoExit (  ) 

void MyMainFrame::DoSelect (  ) 

Definition at line 34 of file listBox.C.

References Printf().

void MyMainFrame::HandleButtons (  ) 

Definition at line 99 of file listBox.C.

References fCheckMulti, fListBox, TGButton::GetState(), gTQSender, id, TGListBox::SetMultipleSelections(), and TGWidget::WidgetId().

void MyMainFrame::PrintSelected (  ) 

Definition at line 113 of file listBox.C.

References TList::Clear(), fListBox, fSelected, TGListBox::GetMultipleSelections(), TGListBox::GetSelected(), TGListBox::GetSelectedEntries(), TCollection::ls(), and Printf().

void MyMainFrame::DoSetlabel (  ) 

Definition at line 76 of file numberEntry.C.

References fGframe, fLabel, fNumber, Form(), TGNumberEntryField::GetIntNumber(), TGNumberEntry::GetNumberEntry(), TGCompositeFrame::Layout(), and TGLabel::SetText().

void MyMainFrame::DoSave (  ) 

Definition at line 28 of file splitterHorizontal.C.

References Printf(), and TGMainFrame::SaveSource().

void MyMainFrame::CloseWindow (  )  [virtual]

Reimplemented from TGMainFrame.

Definition at line 105 of file splitterHorizontal.C.

void MyMainFrame::DoSave (  ) 

void MyMainFrame::CloseWindow (  )  [virtual]

Reimplemented from TGMainFrame.

void MyMainFrame::DoExit (  ) 

void MyMainFrame::DoDraw (  ) 

Definition at line 42 of file statusBar.C.

References c1, TGraph::Draw(), fEcan, TRootEmbeddedCanvas::GetCanvas(), TPad::GetFrame(), TGraph::GetXaxis(), TGraph::GetYaxis(), gr, i, TPad::Modified(), n, Printf(), TWbox::SetBorderSize(), TAttFill::SetFillColor(), TPad::SetGrid(), TAttLine::SetLineColor(), TAttLine::SetLineWidth(), TAttMarker::SetMarkerColor(), TAttMarker::SetMarkerStyle(), TNamed::SetTitle(), TGraph::SetTitle(), sin(), TCanvas::Update(), x, and y.

void MyMainFrame::SetStatusText ( const char *  txt,
Int_t  pi 
)

Definition at line 82 of file statusBar.C.

References fStatusBar, and TGStatusBar::SetText().

Referenced by EventInfo().

void MyMainFrame::EventInfo ( Int_t  event,
Int_t  px,
Int_t  py,
TObject *  selected 
)

Definition at line 88 of file statusBar.C.

References TObject::GetName(), TObject::GetObjectInfo(), TObject::GetTitle(), kKeyPress, SetStatusText(), and sprintf().


Member Data Documentation

TGCompositeFrame* MyMainFrame::fCframe [private]

Definition at line 17 of file buttonChangelabel.C.

Referenced by MyMainFrame(), and ~MyMainFrame().

TGTextButton* MyMainFrame::fStart [private]

Definition at line 18 of file buttonChangelabel.C.

Referenced by ChangeStartLabel(), and MyMainFrame().

TGTextButton * MyMainFrame::fPause [private]

Definition at line 18 of file buttonChangelabel.C.

Referenced by ChangePauseLabel(), and MyMainFrame().

TGTextButton * MyMainFrame::fExit [private]

Definition at line 18 of file buttonChangelabel.C.

Referenced by MyMainFrame().

Bool_t MyMainFrame::start [private]

Definition at line 19 of file buttonChangelabel.C.

Referenced by ChangeStartLabel(), and MyMainFrame().

Bool_t MyMainFrame::pause [private]

Definition at line 19 of file buttonChangelabel.C.

Referenced by ChangePauseLabel(), and MyMainFrame().

TGTextButton* MyMainFrame::test [private]

Definition at line 15 of file buttonsLayout.C.

TGTextButton * MyMainFrame::draw [private]

Definition at line 15 of file buttonsLayout.C.

TGTextButton * MyMainFrame::help [private]

Definition at line 15 of file buttonsLayout.C.

TGTextButton * MyMainFrame::ok [private]

Definition at line 15 of file buttonsLayout.C.

TGTextButton * MyMainFrame::cancel [private]

Definition at line 15 of file buttonsLayout.C.

TGTextButton * MyMainFrame::exit [private]

Definition at line 15 of file buttonsLayout.C.

TGLabel* MyMainFrame::fLbl1 [private]

Definition at line 19 of file guilabels.C.

Referenced by DoSwitch().

TGLabel * MyMainFrame::fLbl2 [private]

Definition at line 19 of file guilabels.C.

Referenced by DoSwitch().

TGLabel * MyMainFrame::fLbl3 [private]

Definition at line 19 of file guilabels.C.

Referenced by DoSwitch().

TGLabel * MyMainFrame::fLbl4 [private]

Definition at line 19 of file guilabels.C.

Referenced by DoSwitch().

TGTextButton* MyMainFrame::fToggle [private]

Definition at line 20 of file guilabels.C.

TGListBox* MyMainFrame::fListBox [private]

Definition at line 19 of file listBox.C.

Referenced by HandleButtons(), and PrintSelected().

TGCheckButton* MyMainFrame::fCheckMulti [private]

Definition at line 20 of file listBox.C.

Referenced by HandleButtons().

TList* MyMainFrame::fSelected [private]

Definition at line 21 of file listBox.C.

Referenced by PrintSelected().

TGCompositeFrame* MyMainFrame::fHor1 [private]

Definition at line 24 of file numberEntry.C.

TGTextButton* MyMainFrame::fExit [private]

Definition at line 25 of file numberEntry.C.

TGGroupFrame* MyMainFrame::fGframe [private]

Definition at line 26 of file numberEntry.C.

Referenced by DoSetlabel().

TGNumberEntry* MyMainFrame::fNumber [private]

Definition at line 27 of file numberEntry.C.

Referenced by DoSetlabel().

TGLabel* MyMainFrame::fLabel [private]

Definition at line 28 of file numberEntry.C.

Referenced by DoSetlabel().

TRootEmbeddedCanvas* MyMainFrame::fEcan [private]

Definition at line 28 of file statusBar.C.

Referenced by DoDraw().

TGStatusBar* MyMainFrame::fStatusBar [private]

Definition at line 29 of file statusBar.C.

Referenced by SetStatusText().


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:31:15 2011 for ROOT_528-00b_version by  doxygen 1.5.1