KD Reports API Documentation  2.2
KDReportsTableBreakingLogic_p.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 TABLEBREAKINGLOGIC_H
12 #define TABLEBREAKINGLOGIC_H
13 
14 #include <QVector>
15 
16 namespace KDReports {
17 
21 {
22 public:
24 
25  typedef QVector<qreal> WidthVector;
26  void setColumnWidths(const WidthVector &widths);
27  void setPageCount(int pages);
28 
33  QVector<int> columnsPerPage() const;
34 
37  WidthVector widthPerPage(const QVector<int> &colPerPage) const;
38 
39 private:
40  WidthVector m_widths;
41  int m_pages;
42 };
43 
44 } // namespace KDReports
45 
46 #endif /* TABLEBREAKINGLOGIC_H */
void setColumnWidths(const WidthVector &widths)
WidthVector widthPerPage(const QVector< int > &colPerPage) const

© 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