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

Detailed Description

Definition at line 92 of file QskSubcontrolLayoutEngine.h.

Inheritance diagram for QskSubcontrolLayoutEngine::GraphicElement:

Public Member Functions

 GraphicElement (const QskSkinnable *skinnable, QskAspect::Subcontrol subControl)
 
void setSourceSize (const QSizeF &size)
 
QSizeF sourceSize () const
 
QSizeF effectiveStrutSize () const
 
- Public Member Functions inherited from QskSubcontrolLayoutEngine::LayoutElement
 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

◆ GraphicElement()

QskSubcontrolLayoutEngine::GraphicElement::GraphicElement ( const QskSkinnable skinnable,
QskAspect::Subcontrol  subControl 
)
inline

Definition at line 95 of file QskSubcontrolLayoutEngine.h.

Member Function Documentation

◆ effectiveStrutSize()

QSizeF QskSubcontrolLayoutEngine::GraphicElement::effectiveStrutSize ( ) const

Definition at line 215 of file QskSubcontrolLayoutEngine.cpp.

◆ implicitSize()

QSizeF QskSubcontrolLayoutEngine::GraphicElement::implicitSize ( const QSizeF &  constraint) const
overrideprivatevirtual

◆ setSourceSize()

void QskSubcontrolLayoutEngine::GraphicElement::setSourceSize ( const QSizeF &  size)
inline

Definition at line 100 of file QskSubcontrolLayoutEngine.h.

◆ sourceSize()

QSizeF QskSubcontrolLayoutEngine::GraphicElement::sourceSize ( ) const
inline

Definition at line 101 of file QskSubcontrolLayoutEngine.h.