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