KD Reports API Documentation
2.2
src
KDReports
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
20
class
TableBreakingLogic
21
{
22
public
:
23
TableBreakingLogic
();
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 */
KDReports::TableBreakingLogic
Definition:
KDReportsTableBreakingLogic_p.h:21
KDReports::TableBreakingLogic::TableBreakingLogic
TableBreakingLogic()
Definition:
KDReportsTableBreakingLogic.cpp:15
KDReports::TableBreakingLogic::columnsPerPage
QVector< int > columnsPerPage() const
Definition:
KDReportsTableBreakingLogic.cpp:32
KDReports::TableBreakingLogic::setColumnWidths
void setColumnWidths(const WidthVector &widths)
KDReports::TableBreakingLogic::widthPerPage
WidthVector widthPerPage(const QVector< int > &colPerPage) const
Definition:
KDReportsTableBreakingLogic.cpp:83
KDReports::TableBreakingLogic::WidthVector
QVector< qreal > WidthVector
Definition:
KDReportsTableBreakingLogic_p.h:25
KDReports::TableBreakingLogic::setPageCount
void setPageCount(int pages)
Definition:
KDReportsTableBreakingLogic.cpp:27
KDReports
Definition:
KDReportsAbstractReportLayout_p.h:24
© 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