QSkinny
0.8.0
C++/Qt UI toolkit
Loading...
Searching...
No Matches
QskBoxSkinlet.h
1
/******************************************************************************
2
* QSkinny - Copyright (C) The authors
3
* SPDX-License-Identifier: BSD-3-Clause
4
*****************************************************************************/
5
6
#ifndef QSK_BOX_SKINLET_H
7
#define QSK_BOX_SKINLET_H
8
9
#include "QskSkinlet.h"
10
11
class
QSK_EXPORT
QskBoxSkinlet
:
public
QskSkinlet
12
{
13
Q_GADGET
14
15
using
Inherited
=
QskSkinlet
;
16
17
public
:
18
enum
NodeRole
19
{
20
PanelRole,
21
RoleCount
22
};
23
24
Q_INVOKABLE
QskBoxSkinlet
(
QskSkin
* =
nullptr
);
25
~QskBoxSkinlet
()
override
;
26
27
QRectF subControlRect(
const
QskSkinnable
*,
28
const
QRectF&,
QskAspect::Subcontrol
)
const override
;
29
30
QSizeF sizeHint(
const
QskSkinnable
*,
31
Qt::SizeHint,
const
QSizeF& )
const override
;
32
33
protected
:
34
QSGNode* updateSubNode(
const
QskSkinnable
*,
35
quint8 nodeRole, QSGNode* )
const override
;
36
};
37
38
#endif
QskAspect::Subcontrol
Subcontrol
For use within the rendering or lay-outing of a specific QskSkinnable.
Definition
QskAspect.h:104
QskBoxSkinlet
Definition
QskBoxSkinlet.h:12
QskSkin
Definition
QskSkin.h:31
QskSkinlet
Describes the rendering interface of a QskControl. Change the skinlet to change the appearance of the...
Definition
QskSkinlet.h:34
QskSkinnable
Definition
QskSkinnable.h:80
src
controls
QskBoxSkinlet.h
Generated by
1.9.8