KD Reports API Documentation 2.2
Loading...
Searching...
No Matches
KDReportsMainTable.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 KDREPORTSMAINTABLE_H
12#define KDREPORTSMAINTABLE_H
13
14#include "KDReportsReport.h"
15
16namespace KDReports {
17class AutoTableElement;
18class Report;
19class Test;
20class SpreadsheetReportLayout;
21class MainTablePrivate;
22
38{
39public:
43 void setAutoTableElement(const AutoTableElement &element);
47 AutoTableElement *autoTableElement() const;
48
61 void setTableBreakingPageOrder(Report::TableBreakingPageOrder pageOrder);
62
66 Report::TableBreakingPageOrder tableBreakingPageOrder() const;
67
72 void setHorizontalHeaderFont(const QFont &font);
73
78 void setVerticalHeaderFont(const QFont &font);
79
80private:
81 friend class Report;
82 friend class ReportPrivate;
83 MainTable();
84 ~MainTable();
85
86 void setLayout(SpreadsheetReportLayout *layout);
87
88 friend class Test;
89 QList<QRect> pageRects() const; // for unittests
90 qreal lastAutoFontScalingFactor() const; // for unittests
91
92 Q_DISABLE_COPY(MainTable)
93 std::unique_ptr<MainTablePrivate> d;
94};
95
96}
97
98#endif // KDREPORTSMAINTABLE_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 on Wed Apr 24 2024 04:08:14 for KD Reports API Documentation by doxygen 1.9.8