KD Reports API Documentation  2.0
KDReportsTableElement.h
Go to the documentation of this file.
1 /****************************************************************************
2 **
3 ** This file is part of the KD Reports library.
4 **
5 ** SPDX-FileCopyrightText: 2007-2022 Klarälvdalens Datakonsult AB, a KDAB Group company <info@kdab.com>
6 **
7 ** SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDAB-KDReports OR LicenseRef-KDAB-KDReports-US
8 **
9 ** Licensees holding valid commercial KD Reports licenses may use this file in
10 ** accordance with the KD Reports Commercial License Agreement provided with
11 ** the Software.
12 **
13 ** Contact info@kdab.com if any conditions of this licensing are not clear to you.
14 **
15 ****************************************************************************/
16 
17 #ifndef KDREPORTSTABLEELEMENT_H
18 #define KDREPORTSTABLEELEMENT_H
19 
21 
22 namespace KDReports {
23 class Cell;
24 class TableElementPrivate;
25 
32 class KDREPORTS_EXPORT TableElement : public AbstractTableElement
33 {
34 public:
41  TableElement();
42 
46  ~TableElement() override;
47 
52  TableElement(const TableElement &other);
56  TableElement &operator=(const TableElement &other);
57 
63  void setHeaderRowCount(int count);
64 
69  int headerRowCount() const;
70 
78  void setHeaderColumnCount(int count);
79 
84  int headerColumnCount() const;
85 
91  Cell &cell(int row, int column);
92 
97  void build(ReportBuilder &) const override;
102  Element *clone() const override;
103 
104 private:
105  TableElementPrivate *const d;
106 };
107 
108 }
109 
110 #endif /* KDREPORTSTABLEELEMENT_H */
KDReports::ReportBuilder
Definition: KDReportsReportBuilder_p.h:41
KDReports::Element
Definition: KDReportsElement.h:39
KDReports::TableElement
Definition: KDReportsTableElement.h:46
KDReportsAbstractTableElement.h
KDReports::Cell
Definition: KDReportsCell.h:52
KDREPORTS_EXPORT
#define KDREPORTS_EXPORT
Definition: KDReportsGlobal.h:29
KDReports
Definition: KDReportsAbstractReportLayout_p.h:30

© 2007-2021 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 Sat Jan 8 2022 02:38:32 for KD Reports API Documentation by doxygen 1.8.17