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