KD Reports  1.8
KDReportsTableElement.h
1 /****************************************************************************
2 ** Copyright (C) 2007-2020 Klaralvdalens Datakonsult AB. All rights reserved.
3 **
4 ** This file is part of the KD Reports library.
5 **
6 ** Licensees holding valid commercial KD Reports licenses may use this file in
7 ** accordance with the KD Reports Commercial License Agreement provided with
8 ** the Software.
9 **
10 **
11 ** This file may be distributed and/or modified under the terms of the
12 ** GNU Lesser General Public License version 2.1 and version 3 as published by the
13 ** Free Software Foundation and appearing in the file LICENSE.LGPL.txt included.
14 **
15 ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
16 ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
17 **
18 ** Contact info@kdab.com if any conditions of this licensing are not
19 ** clear to you.
20 **
21 **********************************************************************/
22 
23 #ifndef KDREPORTSTABLEELEMENT_H
24 #define KDREPORTSTABLEELEMENT_H
25 
26 #include "KDReportsAbstractTableElement.h"
27 
28 namespace KDReports {
29 class Cell;
30 class TableElementPrivate;
31 
38 class KDREPORTS_EXPORT TableElement : public AbstractTableElement
39 {
40 public:
47  TableElement();
48 
52  ~TableElement();
53 
58  TableElement(const TableElement &other);
62  TableElement &operator=(const TableElement &other);
63 
69  void setHeaderRowCount( int count );
70 
75  int headerRowCount() const;
76 
84  void setHeaderColumnCount( int count );
85 
90  int headerColumnCount() const;
91 
97  Cell& cell( int row, int column );
98 
103  void build( ReportBuilder& ) const;
108  Element* clone() const;
109 
110 private:
111  TableElementPrivate* const d;
112 };
113 
114 }
115 
116 
117 #endif /* KDREPORTSTABLEELEMENT_H */
118 
Definition: KDReportsTableElement.h:38
Definition: KDReportsCell.h:45
Definition: KDReportsAbstractTableElement.h:36
Definition: KDReportsElement.h:45
Definition: KDReportsAbstractTableElement.h:43

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/