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

Detailed Description

Definition at line 16 of file QskLayoutElement.h.

Inheritance diagram for QskLayoutElement:

Public Member Functions

QskLayoutMetrics metrics (Qt::Orientation, qreal constraint) const
 
virtual QskSizePolicy sizePolicy () const =0
 
virtual Qt::Alignment alignment () const =0
 
QSizeF constrainedSize (const QSizeF &) const
 
QSizeF sizeConstraint (Qt::SizeHint, const QSizeF &constraint) const
 
virtual QSizeF sizeHint (Qt::SizeHint, const QSizeF &constraint=QSizeF()) const =0
 
qreal heightForWidth (qreal) const
 
qreal widthForHeight (qreal) const
 

Constructor & Destructor Documentation

◆ QskLayoutElement()

QskLayoutElement::QskLayoutElement ( )

Definition at line 17 of file QskLayoutElement.cpp.

◆ ~QskLayoutElement()

QskLayoutElement::~QskLayoutElement ( )
virtual

Definition at line 21 of file QskLayoutElement.cpp.

Member Function Documentation

◆ constrainedSize()

QSizeF QskLayoutElement::constrainedSize ( const QSizeF &  size) const

Definition at line 139 of file QskLayoutElement.cpp.

◆ heightForWidth()

qreal QskLayoutElement::heightForWidth ( qreal  width) const
inline

Definition at line 45 of file QskLayoutElement.h.

◆ metrics()

QskLayoutMetrics QskLayoutElement::metrics ( Qt::Orientation  orientation,
qreal  constraint 
) const

Definition at line 192 of file QskLayoutElement.cpp.

◆ sizeConstraint()

QSizeF QskLayoutElement::sizeConstraint ( Qt::SizeHint  which,
const QSizeF &  constraint 
) const

Definition at line 25 of file QskLayoutElement.cpp.

◆ widthForHeight()

qreal QskLayoutElement::widthForHeight ( qreal  height) const
inline

Definition at line 50 of file QskLayoutElement.h.