There are several ways to use Kugar
Create a temporary file and fill it with data, organized according to the KugarData Document Type Definition. Then call the kugar shell command (
kugar [-d
] [Kugar data file
-r
]Kugar template file
Use Kugar directly in the application's code. See Using Kugar classes for reporting for a detailed description.
Create a Qt™ designer plugin, use it to build the application GUI in the designer and link it to the program dynamically. See Creating a Qt™ designer plugin for a detailed description.
The last two ways are acceptable for Qt™ and KDE developers; but Kugar is designed to be a report generator, independent from a programming language and/or IDE. It uses XML format for describing report templates and data files. So any program can produce output in Kugar data file format as described in KugarData DTD or even a report template file format (see KugarTemplate DTD). Kugar shell (report viewer) can be used to preview and print the generated report.
Would you like to make a comment or contribute an update to this page?
Send feedback to the KDE Docs Team