qskinny/examples/iotdashboard/UsageDiagram.h
2021-08-05 11:06:48 +02:00

28 lines
673 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 "Box.h"
class UsageDiagramLegend : public QskLinearBox
{
public:
QSK_SUBCONTROLS( Panel, Symbol )
QSK_STATES( Water, Electricity, Gas )
UsageDiagramLegend( QQuickItem* parent = nullptr );
};
class UsageDiagramBox : public Box
{
Q_OBJECT
public:
QSK_SUBCONTROLS( Panel, DaysBox, DayText )
UsageDiagramBox( QQuickItem* parent = nullptr );
};