89 qreal effectiveFontHeight(
QskAspect )
const;
100 bool setSkinHint(
QskAspect,
const QVariant& );
103 bool moveSkinHint(
QskAspect,
const QVariant& );
104 bool moveSkinHint(
QskAspect,
const QVariant&,
const QVariant& );
112 virtual QskAspect::Section section()
const;
119 QSizeF outerBoxSize(
QskAspect,
const QSizeF& innerBoxSize )
const;
120 QSizeF innerBoxSize(
QskAspect,
const QSizeF& outerBoxSize )
const;
122 QRectF innerBox(
QskAspect,
const QRectF& outerBox )
const;
123 QRectF outerBox(
QskAspect,
const QRectF& innerBox )
const;
125 QMarginsF innerPadding(
QskAspect,
const QSizeF& )
const;
128 QskSkin* effectiveSkin()
const;
133 void startTransition(
QskAspect,
int index,
141 virtual QQuickItem* owningItem()
const = 0;
149 void setSkinStates( QskAspect::States );
152 void addSkinStates( QskAspect::States );
153 void clearSkinStates( QskAspect::States );
156 QskAspect::States skinStates()
const;
158 const char* skinStatesAsPrintable()
const;
159 const char* skinStatesAsPrintable( QskAspect::States )
const;
163 bool setColor(
QskAspect, Qt::GlobalColor );
165 bool setColor(
QskAspect,
const QColor& );
167 bool moveColor(
QskAspect, Qt::GlobalColor );
169 bool moveColor(
QskAspect,
const QColor& );
180 template<
typename T > T flagHint(
QskAspect, T = T() )
const;
182 bool setPositionHint(
QskAspect, qreal );
183 bool movePositionHint(
QskAspect, qreal );
184 bool movePositionHint(
QskAspect, qreal from, qreal to );
188 bool setStrutSizeHint(
QskAspect,
const QSizeF& );
189 bool setStrutSizeHint(
QskAspect, qreal width, qreal height );
194 bool setMarginHint(
QskAspect,
const QMarginsF& );
199 bool setPaddingHint(
QskAspect,
const QMarginsF& );
211 bool resetBoxBorderMetricsHint(
QskAspect );
216 bool resetBoxBorderColorsHint(
QskAspect );
220 bool resetShadowMetricsHint(
QskAspect );
223 bool setShadowColorHint(
QskAspect,
const QColor& );
234 bool resetStippleMetricsHint(
QskAspect );
241 bool setAlignmentHint(
QskAspect, Qt::Alignment );
243 Qt::Alignment alignmentHint(
QskAspect, Qt::Alignment = Qt::Alignment() )
const;
253 bool setGraphicRoleHint(
QskAspect,
int role );
263 bool startHintTransitions( QskAspect::States, QskAspect::States,
int index = -1 );
264 bool startHintTransitions(
const QVector< QskAspect::Subcontrol >&,
265 QskAspect::States, QskAspect::States,
int index = -1 );
270 virtual void updateNode( QSGNode* );
271 virtual bool isTransitionAccepted(
QskAspect )
const;
280 void startHintTransition(
QskAspect,
int index,
288 void replaceSkinStates( QskAspect::States,
int sampleIndex = -1 );
291 std::unique_ptr< PrivateData > m_data;