QSkinny 0.8.0
C++/Qt UI toolkit
Loading...
Searching...
No Matches
QskSubcontrolLayoutEngine::LayoutElement Class Referenceabstract

Detailed Description

Definition at line 28 of file QskSubcontrolLayoutEngine.h.

Inheritance diagram for QskSubcontrolLayoutEngine::LayoutElement:

Public Member Functions

 LayoutElement (const QskSkinnable *, const QskAspect::Subcontrol)
 
const QskSkinnableskinnable () const
 
QskAspect::Subcontrol subControl () const
 
void setSizePolicy (QskSizePolicy::Policy horizontalPolicy, QskSizePolicy::Policy verticalPolicy)
 
void setSizePolicy (QskSizePolicy policy)
 
QskSizePolicy sizePolicy () const override
 
virtual Qt::Alignment alignment () const override
 
void setStretch (int stretch)
 
int stretch () const
 
void setGeometry (const QRectF &rect)
 
const QRectF & geometry () const
 
void setMaximumSize (const QSizeF &)
 
void setMinimumSize (const QSizeF &)
 
void setPreferredSize (const QSizeF &)
 
void setFixedSize (const QSizeF &)
 
void setExplicitSizeHint (Qt::SizeHint, const QSizeF &)
 
- Public Member Functions inherited from QskLayoutElement
QskLayoutMetrics metrics (Qt::Orientation, qreal constraint) const
 
QSizeF constrainedSize (const QSizeF &) const
 
QSizeF sizeConstraint (Qt::SizeHint, const QSizeF &constraint) const
 
qreal heightForWidth (qreal) const
 
qreal widthForHeight (qreal) const
 

Constructor & Destructor Documentation

◆ LayoutElement()

QskSubcontrolLayoutEngine::LayoutElement::LayoutElement ( const QskSkinnable skinnable,
const QskAspect::Subcontrol  subControl 
)

Definition at line 19 of file QskSubcontrolLayoutEngine.cpp.

Member Function Documentation

◆ alignment()

Qt::Alignment QskSubcontrolLayoutEngine::LayoutElement::alignment ( ) const
overridevirtual

Implements QskLayoutElement.

Definition at line 26 of file QskSubcontrolLayoutEngine.cpp.

◆ geometry()

const QRectF & QskSubcontrolLayoutEngine::LayoutElement::geometry ( ) const
inline

Definition at line 52 of file QskSubcontrolLayoutEngine.h.

◆ setExplicitSizeHint()

void QskSubcontrolLayoutEngine::LayoutElement::setExplicitSizeHint ( Qt::SizeHint  which,
const QSizeF &  size 
)

Definition at line 54 of file QskSubcontrolLayoutEngine.cpp.

◆ setFixedSize()

void QskSubcontrolLayoutEngine::LayoutElement::setFixedSize ( const QSizeF &  size)

Definition at line 46 of file QskSubcontrolLayoutEngine.cpp.

◆ setGeometry()

void QskSubcontrolLayoutEngine::LayoutElement::setGeometry ( const QRectF &  rect)
inline

Definition at line 51 of file QskSubcontrolLayoutEngine.h.

◆ setMaximumSize()

void QskSubcontrolLayoutEngine::LayoutElement::setMaximumSize ( const QSizeF &  size)

Definition at line 31 of file QskSubcontrolLayoutEngine.cpp.

◆ setMinimumSize()

void QskSubcontrolLayoutEngine::LayoutElement::setMinimumSize ( const QSizeF &  size)

Definition at line 36 of file QskSubcontrolLayoutEngine.cpp.

◆ setPreferredSize()

void QskSubcontrolLayoutEngine::LayoutElement::setPreferredSize ( const QSizeF &  size)

Definition at line 41 of file QskSubcontrolLayoutEngine.cpp.

◆ setSizePolicy() [1/2]

void QskSubcontrolLayoutEngine::LayoutElement::setSizePolicy ( QskSizePolicy  policy)
inline

Definition at line 43 of file QskSubcontrolLayoutEngine.h.

◆ setSizePolicy() [2/2]

void QskSubcontrolLayoutEngine::LayoutElement::setSizePolicy ( QskSizePolicy::Policy  horizontalPolicy,
QskSizePolicy::Policy  verticalPolicy 
)
inline

Definition at line 36 of file QskSubcontrolLayoutEngine.h.

◆ setStretch()

void QskSubcontrolLayoutEngine::LayoutElement::setStretch ( int  stretch)
inline

Definition at line 48 of file QskSubcontrolLayoutEngine.h.

◆ sizeHint()

QSizeF QskSubcontrolLayoutEngine::LayoutElement::sizeHint ( Qt::SizeHint  which,
const QSizeF &  constraint 
) const
overrideprivatevirtual

Implements QskLayoutElement.

Definition at line 66 of file QskSubcontrolLayoutEngine.cpp.

◆ sizePolicy()

QskSizePolicy QskSubcontrolLayoutEngine::LayoutElement::sizePolicy ( ) const
inlineoverridevirtual

Implements QskLayoutElement.

Definition at line 44 of file QskSubcontrolLayoutEngine.h.

◆ skinnable()

const QskSkinnable * QskSubcontrolLayoutEngine::LayoutElement::skinnable ( ) const
inline

Definition at line 33 of file QskSubcontrolLayoutEngine.h.

◆ stretch()

int QskSubcontrolLayoutEngine::LayoutElement::stretch ( ) const
inline

Definition at line 49 of file QskSubcontrolLayoutEngine.h.

◆ subControl()

QskAspect::Subcontrol QskSubcontrolLayoutEngine::LayoutElement::subControl ( ) const
inline

Definition at line 34 of file QskSubcontrolLayoutEngine.h.