Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Attributes

Alignment Class Reference

List of all members.

Public Types

enum  Pos { Start, Stop, Center }
enum  HPos { Left, Right, HCenter }

Public Member Functions

 DeclareEnumUtils (HPos) enum VPos
 DeclareEnumUtils (VPos) Alignment(HPos h
 Alignment (Pos h, Pos v)
HPos hPos () const
VPos vPos () const
Pos pos (bool hor) const
void set (HPos h, VPos v)
void set (HPos h)
void set (VPos v)
void set (Pos h, Pos v)
int uiValue () const
void setUiValue (int)

Static Public Member Functions

static HPos opposite (HPos p)
static VPos opposite (VPos p)

Public Attributes

VPos v = Top )

Protected Attributes

HPos hor_
VPos ver_

Member Enumeration Documentation

Enumerator:
Left 
Right 
HCenter 
Enumerator:
Start 
Stop 
Center 

Constructor & Destructor Documentation

Alignment::Alignment ( Pos  h,
Pos  v 
)

Member Function Documentation

Alignment::DeclareEnumUtils ( HPos   )  [inline]
Alignment::DeclareEnumUtils ( VPos   ) 
HPos Alignment::hPos (  )  const [inline]
static VPos Alignment::opposite ( VPos  p  )  [static]
static HPos Alignment::opposite ( HPos  p  )  [static]
Pos Alignment::pos ( bool  hor  )  const
void Alignment::set ( Pos  h,
Pos  v 
)
void Alignment::set ( HPos  h  )  [inline]
void Alignment::set ( VPos  v  )  [inline]
void Alignment::set ( HPos  h,
VPos  v 
) [inline]
void Alignment::setUiValue ( int   ) 
int Alignment::uiValue (  )  const
VPos Alignment::vPos (  )  const [inline]

Member Data Documentation

HPos Alignment::hor_ [protected]
VPos Alignment::v = Top )
VPos Alignment::ver_ [protected]