KD Chart API Documentation 3.1
Loading...
Searching...
No Matches
KDChartStockBarAttributes.h
Go to the documentation of this file.
1/****************************************************************************
2**
3** This file is part of the KD Chart library.
4**
5** SPDX-FileCopyrightText: 2001 Klarälvdalens Datakonsult AB, a KDAB Group company <info@kdab.com>
6**
7** SPDX-License-Identifier: MIT
8**
9****************************************************************************/
10
11#ifndef KDCHARTSTOCKBARATTRIBUTES_H
12#define KDCHARTSTOCKBARATTRIBUTES_H
13
14#include "KDChartGlobal.h"
15#include <QMetaType>
16
17namespace KDChart {
18
22class KDCHART_EXPORT StockBarAttributes
23{
24public:
27 StockBarAttributes &operator=(const StockBarAttributes &);
28
30
31 void setCandlestickWidth(qreal width);
32 qreal candlestickWidth() const;
33
34 void setTickLength(qreal length);
35 qreal tickLength() const;
36
37 bool operator==(const StockBarAttributes &) const;
38 inline bool operator!=(const StockBarAttributes &other) const
39 {
40 return !operator==(other);
41 }
42
43private:
44 class Private;
45 Private *_d;
46 Private *d_func()
47 {
48 return _d;
49 }
50 const Private *d_func() const
51 {
52 return _d;
53 }
54};
55}
56
57Q_DECLARE_METATYPE(KDChart::StockBarAttributes)
58
59#endif // KDCHARTSTOCKBARATTRIBUTES_H
Contains KDChart macros.
Attributes to customize the appearance of a column in a stock chart.
bool operator!=(const StockBarAttributes &other) const
bool operator==(const TickInfo &, const TickInfo &)

© 2001 Klarälvdalens Datakonsult AB (KDAB)
"The Qt, C++ and OpenGL Experts"
https://www.kdab.com/
https://www.kdab.com/development-resources/qt-tools/kd-chart/
Generated on Wed May 1 2024 00:01:10 for KD Chart API Documentation by doxygen 1.9.8