KD Chart API Documentation 3.1
Loading...
Searching...
No Matches
KDChartBackgroundAttributes.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 KDCHARTBACKGROUNDATTRIBUTES_H
12#define KDCHARTBACKGROUNDATTRIBUTES_H
13
14#include "KDChartGlobal.h"
15#include <QBrush>
16#include <QDebug>
17#include <QMetaType>
18
19namespace KDChart {
20
24class KDCHART_EXPORT BackgroundAttributes
25{
26public:
30
32
40
41 void setVisible(bool visible);
42 bool isVisible() const;
43
44 void setBrush(const QBrush &brush);
45 QBrush brush() const;
46
47 void setPixmapMode(BackgroundPixmapMode mode);
48 BackgroundPixmapMode pixmapMode() const;
49
50 void setPixmap(const QPixmap &backPixmap);
51 QPixmap pixmap() const;
52
53 bool operator==(const BackgroundAttributes &) const;
54 inline bool operator!=(const BackgroundAttributes &other) const
55 {
56 return !operator==(other);
57 }
58
59 bool isEqualTo(const BackgroundAttributes &other, bool ignorePixmap = false) const;
60
61private:
63}; // End of class BackgroundAttributes
64}
65
66#if !defined(QT_NO_DEBUG_STREAM)
68#endif /* QT_NO_DEBUG_STREAM */
69
71
72QT_BEGIN_NAMESPACE
74QT_END_NAMESPACE
75
76Q_DECLARE_METATYPE(KDChart::BackgroundAttributes)
77
78#endif // KDCHARTBACKGROUNDATTRIBUTES_H
QT_BEGIN_NAMESPACE Q_DECLARE_TYPEINFO(KDChart::BackgroundAttributes, Q_MOVABLE_TYPE)
KDCHART_EXPORT QDebug operator<<(QDebug, const KDChart::BackgroundAttributes &)
Contains KDChart macros.
#define KDCHART_DECLARE_SWAP_SPECIALISATION(X)
#define KDCHART_DECLARE_PRIVATE_BASE_VALUE(X)
bool operator!=(const BackgroundAttributes &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