TMemStatDrawDlg Class Reference

#include <TMemStatDrawDlg.h>

List of all members.

Public Member Functions

 TMemStatDrawDlg (TGCompositeFrame *parent, TMemStat *MemStat)
virtual ~TMemStatDrawDlg ()
void HandleDrawMemStat ()

Private Member Functions

void PlaceCtrls (TGCompositeFrame *frame)
void PlaceLBoxCtrl (TGCompositeFrame *frame, TGComboBox **box, const std::string &Label, const StringVector_t &Vealues, Int_t resource)
void PlaceDeepCtrl (TGCompositeFrame *frame)
void PlaceEmbeddedCanvas (TGCompositeFrame *frame)
void ReDraw ()

Private Attributes

TMemStatfMemStat
TGComboBoxfboxOrder
TGComboBoxfboxSortStat
TGComboBoxfboxSortStamp
TGNumberEntryfNmbStackDeep
TGNumberEntryfNmbSortDeep
TGNumberEntryfNmbMaxLength
TRootEmbeddedCanvasfEc


Detailed Description

Definition at line 33 of file TMemStatDrawDlg.h.


Constructor & Destructor Documentation

TMemStatDrawDlg::TMemStatDrawDlg ( TGCompositeFrame parent,
TMemStat MemStat 
)

Definition at line 43 of file TMemStatDrawDlg.cxx.

References PlaceCtrls().

TMemStatDrawDlg::~TMemStatDrawDlg (  )  [virtual]

Definition at line 58 of file TMemStatDrawDlg.cxx.


Member Function Documentation

void TMemStatDrawDlg::HandleDrawMemStat (  ) 

Definition at line 212 of file TMemStatDrawDlg.cxx.

References ReDraw().

void TMemStatDrawDlg::PlaceCtrls ( TGCompositeFrame frame  )  [private]

Definition at line 64 of file TMemStatDrawDlg.cxx.

References TGCompositeFrame::AddFrame(), TQObject::Connect(), fboxOrder, fboxSortStamp, fboxSortStat, kFitHeight, kFitWidth, kHorizontalFrame, kLHintsCenterX, kLHintsExpandX, kLHintsExpandY, kLHintsLeft, kLHintsTop, kVerticalFrame, PlaceDeepCtrl(), PlaceEmbeddedCanvas(), PlaceLBoxCtrl(), resCBoxOrder, resCBoxSortStamp, resCBoxSortStat, and TGTextButton::SetText().

Referenced by TMemStatDrawDlg().

void TMemStatDrawDlg::PlaceLBoxCtrl ( TGCompositeFrame frame,
TGComboBox **  box,
const std::string Label,
const StringVector_t Vealues,
Int_t  resource 
) [private]

Referenced by PlaceCtrls().

void TMemStatDrawDlg::PlaceDeepCtrl ( TGCompositeFrame frame  )  [private]

Definition at line 131 of file TMemStatDrawDlg.cxx.

References TGCompositeFrame::AddFrame(), fMemStat, fNmbMaxLength, fNmbSortDeep, fNmbStackDeep, TMemStat::GetMaxStringLength(), TMemStat::GetSortDeep(), TMemStat::GetStackDeep(), kFitHeight, kFitWidth, kLHintsCenterY, kLHintsLeft, TGNumberFormat::kNEANonNegative, TGNumberFormat::kNELLimitMinMax, TGNumberFormat::kNESInteger, kVerticalFrame, TGFrame::Resize(), resNmbMaxLength, resNmbSortDeep, and resNmbStackDeep.

Referenced by PlaceCtrls().

void TMemStatDrawDlg::PlaceEmbeddedCanvas ( TGCompositeFrame frame  )  [private]

Definition at line 219 of file TMemStatDrawDlg.cxx.

References TGCompositeFrame::AddFrame(), fEc, TRootEmbeddedCanvas::GetCanvas(), kLHintsExpandY, and TPad::SetBorderMode().

Referenced by PlaceCtrls().

void TMemStatDrawDlg::ReDraw (  )  [private]

Definition at line 178 of file TMemStatDrawDlg.cxx.

References TMemStat::Draw(), fboxOrder, fboxSortStamp, fboxSortStat, fEc, fMemStat, fNmbMaxLength, fNmbSortDeep, fNmbStackDeep, TRootEmbeddedCanvas::GetCanvas(), TGNumberEntry::GetIntNumber(), TGComboBox::GetSelected(), TPad::Modified(), and TCanvas::Update().

Referenced by HandleDrawMemStat().


Member Data Documentation

TMemStat* TMemStatDrawDlg::fMemStat [private]

Definition at line 53 of file TMemStatDrawDlg.h.

Referenced by PlaceDeepCtrl(), and ReDraw().

TGComboBox* TMemStatDrawDlg::fboxOrder [private]

Definition at line 54 of file TMemStatDrawDlg.h.

Referenced by PlaceCtrls(), and ReDraw().

TGComboBox* TMemStatDrawDlg::fboxSortStat [private]

Definition at line 55 of file TMemStatDrawDlg.h.

Referenced by PlaceCtrls(), and ReDraw().

TGComboBox* TMemStatDrawDlg::fboxSortStamp [private]

Definition at line 56 of file TMemStatDrawDlg.h.

Referenced by PlaceCtrls(), and ReDraw().

TGNumberEntry* TMemStatDrawDlg::fNmbStackDeep [private]

Definition at line 57 of file TMemStatDrawDlg.h.

Referenced by PlaceDeepCtrl(), and ReDraw().

TGNumberEntry* TMemStatDrawDlg::fNmbSortDeep [private]

Definition at line 58 of file TMemStatDrawDlg.h.

Referenced by PlaceDeepCtrl(), and ReDraw().

TGNumberEntry* TMemStatDrawDlg::fNmbMaxLength [private]

Definition at line 59 of file TMemStatDrawDlg.h.

Referenced by PlaceDeepCtrl(), and ReDraw().

TRootEmbeddedCanvas* TMemStatDrawDlg::fEc [private]

Definition at line 60 of file TMemStatDrawDlg.h.

Referenced by PlaceEmbeddedCanvas(), and ReDraw().


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