2020-11-13 14:34:02 +00:00
|
|
|
/******************************************************************************
|
|
|
|
* QSkinny - Copyright (C) 2016 Uwe Rathmann
|
2023-04-06 07:23:37 +00:00
|
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
2020-11-13 14:34:02 +00:00
|
|
|
*****************************************************************************/
|
|
|
|
|
|
|
|
#ifndef QSK_TICKMARKS_NODE_H
|
|
|
|
#define QSK_TICKMARKS_NODE_H
|
|
|
|
|
|
|
|
#include "QskGlobal.h"
|
|
|
|
|
|
|
|
#include <qsgnode.h>
|
|
|
|
#include <qnamespace.h>
|
|
|
|
|
|
|
|
class QColor;
|
|
|
|
class QRectF;
|
|
|
|
class QskIntervalF;
|
|
|
|
class QskScaleTickmarks;
|
|
|
|
|
|
|
|
class QskTickmarksNodePrivate;
|
|
|
|
|
|
|
|
class QSK_EXPORT QskTickmarksNode : public QSGGeometryNode
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
QskTickmarksNode();
|
|
|
|
~QskTickmarksNode() override;
|
|
|
|
|
2023-02-28 10:59:46 +00:00
|
|
|
void update(const QColor&, const QRectF&, const QskIntervalF&,
|
|
|
|
const QskScaleTickmarks&, int tickLineWidth, Qt::Orientation,
|
|
|
|
Qt::Alignment );
|
2020-11-13 14:34:02 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
Q_DECLARE_PRIVATE( QskTickmarksNode )
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|