KD Reports  1.9
KDReportsTableElement.h
1 /****************************************************************************
2 **
3 ** This file is part of the KD Reports library.
4 **
5 ** SPDX-FileCopyrightText: 2007-2020 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 
20 #include "KDReportsAbstractTableElement.h"
21 
22 namespace KDReports {
23 class Cell;
24 class TableElementPrivate;
25 
32 class KDREPORTS_EXPORT TableElement : public AbstractTableElement
33 {
34 public:
42 
46  ~TableElement() override;
47 
52  TableElement(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 
111 #endif /* KDREPORTSTABLEELEMENT_H */
112 
KDReports::TableElement::headerRowCount
int headerRowCount() const
KDReports::TableElement::cell
Cell & cell(int row, int column)
KDReports::Element
Definition: KDReportsElement.h:40
KDReports::TableElement
Definition: KDReportsTableElement.h:33
KDReports::Cell
Definition: KDReportsCell.h:40
KDReports::TableElement::operator=
TableElement & operator=(const TableElement &other)
KDReports::TableElement::TableElement
TableElement()
KDReports::TableElement::headerColumnCount
int headerColumnCount() const
KDReports::TableElement::TableElement
TableElement(const TableElement &other)
KDReports::TableElement::~TableElement
~TableElement() override
KDReports::TableElement::setHeaderRowCount
void setHeaderRowCount(int count)
KDReports::TableElement::setHeaderColumnCount
void setHeaderColumnCount(int count)
KDReports::AbstractTableElement
Definition: KDReportsAbstractTableElement.h:38
KDReports
Definition: KDReportsAbstractTableElement.h:30

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/