KD Reports API Documentation  2.2
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 Klarälvdalens Datakonsult AB, a KDAB Group company <info@kdab.com>
6 **
7 ** SPDX-License-Identifier: MIT
8 **
9 ****************************************************************************/
10 
11 #ifndef KDREPORTSTABLEELEMENT_H
12 #define KDREPORTSTABLEELEMENT_H
13 
15 
16 namespace KDReports {
17 class Cell;
18 class TableElementPrivate;
19 
27 {
28 public:
35  TableElement();
36 
40  ~TableElement() override;
41 
46  TableElement(const TableElement &other);
50  TableElement &operator=(const TableElement &other);
51 
60  Cell &cell(int row, int column);
61 
67  void setHeaderRowCount(int count);
68 
73  int headerRowCount() const;
74 
82  void setHeaderColumnCount(int count);
83 
88  int headerColumnCount() const;
89 
94  int rowCount() const;
99  int columnCount() const;
100 
105  void build(ReportBuilder &) const override;
110  Element *clone() const override;
111 
112 private:
113  std::unique_ptr<TableElementPrivate> d;
114 };
115 
116 }
117 
118 #endif /* KDREPORTSTABLEELEMENT_H */
#define KDREPORTS_EXPORT

© 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 by doxygen 1.9.1