qskinny/examples/iotdashboard/PieChartPainted.h
2021-08-25 15:46:08 +02:00

19 lines
572 B
C++

/******************************************************************************
* Copyright (C) 2021 Edelhirsch Software GmbH
* This file may be used under the terms of the 3-clause BSD License
*****************************************************************************/
#pragma once
#include <QskControl.h>
class PieChartPainted : public QskControl
{
public:
PieChartPainted( const QColor&, const QskGradient&,
int progress, QQuickItem* parent = nullptr );
protected:
QSizeF contentsSizeHint( Qt::SizeHint, const QSizeF& ) const override;
};