专业财税服务推荐

精选优质财税服务,为企业提供专业、可靠的财税解决方案,助力企业健康发展

零报税代理记账
零申报代理记账
报税做账算帐财务报表老会计做账
代理记账
咨询微信:lhy_happyday
工商营业执照年度年报年检公示
全国个体、企业、公司、合作社工商年审年报服务!
个体/10元/次 企业/20元/次
咨询微信:lhy_happyday
财税咨询服务
一对一专业财税咨询,解决企业财税难题,提供定制方案
咨询微信:lhy_happyday
财务分析服务
小规模个体报税0申报税务年报工商年报月报季报报税代理记账
咨询微信:lhy_happyday
立即咨询专业财税顾问
微信号: lhy_happyday
会计从业9年,管理多家个体工商、小规模、一般纳税人等企业的财务、税务等相关工作!。
扫码或搜索添加微信,备注"财税咨询"获取专属优惠
知方号 知方号

QT报表选型(QT报表系列1) 开源报表软件生成TXT文件

QT报表选型(QT报表系列1)

QT报表选型(QT报表系列1)

 

QT中目前的主流报表框架:NCReport ,CuteReport,QtRPT,LimeReport等,由于NCReport 现在是商业版本,CuteReport,从2017年后就没再更新,所以我们重点介绍后二者。

1、QtRPT 

QtRPT 是用 C++ QtToolkit 编写的易于使用的报告引擎,它允许在一个 XML 文件中组合多个报告。对于单独获取的字段,你可以指定一些条件,这取决于该字段将以不同的字体和背景颜色显示,等等。该项目由两个部分组成:报表库 QtRPT 和报表设计器应用程序 QtRptDesigner。报表文件是 XML 格式的文件,报表设计器可以轻松创建报表 XML 文件。

主要特点:

Supported output formats: Printer, PDF, HTMLUniversal type of data sourceSQL datasourceReport elements: Label field, Images, DiagramParameters from application sideSeveral reports togetherPage header/footerReport page/headerData bandData groupingGroup header/footerAggregate functions: AVG, SUM, COUNTMathematic functionsHighlighting of the fields by login conditionsShow/hide fields by logic conditionsSystem variablesImages: static or from application sideDiagrams with manual data or with aggregate functionsBarcode printingPure Qt4/Qt5 code

报表实际效果如下

主页:http://www.qtrpt.tk

SourceForge 主页:https://sourceforge.net/projects/qtrpt

2、LimeReport 

LimeReport - 使用 Qt 框架编写的跨平台 C++ 报表生成器库,用于希望将其添加到应用程序功能中的软件开发人员,以形成使用模板生成的报表或打印报表。库中包含的报表设计器允许创建快速直观的打印表单模板,这些模板可以以 XML 格式保存并用于生成报表页面。因此形成的页面可以发送到预览、PDF 文件或打印机。作为数据源开发人员,可以使用 SQL 数据库或使用 QAbstractTableModel 接口从应用程序传递的数据。此外,还可以初始化作为数据库请求参数可用的变量。LimeReport 的目标是为你的应用程序提供丰富的功能,同时简单地使用工具生成报告,即使没有经验的 IT 用户也可以使用。

 

主要特点:

1.      Added the ability to use QJSEngine instead of deprecated QtScript.

2.      Report designer has been improved.

3.      Inches support has been added.

4.      Embedded dialog designer has been added.

5.      The script editor has been improved.

6.      Added the ability to build only report generator without embedded visual report designer.

7.      Report translation ability has been added.

8.      Added report generation time events with the ability to process them in the report script.

9.      Added the ability to build a report table of contents.

10.   The vertical layout has been added.

11.   Added the ability to transfer an image to the report via a variable.

12.   Endless height has been added.

13.   Added the ability to print a report page on multiple pages of paper.

14.   Added the ability to print on multiple printers.

15.   ChartItem has been added.

16.   Added the ability to use aggregate functions in headers.

17.   Subtotals.

18.   Dark and Light themes have been added to report designer.

19.   Generation result editing mode has been improved.

 

实际效果图:

从风格上个人更喜欢limereport,感觉跟FASTREPORT比较接近,所以后续重点研究这个。

主页:http://limereport.ru

源码仓库:https://github.com/fralx/LimeReport

注:实战示例,解疑答惑。

           --不间端地思考,实时地批判你的工作!

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件至lizi9903@foxmail.com举报,一经查实,本站将立刻删除。