#include <TGTableLayout.h>
Inheritance diagram for TGTableLayout:
Definition at line 87 of file TGTableLayout.h.
TGTableLayout::TGTableLayout | ( | const TGTableLayout & | ) | [private] |
TGTableLayout::TGTableLayout | ( | TGCompositeFrame * | main, | |
UInt_t | nrows, | |||
UInt_t | ncols, | |||
Bool_t | homogeneous = kFALSE , |
|||
Int_t | sep = 0 , |
|||
Int_t | hints = 0 | |||
) |
TGTableLayout::~TGTableLayout | ( | ) | [virtual] |
TGTableLayout::TGTableLayout | ( | const TGTableLayout & | ) | [private] |
TGTableLayout::TGTableLayout | ( | TGCompositeFrame * | main, | |
UInt_t | nrows, | |||
UInt_t | ncols, | |||
Bool_t | homogeneous = kFALSE , |
|||
Int_t | sep = 0 , |
|||
Int_t | hints = 0 | |||
) |
virtual TGTableLayout::~TGTableLayout | ( | ) | [virtual] |
TGTableLayout& TGTableLayout::operator= | ( | const TGTableLayout & | ) | [private] |
void TGTableLayout::FindRowColSizes | ( | ) | [protected] |
Definition at line 117 of file TGTableLayout.cxx.
References FindRowColSizesHomogeneous(), FindRowColSizesInit(), FindRowColSizesMultiplyAttached(), and FindRowColSizesSinglyAttached().
Referenced by Layout().
void TGTableLayout::FindRowColSizesInit | ( | ) | [protected] |
Definition at line 132 of file TGTableLayout.cxx.
References fCol, fNcols, fNrows, fRow, and i.
Referenced by FindRowColSizes().
void TGTableLayout::FindRowColSizesHomogeneous | ( | ) | [protected] |
Definition at line 182 of file TGTableLayout.cxx.
References fCol, fHomogeneous, fNcols, fNrows, fRow, TMath::Max(), and row.
Referenced by FindRowColSizes().
void TGTableLayout::FindRowColSizesSinglyAttached | ( | ) | [protected] |
Definition at line 149 of file TGTableLayout.cxx.
References TObject::Error(), fCol, TGTableLayout::TableData_t::fDefSize, fList, fRow, TGTableLayoutHints::GetAttachBottom(), TGTableLayoutHints::GetAttachLeft(), TGTableLayoutHints::GetAttachRight(), TGTableLayoutHints::GetAttachTop(), TGLayoutHints::GetPadBottom(), TGLayoutHints::GetPadLeft(), TGLayoutHints::GetPadRight(), TGLayoutHints::GetPadTop(), TMath::Max(), ptr, and row.
Referenced by FindRowColSizes().
void TGTableLayout::FindRowColSizesMultiplyAttached | ( | ) | [protected] |
Definition at line 204 of file TGTableLayout.cxx.
References TObject::Error(), extra, fCol, TGTableLayout::TableData_t::fDefSize, fList, fRow, TGTableLayoutHints::GetAttachBottom(), TGTableLayoutHints::GetAttachLeft(), TGTableLayoutHints::GetAttachRight(), TGTableLayoutHints::GetAttachTop(), TGLayoutHints::GetPadBottom(), TGLayoutHints::GetPadLeft(), TGLayoutHints::GetPadRight(), TGLayoutHints::GetPadTop(), height, ptr, row, top(), and width.
Referenced by FindRowColSizes().
void TGTableLayout::SetRowColSizes | ( | ) | [protected] |
Definition at line 342 of file TGTableLayout.cxx.
References fCol, fHomogeneous, fMain, fNcols, fNrows, fRow, fSep, TGFrame::GetBorderWidth(), TGFrame::GetHeight(), TGFrame::GetWidth(), SetRowColResize(), and SetRowColSizesInit().
Referenced by Layout().
void TGTableLayout::SetRowColSizesInit | ( | ) | [protected] |
Definition at line 357 of file TGTableLayout.cxx.
References TObject::Error(), fCol, TGTableLayout::TableData_t::fEmpty, TGTableLayout::TableData_t::fExpand, fList, fNcols, TGTableLayout::TableData_t::fNeedExpand, TGTableLayout::TableData_t::fNeedShrink, fNrows, fRow, TGTableLayout::TableData_t::fShrink, TGTableLayoutHints::GetAttachBottom(), TGTableLayoutHints::GetAttachLeft(), TGTableLayoutHints::GetAttachRight(), TGTableLayoutHints::GetAttachTop(), TGLayoutHints::GetLayoutHints(), kFALSE, kLHintsExpandX, kLHintsExpandY, kLHintsShrinkX, kLHintsShrinkY, kTRUE, ptr, TIter::Reset(), row, and top().
Referenced by SetRowColSizes().
void TGTableLayout::CheckSanity | ( | ) | [protected] |
Definition at line 489 of file TGTableLayout.cxx.
References TObject::Error(), fList, fNcols, fNrows, TGTableLayoutHints::GetAttachBottom(), TGTableLayoutHints::GetAttachLeft(), TGTableLayoutHints::GetAttachRight(), TGTableLayoutHints::GetAttachTop(), ptr, and top().
Referenced by Layout().
void TGTableLayout::SetRowColResize | ( | UInt_t | real_size, | |
UInt_t | nthings, | |||
TableData_t * | thing, | |||
Bool_t | homogeneous | |||
) | [static, protected] |
Definition at line 261 of file TGTableLayout.cxx.
References extra, TGTableLayout::TableData_t::fRealSize, TGTableLayout::TableData_t::fShrink, kFALSE, TMath::Max(), and size.
Referenced by SetRowColSizes().
void TGTableLayout::Layout | ( | ) | [virtual] |
Implements TGLayoutManager.
Definition at line 550 of file TGTableLayout.cxx.
References CheckSanity(), TObject::Error(), fCol, FindRowColSizes(), fList, fMain, fRow, fSep, TGTableLayoutHints::GetAttachBottom(), TGTableLayoutHints::GetAttachLeft(), TGTableLayoutHints::GetAttachRight(), TGTableLayoutHints::GetAttachTop(), TGFrame::GetBorderWidth(), TGLayoutHints::GetLayoutHints(), TGLayoutHints::GetPadBottom(), TGLayoutHints::GetPadLeft(), TGLayoutHints::GetPadRight(), TGLayoutHints::GetPadTop(), kLHintsBottom, kLHintsCenterX, kLHintsCenterY, kLHintsFillX, kLHintsFillY, kLHintsRight, ptr, row, SetRowColSizes(), size, and top().
TGDimension TGTableLayout::GetDefaultSize | ( | ) | const [virtual] |
Implements TGLayoutManager.
Definition at line 638 of file TGTableLayout.cxx.
References fCol, TGTableLayout::TableData_t::fDefSize, TGDimension::fHeight, fMain, fNcols, fNrows, fRow, fSep, TGDimension::fWidth, TGFrame::GetBorderWidth(), TGFrame::GetOptions(), TGFrame::GetSize(), if(), kFixedHeight, kFixedWidth, row, and size.
void TGTableLayout::SavePrimitive | ( | ostream & | out, | |
Option_t * | = "" | |||
) | [virtual] |
Reimplemented from TObject.
Definition at line 737 of file TGTableLayout.cxx.
References fHomogeneous, fMain, fNcols, fNrows, fSep, TGWindow::GetName(), and kTRUE.
TGTableLayout& TGTableLayout::operator= | ( | const TGTableLayout & | ) | [private] |
void TGTableLayout::FindRowColSizes | ( | ) | [protected] |
void TGTableLayout::FindRowColSizesInit | ( | ) | [protected] |
void TGTableLayout::FindRowColSizesHomogeneous | ( | ) | [protected] |
void TGTableLayout::FindRowColSizesSinglyAttached | ( | ) | [protected] |
void TGTableLayout::FindRowColSizesMultiplyAttached | ( | ) | [protected] |
void TGTableLayout::SetRowColSizes | ( | ) | [protected] |
void TGTableLayout::SetRowColSizesInit | ( | ) | [protected] |
void TGTableLayout::CheckSanity | ( | ) | [protected] |
static void TGTableLayout::SetRowColResize | ( | UInt_t | real_size, | |
UInt_t | nthings, | |||
TableData_t * | thing, | |||
Bool_t | homogeneous | |||
) | [static, protected] |
virtual void TGTableLayout::Layout | ( | ) | [virtual] |
Implements TGLayoutManager.
virtual TGDimension TGTableLayout::GetDefaultSize | ( | ) | const [virtual] |
Implements TGLayoutManager.
virtual void TGTableLayout::SavePrimitive | ( | ostream & | out, | |
Option_t * | = "" | |||
) | [virtual] |
Reimplemented from TObject.
TableData_t* TGTableLayout::fRow [protected] |
Definition at line 103 of file TGTableLayout.h.
Referenced by FindRowColSizesHomogeneous(), FindRowColSizesInit(), FindRowColSizesMultiplyAttached(), FindRowColSizesSinglyAttached(), GetDefaultSize(), Layout(), SetRowColSizes(), SetRowColSizesInit(), and ~TGTableLayout().
TableData_t* TGTableLayout::fCol [protected] |
Definition at line 104 of file TGTableLayout.h.
Referenced by FindRowColSizesHomogeneous(), FindRowColSizesInit(), FindRowColSizesMultiplyAttached(), FindRowColSizesSinglyAttached(), GetDefaultSize(), Layout(), SetRowColSizes(), SetRowColSizesInit(), and ~TGTableLayout().
TGCompositeFrame* TGTableLayout::fMain [protected] |
Definition at line 105 of file TGTableLayout.h.
Referenced by GetDefaultSize(), Layout(), SavePrimitive(), and SetRowColSizes().
TList* TGTableLayout::fList [protected] |
Definition at line 106 of file TGTableLayout.h.
Referenced by CheckSanity(), FindRowColSizesMultiplyAttached(), FindRowColSizesSinglyAttached(), Layout(), and SetRowColSizesInit().
Bool_t TGTableLayout::fHomogeneous [protected] |
Definition at line 107 of file TGTableLayout.h.
Referenced by FindRowColSizesHomogeneous(), SavePrimitive(), and SetRowColSizes().
Definition at line 125 of file TGTableLayout.h.
Referenced by GetDefaultSize(), Layout(), SavePrimitive(), and SetRowColSizes().
Definition at line 126 of file TGTableLayout.h.
Definition at line 127 of file TGTableLayout.h.
Referenced by CheckSanity(), FindRowColSizesHomogeneous(), FindRowColSizesInit(), GetDefaultSize(), SavePrimitive(), SetRowColSizes(), and SetRowColSizesInit().
Definition at line 128 of file TGTableLayout.h.
Referenced by CheckSanity(), FindRowColSizesHomogeneous(), FindRowColSizesInit(), GetDefaultSize(), SavePrimitive(), SetRowColSizes(), and SetRowColSizesInit().
TableData_t* TGTableLayout::fRow [protected] |
Definition at line 103 of file TGTableLayout.h.
TableData_t* TGTableLayout::fCol [protected] |
Definition at line 104 of file TGTableLayout.h.
TGCompositeFrame* TGTableLayout::fMain [protected] |
Definition at line 105 of file TGTableLayout.h.
TList* TGTableLayout::fList [protected] |
Definition at line 106 of file TGTableLayout.h.