OpendTect  7.0
Public Types | Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
Alignment Class Reference

Public Types

enum  HPos { Left , Right , HCenter }
 
enum  Pos { Start , Stop , Center }
 
enum  VPos { Top , Bottom , VCenter }
 

Public Member Functions

 Alignment (HPos h=Left, VPos v=Top)
 
 Alignment (Pos h, Pos v)
 
 ~Alignment ()
 
HPos hPos () const
 
Pos pos (bool hor) const
 
void set (HPos h)
 
void set (HPos h, VPos v)
 
void set (Pos h, Pos v)
 
void set (VPos v)
 
void setUiValue (int)
 
int uiValue () const
 
VPos vPos () const
 

Static Public Member Functions

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

Protected Attributes

HPos hor_
 
VPos ver_
 

Detailed Description

<>

Member Enumeration Documentation

◆ HPos

Enumerator
Left 
Right 
HCenter 

◆ Pos

Enumerator
Start 
Stop 
Center 

◆ VPos

Enumerator
Top 
Bottom 
VCenter 

Constructor & Destructor Documentation

◆ Alignment() [1/2]

Alignment::Alignment ( HPos  h = Left,
VPos  v = Top 
)

◆ Alignment() [2/2]

Alignment::Alignment ( Pos  h,
Pos  v 
)

◆ ~Alignment()

Alignment::~Alignment ( )

Member Function Documentation

◆ hPos()

HPos Alignment::hPos ( ) const
inline

◆ opposite() [1/2]

static HPos Alignment::opposite ( HPos  p)
static

◆ opposite() [2/2]

static VPos Alignment::opposite ( VPos  p)
static

◆ pos()

Pos Alignment::pos ( bool  hor) const

◆ set() [1/4]

void Alignment::set ( HPos  h)
inline

◆ set() [2/4]

void Alignment::set ( HPos  h,
VPos  v 
)
inline

◆ set() [3/4]

void Alignment::set ( Pos  h,
Pos  v 
)

◆ set() [4/4]

void Alignment::set ( VPos  v)
inline

◆ setUiValue()

void Alignment::setUiValue ( int  )

◆ uiValue()

int Alignment::uiValue ( ) const

◆ vPos()

VPos Alignment::vPos ( ) const
inline

Member Data Documentation

◆ hor_

HPos Alignment::hor_
protected

◆ ver_

VPos Alignment::ver_
protected

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024