qskinny/examples/iotdashboard/EnergyMeter.h
Uwe Rathmann 4aeea2d6f8 PieChartPainted renamed to EnergyMeter. Name was misleading as it is
more of a decorated arc progressbar than a pie or a doughnut chart.
2022-10-26 16:47:42 +02:00

19 lines
564 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 EnergyMeter : public QskControl
{
public:
EnergyMeter( const QColor&, const QskGradient&,
int progress, QQuickItem* parent = nullptr );
protected:
QSizeF contentsSizeHint( Qt::SizeHint, const QSizeF& ) const override;
};