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

Detailed Description

Definition at line 76 of file QskSubcontrolLayoutEngine.h.

Inheritance diagram for QskSubcontrolLayoutEngine::TextElement:

Public Member Functions

 TextElement (const QskSkinnable *skinnable, QskAspect::Subcontrol subControl)
 
void setText (const QString &text)
 
QString text () 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

◆ TextElement()

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

Definition at line 79 of file QskSubcontrolLayoutEngine.h.

Member Function Documentation

◆ implicitSize()

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

◆ setText()

void QskSubcontrolLayoutEngine::TextElement::setText ( const QString &  text)
inline

Definition at line 84 of file QskSubcontrolLayoutEngine.h.

◆ text()

QString QskSubcontrolLayoutEngine::TextElement::text ( ) const
inline

Definition at line 85 of file QskSubcontrolLayoutEngine.h.