Skip to content

Commit 2867295

Browse files
Import of KDAB git master c76757fcf82dd712773242b04e887d20bd0e4f8e
0 parents  commit 2867295

File tree

208 files changed

+23030
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

208 files changed

+23030
-0
lines changed

Doxyfile

+1,216
Large diffs are not rendered by default.

FindKDReports.cmake

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# - Find KDReports
2+
# This module finds if KDReports is installed.
3+
#
4+
# KDReports_FOUND - Set to TRUE if KDReports was found.
5+
# KDReports_LIBRARIES - Path to KDReports libraries.
6+
# KDReports_INCLUDE_DIR - Path to the KDReports include directory.
7+
#
8+
# Copyright (C) 2007-2014 Klaralvdalens Datakonsult AB.
9+
# Redistribution and use is allowed according to the terms of the BSD license
10+
11+
include(FindPackageHandleStandardArgs)
12+
13+
find_library(KDReports_LIBRARIES
14+
NAMES KDReports kdreports
15+
PATH_SUFFIXES bin)
16+
find_path(KDReports_INCLUDE_DIR
17+
NAMES KDReports KDReportsGlobal)
18+
19+
mark_as_advanced(KDReports_LIBRARIES KDReports_INCLUDE_DIR)
20+
21+
find_package_handle_standard_args(KDReports DEFAULT_MSG KDReports_LIBRARIES KDReports_INCLUDE_DIR)

INSTALL.txt

+61
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
KD Reports requires Qt 4.6 or later
2+
3+
If you want KDChart support, please set KDCHARTDIR either as an environment variable or on the qmake command line:
4+
5+
Windows:
6+
set KDCHARTDIR=C:\path\to\kdchart
7+
8+
Unix:
9+
export KDCHARTDIR=/path/to/kdchart
10+
11+
0) From the top directory of your KD Reports installation
12+
run the "configure" scripts.
13+
14+
On Windows use depending on the kind of build one of the following;
15+
configure.bat -shared -debug
16+
configure.bat -shared -release
17+
18+
On Unix use depending on the kind of build one of the following;
19+
./configure.sh -shared -debug
20+
./configure.sh -shared -release
21+
22+
To define the install-location use for example;
23+
configure.bat -shared -debug -prefix c:/kdreports
24+
./configure.sh -shared -debug -prefix /opt/kdreports
25+
26+
27+
28+
1) Unix
29+
30+
set your LD_LIBRARY_PATH to point to your KD Reports installation lib directory.
31+
32+
If you do not have LD_LIBRARY_PATH set already then use this line:
33+
LD_LIBRARY_PATH=/path/to/kdreports/lib:$LD_LIBRARY_PATH
34+
export LD_LIBRARY_PATH
35+
36+
The above has to be added into your .bashrc or similar to remain. It may also of course be run from a shell just before building KD Reports, but in this case your settings will only be available for this shell.
37+
38+
2) MacOS
39+
Proceed as described above, but using DYLD_LIBRARY_PATH instead
40+
of LD_LIBRARY_PATH
41+
42+
3) Windows
43+
Add the path to the KD Reports dll (kdreports\bin) into your PATH environment variable (for running executables)
44+
and the path to the KD Reports lib (kdreports\lib) into your LIB environment variable (for development).
45+
46+
Or run:
47+
set PATH=\path\to\kdreports\bin;%PATH%
48+
set LIB=\path\to\kdreports\lib;%LIB%
49+
50+
4) Compile everything by typing:
51+
52+
make # Unix,
53+
nmake # Windows
54+
55+
On Windows you can also use the Qt integration into Visual Studio:
56+
open the toplevel kdreports.pro with "Qt / Open Solution from .pro file".
57+
You still need to adjust the PATH environment variable in order to run the examples.
58+
59+
5) Install headers and libraries by typing:
60+
make install # Unix
61+
nmake install # Windows

LICENSE.GPL.txt

+1,027
Large diffs are not rendered by default.

LICENSE.LGPL.txt

+685
Large diffs are not rendered by default.

LICENSE.US.txt

+148
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,148 @@
1+
KD Reports COMMERCIAL LICENSE AGREEMENT
2+
FOR COMMERCIAL VERSIONS
3+
March 27, 2002
4+
5+
6+
IMPORTANT-READ CAREFULLY: This Klaralvdalens Datakonsult AB End-User
7+
License Agreement ("EULA") is a legal agreement between you (either an
8+
individual or a legal entity) and Klaralvdalens Datakonsult AB
9+
("KDAB") for the Klaralvdalens Datakonsult AB software product(s)
10+
accompanying this EULA, which include(s) computer software and may
11+
include "online" or electronic documentation, associated media, and
12+
printed materials ("Licensed Product").
13+
14+
The Licensed Product is protected by copyright laws and international
15+
copyright treaties, as well as other intellectual property laws and
16+
treaties. The Licensed Product is licensed, not sold.
17+
18+
By installing, copying, or otherwise using the Licensed Product, you
19+
agree to be bound by the terms of this EULA. If you do not agree to
20+
the terms of this EULA, do not install, copy, or otherwise use the
21+
Licensed Product; you may, however, return it to your place of
22+
purchase for a full refund. In addition, by installing, copying, or
23+
otherwise using any updates or other components of the Licensed
24+
Product that you receive separately as part of the Licensed Product
25+
("Updates"), you agree to be bound by any additional license terms
26+
that accompany such Updates. If you do not agree to the additional
27+
license terms that accompany such Updates, you may not install, copy,
28+
or otherwise use such Updates.
29+
30+
Upon your acceptance of the terms and conditions of this EULA, KDAB
31+
grants you the right to use the Licensed Product in the manner
32+
provided below.
33+
34+
KDAB grants to you as an individual a personal, nonexclusive,
35+
nontransferable license to make and use copies of the Licensed Product
36+
for the sole purposes of designing, developing, and testing your
37+
software product(s) ("Applications"). You may install copies of the
38+
Licensed Product on an unlimited number of computers provided that you
39+
are the only individual using the Licensed Product. If you are an
40+
entity, KDAB grants you the right to designate one, and only one,
41+
individual within your organization who shall have the sole right to
42+
use the Licensed Product in the manner provided above. You may at any
43+
time, but not more frequently that once every six (6) months,
44+
designate another individual to replace the current designated user by
45+
notifying KDAB, so long as there is no more than one designated user
46+
at any given time.
47+
48+
49+
GENERAL TERMS THAT APPLY TO APPLICATIONS AND REDISTRIBUTABLES
50+
KDAB grants you a nonexclusive, royalty-free right to reproduce and
51+
distribute the object code form of any portion of the Licensed Product
52+
("Redistributables") for execution on any operating system of a type
53+
listed in the License Certificate ("Platforms"). Copies of
54+
Redistributables may only be distributed with and for the sole purpose
55+
of executing Applications permitted under this License Agreement that
56+
you have created using the Licensed Product. Under no circumstances
57+
may any copies of Redistributables be distributed separately.
58+
59+
The license granted in this EULA for you to create your own
60+
Applications and distribute them and the Redistributables (if any) to
61+
your customers is subject to all of the following conditions: (i) all
62+
copies of the Applications you create must bear a valid copyright
63+
notice, either your own or the copyright notice that appears on the
64+
Licensed Product; (ii) you may not remove or alter any copyright,
65+
trademark or other proprietary rights notice contained in any portion
66+
of the Licensed Product; (iii) Redistributables, if any, shall be
67+
licensed to your customer "as is" (KDAB MAKES NO WARRANTIES OR
68+
REPRESENTATIONS VIS-A-VIS YOUR CUSTOMER WITH RESPECT TO
69+
REDISTRIBUTABLES, AND KDAB EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES
70+
VIS-A-VIS YOUR CUSTOMER, WHETHER EXPRESS OR IMPLIED, ORAL OR WRITTEN,
71+
INCLUDING, BUT NOT LIMITED TO ANY IMPLIED WARRANTY OF MERCHANTABILITY
72+
OR FITNESS FOR ANY PARTICULAR PURPOSE, WHETHER OR NOT KDAB KNOWS, HAS
73+
REASON TO KNOW, HAS BEEN ADVISED OR IS OTHERWISE AWARE OF SUCH
74+
PURPOSE); (iv) you will indemnify and hold KDAB, its related companies
75+
and its suppliers, harmless from and against any claims or liabilities
76+
arising out of the use, reproduction or distribution of your
77+
Applications; (v) your Applications must be written using a licensed,
78+
registered copy of the Licensed Product; (vi) your Applications must
79+
add primary and substantial functionality to the Licensed Product;
80+
(vii) your Applications may not pass on functionality which in any way
81+
makes it possible for others to create Applications with the Software;
82+
(viii) your Applications may not compete with the Licensed Product;
83+
(ix)) you may not use KDAB's or any of its suppliers' names, logos, or
84+
trademarks to market your programs, except to state that your program
85+
was written using the Licensed Product.
86+
87+
LICENSEE'S BREACH OF CONTRACT
88+
In addition to penalties, other sanctions and the like as stated in
89+
the Swedish Copyright Act (1960:729), or successive legislation as it
90+
may appear, the Licensee agrees to pay a Contractual Fine in case of
91+
his/her/their breach of any of the above mentioned obligations,
92+
including but not limited to, the Licensee's obligation to let only
93+
one person per license use the Software as stated under above. The
94+
Contractual Fine is EUR 5000 and is payable by the Licensee to the
95+
Licenser immediately upon the Licenser having reasonably demonstrated
96+
that the Licensee is in breach of his obligations in this Agreement.
97+
98+
WARRANTY DISCLAIMER
99+
THE LICENSED PRODUCT IS LICENSED TO YOU "AS IS". TO THE MAXIMUM
100+
EXTENT PERMITTED BY APPLICABLE LAW, KDAB ON BEHALF OF ITSELF AND ITS
101+
SUPPLIERS, DISCLAIMS ALL WARRANTIES AND CONDITIONS, EITHER EXPRESS OR
102+
IMPLIED, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF
103+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND
104+
NON-INFRINGEMENT WITH REGARD TO THE LICENSED PRODUCT. THIS WARRANTY
105+
DISCLAIMER NOTWITHSTANDING, YOU MAY HAVE SPECIFIC LEGAL RIGHTS WHICH
106+
MAY VARY FROM STATE/JURISDICTION TO STATE/JURISDICTION.
107+
108+
109+
LIMITATION OF LIABILITY
110+
IF, KDAB'S WARRANTY DISCLAIMER NOTWITHSTANDING, KDAB IS HELD LIABLE TO
111+
YOU, WHETHER IN CONTRACT, TORT OR ANY OTHER LEGAL THEORY, BASED ON THE
112+
LICENSED PRODUCT, KDAB'S ENTIRE LIABILITY TO YOU AND YOUR EXCLUSIVE
113+
REMEDY SHALL BE, AT KDAB'S OPTION, EITHER (A) RETURN OF THE PRICE YOU
114+
PAID FOR THE LICENSED PRODUCT, OR (B) REPAIR OR REPLACEMENT OF THE
115+
LICENSED PRODUCT, PROVIDED YOU RETURN TO KDAB ALL COPIES OF THE
116+
LICENSED PRODUCT AS ORIGINALLY DELIVERED TO YOU. KDAB SHALL NOT UNDER
117+
ANY CIRCUMSTANCES BE LIABLE TO YOU BASED ON FAILURE OF THE LICENSED
118+
PRODUCT IF THE FAILURE RESULTED FROM ACCIDENT, ABUSE OR
119+
MISAPPLICATION, NOR SHALL KDAB UNDER ANY CIRCUMSTANCES BE LIABLE FOR
120+
SPECIAL DAMAGES, PUNITIVE OR EXEMPLARY DAMAGES, DAMAGES FOR LOSS OF
121+
PROFITS OR INTERRUPTION OF BUSINESS OR FOR LOSS OR CORRUPTION OF DATA.
122+
ANY AWARD OF DAMAGES FROM KDAB TO YOU SHALL NOT EXCEED THE TOTAL AMOUNT
123+
YOU HAVE PAID TO KDAB IN CONNECTION WITH THIS EULA.
124+
125+
126+
SUPPORT AND UPDATES
127+
You will receive email based, software developer support and access to
128+
Updates to the Licensed Product for one year from the date of initial
129+
delivery, in accordance with KDAB support policies and procedures.
130+
Such policies and procedures may be changed from time to time.
131+
132+
133+
GENERAL PROVISIONS
134+
This EULA may only be modified in writing signed by you and an
135+
authorized officer of KDAB. All terms of any purchase order or other
136+
ordering document shall be superseded by this EULA. If any provision
137+
of the EULA is found void or unenforceable, the remainder will remain
138+
valid and enforceable according to its terms. If any remedy provided
139+
is determined to have failed for its essential purpose, all
140+
limitations of liability and exclusions of damages set forth in this
141+
EULA shall remain in effect.
142+
143+
This EULA shall be construed, interpreted and governed by the laws of
144+
Sweden, the venue to be Sunne Tingsratt. The EULA gives you specific
145+
legal rights; you may have others, which vary from state to state and
146+
from country to country. KDAB reserves all rights not specifically
147+
granted in this EULA.
148+

LICENSE.txt

+104
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,104 @@
1+
KD Reports COMMERCIAL LICENSE AGREEMENT
2+
FOR COMMERCIAL VERSIONS
3+
Version 1.0
4+
5+
Copyright of this license text (C) 2001 Trolltech AS and (C) 2002-2010
6+
Klaralvdalens Datakonsult AB. All rights reserved. License text used
7+
with kind permission of Trolltech AS. The software and accompanying
8+
material is Copyright (C) 2007-2013 Klaralvdalens Datakonsult AB.
9+
10+
This non-exclusive non-transferable License Agreement ("Agreement") is
11+
between you ("Licensee") and Klaralvdalens Datakonsult AB (KDAB), and
12+
pertains to the Klaralvdalens Datakonsult AB software product(s)
13+
accompanying this Agreement, which include(s) computer software and
14+
may include "online" or electronic documentation, associated media,
15+
and printed materials, including the source code, example programs and
16+
the documentation ("Software").
17+
18+
19+
COPYRIGHT AND RESTRICTIONS
20+
21+
1. All intellectual property rights in the Software are owned by KDAB
22+
and are protected by Swedish copyright laws, other applicable
23+
copyright laws, and international treaty provisions. KDAB retains all
24+
rights not expressly granted. No title, property rights or copyright
25+
in the Software or in any modifications to the Software shall pass to
26+
the Licensee under any circumstances. The Software is licensed, not
27+
sold.
28+
29+
2. By installing, copying, or otherwise using the Software, you agree
30+
to be bound by the terms of this agreement. If you do not agree to the
31+
terms of this Agreement, do not install, copy, or otherwise use the
32+
Software.
33+
34+
3. Upon your acceptance of the terms and conditions of this Agreement,
35+
KDAB grants you the right to use the Software in the manner provided
36+
below.
37+
38+
4. KDAB grants to you as an individual a personal, nonexclusive,
39+
non-transferable license to make and use copies of the Software for
40+
the sole purposes of designing, developing, testing and distributing
41+
your software product(s) ("Applications"). You may install copies of
42+
the Software on an unlimited number of computers provided that you are
43+
the only individual using the Software. If you are an entity, KDAB
44+
grants you the right to designate one, and only one, individual within
45+
your organization who shall have the sole right to use the Software in
46+
the manner provided above.
47+
48+
5. The license granted in this Agreement for you to create and
49+
distribute your own Applications is subject to all of the following
50+
conditions: (i) all copies of the Applications you create must bear a
51+
valid copyright notice, either your own or the copyright notice that
52+
appears on the Software; (ii) you may not remove or alter any
53+
copyright, trademark or other proprietary rights notice contained in
54+
any portion of the Software; (iii) you will indemnify and hold KDAB, its
55+
related companies and its suppliers, harmless from and against any
56+
claims or liabilities arising out of the use and/or reproduction of
57+
your Applications; (iv) your Applications must be written using a
58+
licensed, registered copy of the Software; (v) your Applications must
59+
add primary and substantial functionality to the Software; (vi) your
60+
Applications may not pass on functionality which in any way makes it
61+
possible for others to create Applications with the Software; (vii)
62+
your Applications may not compete with the Software; (viii) you may
63+
not use KDAB's or any of its suppliers' names, logos, or trademarks to
64+
market your programs, except to state that your program was written
65+
using the Software.
66+
67+
6. LICENSEE'S BREACH OF CONTRACT
68+
In addition to penalties, other sanctions and the like as stated in
69+
the Swedish Copyright Act (1960:729), or successive legislation as it
70+
may appear, the Licensee agrees to pay a Contractual Fine in case of
71+
his/her/their breach of any of the above mentioned obligations,
72+
including but not limited to, the Licensee's obligation to let only
73+
one person per license use the Software as stated under above. The
74+
Contractual Fine is EUR 5000 and is payable by the Licensee to the
75+
Licenser immediately upon the Licenser having reasonably demonstrated
76+
that the Licensee is in breach of his obligations in this Agreement.
77+
78+
7. WARRANTY DISCLAIMER
79+
THE SOFTWARE IS LICENSED TO YOU "AS IS". TO THE MAXIMUM EXTENT
80+
PERMITTED BY APPLICABLE LAW, KDAB ON BEHALF OF ITSELF AND ITS SUPPLIERS,
81+
DISCLAIMS ALL WARRANTIES AND CONDITIONS, EITHER EXPRESS OR IMPLIED,
82+
INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY,
83+
FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT WITH
84+
REGARD TO THE SOFTWARE.
85+
86+
8. LIMITATION OF LIABILITY
87+
IF, KDAB'S WARRANTY DISCLAIMER NOTWITHSTANDING, KDAB IS HELD LIABLE TO
88+
YOU BASED ON THE SOFTWARE, KDAB'S ENTIRE LIABILITY TO YOU AND YOUR
89+
EXCLUSIVE REMEDY SHALL BE, AT REPAIR OR REPLACEMENT OF THE SOFTWARE,
90+
PROVIDED YOU RETURN TO KDAB ALL COPIES OF THE SOFTWARE AS ORIGINALLY
91+
DELIVERED TO YOU. KDAB SHALL NOT UNDER ANY CIRCUMSTANCES BE LIABLE TO
92+
YOU BASED ON FAILURE OF THE SOFTWARE IF THE FAILURE RESULTED FROM
93+
ACCIDENT, ABUSE OR MISAPPLICATION, NOR SHALL KDAB UNDER ANY
94+
CIRCUMSTANCES BE LIABLE FOR SPECIAL DAMAGES, PUNITIVE OR EXEMPLARY
95+
DAMAGES, DAMAGES FOR LOSS OF PROFITS OR INTERRUPTION OF BUSINESS OR
96+
FOR LOSS OR CORRUPTION OF DATA.
97+
98+
9. This Agreement may only be modified in writing signed by you and an
99+
authorized officer of KDAB. All terms of any purchase order or other
100+
ordering document shall be superseded by this Agreement.
101+
102+
10. This Agreement shall be construed, interpreted and governed by the
103+
laws of Sweden, the venue to be Sunne Tingsratt.
104+

README.txt

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
KD Reports is the Qt tool that lets you easily create printable
2+
reports by providing all of the necessary features for a variety of
3+
applications.
4+
5+
Please refer to the license file for conditions of use.
6+
7+
After reading the introductory overview files in doc/
8+
you will find more information at three places:
9+
10+
detailed browsable API reference: doc/refman/index.html
11+
or: http://docs.kdab.com/kdreports/1.6/
12+
programmers manual with examples: doc/manual/kdreports.pdf
13+
our sorted example programs: examples/
14+
15+
For build instructions please read the file INSTALL.txt.
16+
17+
In case of additional questions during evaluation or use of
18+
KD Reports please contact our technical support by mail:
19+
20+
21+
22+
We thank you for your interest in KD Reports and we are here
23+
to assist you if the documentation leaves open questions or
24+
if you just need some help with finding the best way in which
25+
to realize your charting ideas.
26+
27+
The KDAB KD Reports Support Team.

autogen.py

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/usr/bin/env python
2+
from autogen.autogen import autogen
3+
4+
project = "KDReports"
5+
version = "1.5.99"
6+
subprojects = ["KDReports"]
7+
prefixed = True
8+
9+
autogen(project, version, subprojects, prefixed, policyVersion = 2)

0 commit comments

Comments
 (0)