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