QSkinny 0.8.0
C++/Qt UI toolkit
Loading...
Searching...
No Matches
QskProgressRingSkinlet.h
1/******************************************************************************
2 * QSkinny - Copyright (C) The authors
3 * SPDX-License-Identifier: BSD-3-Clause
4 *****************************************************************************/
5
6#ifndef QSK_PROGRESS_RING_SKINLET_H
7#define QSK_PROGRESS_RING_SKINLET_H
8
9#include "QskProgressIndicatorSkinlet.h"
10
11class QskIntervalF;
12
14{
15 Q_GADGET
16
18
19 public:
20 Q_INVOKABLE QskProgressRingSkinlet( QskSkin* = nullptr );
21 ~QskProgressRingSkinlet() 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 QskIntervalF fillInterval( const QskProgressIndicator* ) const;
34};
35
36#endif
Subcontrol
For use within the rendering or lay-outing of a specific QskSkinnable.
Definition QskAspect.h:104