![Peter Hartmann](/assets/img/avatar_default.png)
* IOT dashboard: Make light dimmer use arc renderer * use shadow * add value text * add warm and cold parts * add knob * handle input * only move knob when drawing along the arc * improve input handling * add tickmarks * add tickmarks node * clean up a bit * Update screenshot of IOT dashboard for github site
28 lines
773 B
C++
28 lines
773 B
C++
/******************************************************************************
|
|
* QSkinny - Copyright (C) 2016 Uwe Rathmann
|
|
* This file may be used under the terms of the 3-clause BSD License
|
|
*****************************************************************************/
|
|
|
|
#pragma once
|
|
|
|
#include <QskArcMetrics.h>
|
|
#include <QskIntervalF.h>
|
|
#include <QskScaleTickmarks.h>
|
|
|
|
#include <QSGGeometryNode>
|
|
|
|
class RadialTickmarksNodePrivate;
|
|
|
|
class RadialTickmarksNode : public QSGGeometryNode
|
|
{
|
|
public:
|
|
RadialTickmarksNode();
|
|
~RadialTickmarksNode() override;
|
|
|
|
void update( const QColor&, const QRectF&, const QskArcMetrics&,
|
|
const QskIntervalF&, const QskScaleTickmarks&, int, Qt::Orientation );
|
|
|
|
private:
|
|
Q_DECLARE_PRIVATE( RadialTickmarksNode )
|
|
};
|