6#include "QskFocusIndicatorSkinlet.h"
7#include "QskFocusIndicator.h"
9QskFocusIndicatorSkinlet::QskFocusIndicatorSkinlet(
QskSkin* skin )
12 setNodeRoles( { FrameRole } );
15QskFocusIndicatorSkinlet::~QskFocusIndicatorSkinlet() =
default;
17QRectF QskFocusIndicatorSkinlet::subControlRect(
const QskSkinnable* skinnable,
20 if ( subControl == QskFocusIndicator::Panel )
25 return Inherited::subControlRect( skinnable, contentsRect, subControl );
28QSGNode* QskFocusIndicatorSkinlet::updateSubNode(
29 const QskSkinnable* skinnable, quint8 nodeRole, QSGNode* node )
const
37 return updateBoxNode( indicator, node, QskFocusIndicator::Panel );
41 return Inherited::updateSubNode( skinnable, nodeRole, node );
44#include "moc_QskFocusIndicatorSkinlet.cpp"
Subcontrol
For use within the rendering or lay-outing of a specific QskSkinnable.