有没有PyQt的报表设计、打印的组件或思路?主要是二维数据表的设计与打印
(
补充一下:
估计这领域比较生僻?这里主要是二维表,无需chart,主要目的是为了打印到纸上给人看,而不是在数码设备里给人看。比如一个货单,有商品名、数量、单价,然后一个总金额等等,这个货单需要打印出来。对于C#,有水晶报表可以完成打印表的设计(设计哪些字段要打印,这个字段放个位置比较合适)和打印功能,Python有没有?)
阿神2017-04-18 10:08:23
I just saw it, and I don’t know what type or style you need. There are many built-in ones that can meet this requirement.
For example, the charts in the examples that come with it
I suggest
1) The table is a table
2) Use QPrintPreviewDialog QPrinter to print, the latter does not depend on the specific report
Post a print control example
http://stackoverflow.com/ques...