Inherits from QskSkinlet
Name | |
---|---|
enum | NodeRole { PanelRole, TextRole, GraphicRole} |
Name | |
---|---|
Q_INVOKABLE | QskPushButtonSkinlet(QskSkin * skin =nullptr) |
~QskPushButtonSkinlet() override | |
QRectF | subControlRect(const QskSkinnable * skinnable, const QRectF & contentsRect, QskAspect::Subcontrol subControl) const override |
QSizeF | sizeHint(const QskSkinnable * skinnable, Qt::SizeHint which, const QSizeF & ) const override |
Name | |
---|---|
QSGNode * | updateSubNode(const QskSkinnable * skinnable, quint8 nodeRole, QSGNode * node) const override |
Public Functions inherited from QskSkinlet
Name | |
---|---|
Q_INVOKABLE | QskSkinlet(QskSkin * skin =nullptr) |
virtual | ~QskSkinlet() |
QskSkin * | skin() const |
virtual void | updateNode(QskSkinnable * skinnable, QSGNode * parent) const |
const QVector< quint8 > & | nodeRoles() const |
void | setOwnedBySkinnable(bool on) |
bool | isOwnedBySkinnable() const |
QSGNode * | updateBoxNode(const QskSkinnable * skinnable, QSGNode * node, const QRectF & rect, QskAspect::Subcontrol subControl) |
QSGNode * | updateBoxNode(const QskSkinnable * skinnable, QSGNode * node, const QRectF & rect, const QskGradient & fillGradient, QskAspect::Subcontrol subControl) |
QSGNode * | updateArcNode(const QskSkinnable * skinnable, QSGNode * node, const QRectF & rect, QskAspect::Subcontrol subControl) |
QSGNode * | updateArcNode(const QskSkinnable * skinnable, QSGNode * node, const QRectF & rect, const QskGradient & fillGradient, QskAspect::Subcontrol subControl) |
QSGNode * | updateArcNode(const QskSkinnable * skinnable, QSGNode * node, const QRectF & rect, const QskGradient & fillGradient, const QskArcMetrics & arcMetrics, QskAspect::Subcontrol subControl) |
QSGNode * | updateArcNode(const QskSkinnable * skinnable, QSGNode * node, const QRectF & rect, qreal startAngle, qreal spanAngle, QskAspect::Subcontrol subControl) |
QSGNode * | updateArcNode(const QskSkinnable * skinnable, QSGNode * node, const QRectF & rect, const QskGradient & fillGradient, qreal startAngle, qreal spanAngle, QskAspect::Subcontrol subControl) |
QSGNode * | updateGraphicNode(const QskSkinnable * skinnable, QSGNode * node, const QskGraphic & graphic, const QskColorFilter & colorFilter, const QRectF & rect, Qt::Alignment alignment, Qt::Orientations mirrored =Qt::Orientations()) |
QSGNode * | updateGraphicNode(const QskSkinnable * skinnable, QSGNode * node, const QskGraphic & graphic, const QskColorFilter & colorFilter, const QRectF & rect, Qt::Orientations mirrored =Qt::Orientations()) |
QSGNode * | updateBoxClipNode(const QskSkinnable * skinnable, QSGNode * node, const QRectF & rect, QskAspect::Subcontrol subControl) |
Protected Functions inherited from QskSkinlet
Name | |
---|---|
void | setNodeRoles(const QVector< quint8 > & nodeRoles) |
void | appendNodeRoles(const QVector< quint8 > & nodeRoles) |
virtual QSGNode * | updateBackgroundNode(const QskControl * control, QSGNode * node) const |
virtual QSGNode * | updateDebugNode(const QskControl * control, QSGNode * node) const |
QSGNode * | updateBoxNode(const QskSkinnable * skinnable, QSGNode * node, QskAspect::Subcontrol subControl) const |
QSGNode * | updateArcNode(const QskSkinnable * skinnable, QSGNode * node, QskAspect::Subcontrol subControl) const |
QSGNode * | updateArcNode(const QskSkinnable * skinnable, QSGNode * node, qreal startAngle, qreal spanAngle, QskAspect::Subcontrol subControl) const |
QSGNode * | updateBoxClipNode(const QskSkinnable * skinnable, QSGNode * node, QskAspect::Subcontrol subControl) const |
QSGNode * | updateGraphicNode(const QskSkinnable * skinnable, QSGNode * node, const QskGraphic & graphic, QskAspect::Subcontrol subcontrol, Qt::Orientations mirrored =Qt::Orientations()) const |
void | replaceChildNode(quint8 nodeRole, QSGNode * parentNode, QSGNode * oldNode, QSGNode * newNode) const |
QSizeF | hintWithoutConstraint(const QSizeF & hint, const QSizeF & constraint) const |
Enumerator | Value | Description |
---|---|---|
PanelRole | ||
TextRole | ||
GraphicRole |
Q_INVOKABLE QskPushButtonSkinlet(
QskSkin * skin =nullptr
)
~QskPushButtonSkinlet() override
QRectF subControlRect(
const QskSkinnable * skinnable,
const QRectF & contentsRect,
QskAspect::Subcontrol subControl
) const override
QSizeF sizeHint(
const QskSkinnable * skinnable,
Qt::SizeHint which,
const QSizeF &
) const override
QSGNode * updateSubNode(
const QskSkinnable * skinnable,
quint8 nodeRole,
QSGNode * node
) const override
Updated on 28 July 2023 at 14:02:28 CEST