KD Chart API Documentation 3.1
Loading...
Searching...
No Matches
KDChartFrameAttributes.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 KDCHARTFRAMEATTRIBUTES_H
12#define KDCHARTFRAMEATTRIBUTES_H
13
14#include "KDChartGlobal.h"
15#include <QDebug>
16#include <QMetaType>
17#include <QPen>
18
19namespace KDChart {
20
24class KDCHART_EXPORT FrameAttributes
25{
26public:
29 FrameAttributes &operator=(const FrameAttributes &);
30
32
33 void setVisible(bool visible);
34 bool isVisible() const;
35
36 void setPen(const QPen &pen);
37 QPen pen() const;
38
39 void setCornerRadius(qreal radius);
40 qreal cornerRadius() const;
41
42 void setPadding(int padding);
43 int padding() const;
44
45 bool operator==(const FrameAttributes &) const;
46 inline bool operator!=(const FrameAttributes &other) const
47 {
48 return !operator==(other);
49 }
50
51private:
53}; // End of class FrameAttributes
54}
55
56#if !defined(QT_NO_DEBUG_STREAM)
57KDCHART_EXPORT QDebug operator<<(QDebug, const KDChart::FrameAttributes &);
58#endif /* QT_NO_DEBUG_STREAM */
59
61
62QT_BEGIN_NAMESPACE
64QT_END_NAMESPACE
65
66Q_DECLARE_METATYPE(KDChart::FrameAttributes)
67
68#endif // KDCHARTFRAMEATTRIBUTES_H
QT_BEGIN_NAMESPACE Q_DECLARE_TYPEINFO(KDChart::FrameAttributes, Q_MOVABLE_TYPE)
KDCHART_EXPORT QDebug operator<<(QDebug, const KDChart::FrameAttributes &)
Contains KDChart macros.
#define KDCHART_DECLARE_SWAP_SPECIALISATION(X)
#define KDCHART_DECLARE_PRIVATE_BASE_VALUE(X)
A set of attributes for frames around items.
bool operator!=(const FrameAttributes &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