1// Copyright (C) 2023 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3
4// W A R N I N G
5// -------------
6//
7// This file is not part of the Qt Graphs API. It exists purely as an
8// implementation detail. This header file may change from version to
9// version without notice, or even be removed.
10//
11// We mean it.
12
13#ifndef QLINESERIES_P_H
14#define QLINESERIES_P_H
15
16#include <QtGraphs/qlineseries.h>
17#include <private/qgraphpointanimation_p.h>
18#include <private/qxyseries_p.h>
19
20QT_BEGIN_NAMESPACE
21
22class QLineSeriesPrivate : public QXYSeriesPrivate
23{
24public:
25 QLineSeriesPrivate();
26
27protected:
28 qreal m_width = 2.0;
29 Qt::PenCapStyle m_capStyle = Qt::PenCapStyle::SquareCap;
30
31private:
32 Q_DECLARE_PUBLIC(QLineSeries)
33};
34
35QT_END_NAMESPACE
36
37#endif
38

Provided by KDAB

Privacy Policy
Learn Advanced QML with KDAB
Find out more

source code of qtgraphs/src/graphs2d/linechart/qlineseries_p.h