QGuiUtils Class Reference
[Apollo GuiApollo]

List of all members.


Detailed Description

singleton providing code wrappers and definitions for apollo gui classes

Author:
Sergio Di Domizio

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 QGuiUtilsGetInstance ()
 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

Constructor & Destructor Documentation

QGuiUtils::QGuiUtils (  )  [private]

ctor

References GetHints().


Member Function Documentation

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().


Member Data Documentation

std::list<TGLayoutHints*> QGuiUtils::fHints [private]

list of existing TGLayoutHints

Referenced by CleanHints(), FindHints(), and GetHints().


The documentation for this class was generated from the following files:

Generated on Tue Nov 16 10:50:07 2010 for CUORE Software by  doxygen 1.5.6