6#include "QskSubWindowAreaSkinlet.h"
7#include "QskSubWindowArea.h"
9QskSubWindowAreaSkinlet::QskSubWindowAreaSkinlet(
QskSkin* skin )
12 setNodeRoles( { PanelRole } );
15QskSubWindowAreaSkinlet::~QskSubWindowAreaSkinlet() =
default;
17QRectF QskSubWindowAreaSkinlet::subControlRect(
const QskSkinnable* skinnable,
20 if ( subControl == QskSubWindowArea::Panel )
23 return Inherited::subControlRect( skinnable, contentsRect, subControl );
26QSGNode* QskSubWindowAreaSkinlet::updateSubNode(
27 const QskSkinnable* skinnable, quint8 nodeRole, QSGNode* node )
const
32 return updateBoxNode( skinnable, node, QskSubWindowArea::Panel );
35 return Inherited::updateSubNode( skinnable, nodeRole, node );
38#include "moc_QskSubWindowAreaSkinlet.cpp"
Subcontrol
For use within the rendering or lay-outing of a specific QskSkinnable.