Public Types | |
| enum | FrameType_t { WIDGET, CONTAINER_INNER, CONTAINER_OUTER } |
| frame type classifications | |
Public Member Functions | |
| virtual | ~QGuiUtils () |
| stor | |
| TGLayoutHints * | GetHints (ULong_t hints, Int_t padLeft, Int_t padRight, Int_t padTop, Int_t padBottom) |
| returns pointer to TGLayoutHints with the requested parameters | |
| TGLayoutHints * | GetDefaultHints () const |
| returns pointer to TGLayoutHints with default parameters | |
| Int_t | GetBackgroundColor (FrameType_t type) const |
| get default background color for frame of the given type | |
Static Public Member Functions | |
| static QGuiUtils & | GetInstance () |
| singleton getter | |
Private Member Functions | |
| QGuiUtils () | |
| TGLayoutHints * | FindHints (ULong_t hints=kLHintsNormal, Int_t padLeft=0, Int_t padRight=0, Int_t padTop=0, Int_t padBottom=0) const |
| void | CleanHints () |
Private Attributes | |
| std::list< TGLayoutHints * > | fHints |
| TGLayoutHints * | fDefaultHints |
| const UInt_t | kDefaultWidth |
| const UInt_t | kDefaultHeight |
| const UInt_t | kDefaultOptions |
| const Pixel_t | kDefaultBkgColor |
| QGuiUtils::QGuiUtils | ( | ) | [private] |
ctor
References GetHints().
| TGLayoutHints * QGuiUtils::FindHints | ( | ULong_t | hints = kLHintsNormal, |
|
| Int_t | padLeft = 0, |
|||
| Int_t | padRight = 0, |
|||
| Int_t | padTop = 0, |
|||
| Int_t | padBottom = 0 | |||
| ) | const [private] |
search list of existing TGLayoutHints for object with requested pars
References fHints.
Referenced by GetHints().
| void QGuiUtils::CleanHints | ( | ) | [private] |
clean list of existing TGLayoutHints and delete corresponding objects
References fHints.
Referenced by ~QGuiUtils().
std::list<TGLayoutHints*> QGuiUtils::fHints [private] |
list of existing TGLayoutHints
Referenced by CleanHints(), FindHints(), and GetHints().
1.5.6