#include <TMemStatDrawDlg.h>
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 | |
| TMemStat * | fMemStat |
| TGComboBox * | fboxOrder |
| TGComboBox * | fboxSortStat |
| TGComboBox * | fboxSortStamp |
| TGNumberEntry * | fNmbStackDeep |
| TGNumberEntry * | fNmbSortDeep |
| TGNumberEntry * | fNmbMaxLength |
| TRootEmbeddedCanvas * | fEc |
Definition at line 33 of file TMemStatDrawDlg.h.
| TMemStatDrawDlg::TMemStatDrawDlg | ( | TGCompositeFrame * | parent, | |
| TMemStat * | MemStat | |||
| ) |
| TMemStatDrawDlg::~TMemStatDrawDlg | ( | ) | [virtual] |
Definition at line 58 of file TMemStatDrawDlg.cxx.
| void TMemStatDrawDlg::HandleDrawMemStat | ( | ) |
| 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().
TMemStat* TMemStatDrawDlg::fMemStat [private] |
TGComboBox* TMemStatDrawDlg::fboxOrder [private] |
TGComboBox* TMemStatDrawDlg::fboxSortStat [private] |
TGComboBox* TMemStatDrawDlg::fboxSortStamp [private] |
TGNumberEntry* TMemStatDrawDlg::fNmbStackDeep [private] |
TGNumberEntry* TMemStatDrawDlg::fNmbSortDeep [private] |
TGNumberEntry* TMemStatDrawDlg::fNmbMaxLength [private] |
TRootEmbeddedCanvas* TMemStatDrawDlg::fEc [private] |
1.5.1