KD Chart API Documentation
3.1
Loading...
Searching...
No Matches
source
src
KDChart
Cartesian
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
17
namespace
KDChart
{
18
22
class
KDCHART_EXPORT
StockBarAttributes
23
{
24
public
:
25
StockBarAttributes
();
26
StockBarAttributes
(
const
StockBarAttributes
&);
27
StockBarAttributes
&operator=(
const
StockBarAttributes
&);
28
29
~StockBarAttributes
();
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
43
private
:
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
57
Q_DECLARE_METATYPE(
KDChart::StockBarAttributes
)
58
59
#endif
// KDCHARTSTOCKBARATTRIBUTES_H
KDChartGlobal.h
Contains KDChart macros.
KDChart::StockBarAttributes
Attributes to customize the appearance of a column in a stock chart.
Definition
KDChartStockBarAttributes.h:23
KDChart::StockBarAttributes::operator!=
bool operator!=(const StockBarAttributes &other) const
Definition
KDChartStockBarAttributes.h:38
KDChart
Definition
CartesianCoordinateTransformation.h:23
KDChart::operator==
bool operator==(const TickInfo &, const TickInfo &)
Definition
KDChartTernaryGrid.cpp:36
© 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