QSkinny 0.8.0
C++/Qt UI toolkit
Loading...
Searching...
No Matches
QskProgressIndicatorSkinlet.h
1/******************************************************************************
2 * QSkinny - Copyright (C) The authors
3 * SPDX-License-Identifier: BSD-3-Clause
4 *****************************************************************************/
5
6#ifndef QSK_PROGRESS_INDICATOR_SKINLET_H
7#define QSK_PROGRESS_INDICATOR_SKINLET_H
8
9#include "QskSkinlet.h"
10
12
13class QSK_EXPORT QskProgressIndicatorSkinlet : public QskSkinlet
14{
15 using Inherited = QskSkinlet;
16
17 public:
18 enum NodeRole
19 {
20 GrooveRole,
21 FillRole,
22
23 RoleCount
24 };
25
27
28 protected:
30
31 QSGNode* updateSubNode( const QskSkinnable*,
32 quint8 nodeRole, QSGNode* ) const override;
33
34 virtual QSGNode* updateGrooveNode( const QskProgressIndicator*, QSGNode* ) const = 0;
35 virtual QSGNode* updateFillNode( const QskProgressIndicator*, QSGNode* ) const = 0;
36};
37
38#endif
Describes the rendering interface of a QskControl. Change the skinlet to change the appearance of the...
Definition QskSkinlet.h:34