QSkinny 0.8.0
C++/Qt UI toolkit
Loading...
Searching...
No Matches
QskLayoutEngine2D Class Referenceabstract

Detailed Description

Definition at line 18 of file QskLayoutEngine2D.h.

Inheritance diagram for QskLayoutEngine2D:

Public Member Functions

virtual int count () const =0
 
int rowCount () const
 
int columnCount () const
 
bool setVisualDirection (Qt::LayoutDirection)
 
Qt::LayoutDirection visualDirection () const
 
bool setDefaultAlignment (Qt::Alignment)
 
Qt::Alignment defaultAlignment () const
 
bool setExtraSpacingAt (Qt::Edges edges)
 
Qt::Edges extraSpacingAt () const
 
bool setSpacing (qreal spacing, Qt::Orientations)
 
qreal spacing (Qt::Orientation) const
 
qreal defaultSpacing (Qt::Orientation) const
 
void invalidate ()
 
qreal widthForHeight (qreal height) const
 
qreal heightForWidth (qreal width) const
 
QSizeF sizeHint (Qt::SizeHint, const QSizeF &constraint) const
 
void setGeometries (const QRectF &)
 

Protected Types

enum  { ElementCache = 1 << 0 , LayoutCache = 1 << 1 }
 

Protected Member Functions

QRectF geometryAt (const QskLayoutElement *, const QRect &grid) const
 
void invalidate (int what)
 

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
protected

Definition at line 55 of file QskLayoutEngine2D.h.

Constructor & Destructor Documentation

◆ QskLayoutEngine2D()

QskLayoutEngine2D::QskLayoutEngine2D ( )

Definition at line 92 of file QskLayoutEngine2D.cpp.

◆ ~QskLayoutEngine2D()

QskLayoutEngine2D::~QskLayoutEngine2D ( )
virtual

Definition at line 99 of file QskLayoutEngine2D.cpp.

Member Function Documentation

◆ columnCount()

int QskLayoutEngine2D::columnCount ( ) const
inline

Definition at line 96 of file QskLayoutEngine2D.h.

◆ defaultAlignment()

Qt::Alignment QskLayoutEngine2D::defaultAlignment ( ) const

Definition at line 130 of file QskLayoutEngine2D.cpp.

◆ defaultSpacing()

qreal QskLayoutEngine2D::defaultSpacing ( Qt::Orientation  ) const

Definition at line 135 of file QskLayoutEngine2D.cpp.

◆ extraSpacingAt()

Qt::Edges QskLayoutEngine2D::extraSpacingAt ( ) const

Definition at line 203 of file QskLayoutEngine2D.cpp.

◆ geometryAt()

QRectF QskLayoutEngine2D::geometryAt ( const QskLayoutElement element,
const QRect &  grid 
) const
protected

Definition at line 238 of file QskLayoutEngine2D.cpp.

◆ heightForWidth()

qreal QskLayoutEngine2D::heightForWidth ( qreal  width) const

Definition at line 270 of file QskLayoutEngine2D.cpp.

◆ invalidate() [1/2]

void QskLayoutEngine2D::invalidate ( )
inline

Definition at line 86 of file QskLayoutEngine2D.h.

◆ invalidate() [2/2]

void QskLayoutEngine2D::invalidate ( int  what)
protected

Definition at line 452 of file QskLayoutEngine2D.cpp.

◆ rowCount()

int QskLayoutEngine2D::rowCount ( ) const
inline

Definition at line 91 of file QskLayoutEngine2D.h.

◆ setDefaultAlignment()

bool QskLayoutEngine2D::setDefaultAlignment ( Qt::Alignment  alignment)

Definition at line 119 of file QskLayoutEngine2D.cpp.

◆ setExtraSpacingAt()

bool QskLayoutEngine2D::setExtraSpacingAt ( Qt::Edges  edges)

Definition at line 165 of file QskLayoutEngine2D.cpp.

◆ setGeometries()

void QskLayoutEngine2D::setGeometries ( const QRectF &  rect)

Definition at line 208 of file QskLayoutEngine2D.cpp.

◆ setSpacing()

bool QskLayoutEngine2D::setSpacing ( qreal  spacing,
Qt::Orientations  orientations 
)

Definition at line 140 of file QskLayoutEngine2D.cpp.

◆ setVisualDirection()

bool QskLayoutEngine2D::setVisualDirection ( Qt::LayoutDirection  direction)

Definition at line 103 of file QskLayoutEngine2D.cpp.

◆ sizeHint()

QSizeF QskLayoutEngine2D::sizeHint ( Qt::SizeHint  which,
const QSizeF &  constraint 
) const

Definition at line 276 of file QskLayoutEngine2D.cpp.

◆ spacing()

qreal QskLayoutEngine2D::spacing ( Qt::Orientation  orientation) const

Definition at line 160 of file QskLayoutEngine2D.cpp.

◆ visualDirection()

Qt::LayoutDirection QskLayoutEngine2D::visualDirection ( ) const

Definition at line 114 of file QskLayoutEngine2D.cpp.

◆ widthForHeight()

qreal QskLayoutEngine2D::widthForHeight ( qreal  height) const

Definition at line 264 of file QskLayoutEngine2D.cpp.