KD Reports API Documentation 2.2
Loading...
Searching...
No Matches
KDReportsElement.cpp
Go to the documentation of this file.
1/****************************************************************************
2**
3** This file is part of the KD Reports library.
4**
5** SPDX-FileCopyrightText: 2007 Klarälvdalens Datakonsult AB, a KDAB Group company <info@kdab.com>
6**
7** SPDX-License-Identifier: MIT
8**
9****************************************************************************/
10
11#include "KDReportsElement.h"
12#include <QBrush>
13
14class KDReports::ElementPrivate
15{
16public:
17 QBrush m_background;
18};
19
21 : d(new ElementPrivate)
22{
23}
24
26 : d(new ElementPrivate(*other.d))
27{
28}
29
31{
32 if (&other == this)
33 return *this;
34 *d = *other.d;
35 return *this;
36}
37
41
43{
44 d->m_background = brush;
45}
46
48{
49 return d->m_background;
50}
void setBackground(const QBrush &brush)
Element & operator=(const Element &other)
QBrush background() const

© Klarälvdalens Datakonsult AB (KDAB)
"The Qt, C++ and OpenGL Experts"
https://www.kdab.com/
https://www.kdab.com/development-resources/qt-tools/kd-reports/
Generated on Wed Apr 24 2024 04:08:14 for KD Reports API Documentation by doxygen 1.9.8