[Qt-interest] Need a help
Konrad Rosenbaum
konrad at silmor.de
Tue Jul 28 09:13:12 CEST 2009
On Monday 27 July 2009, Nitesh wrote:
> I am new to programming with Qt. I am building a store billing software
> with qt as a college project on C++ where we are required to use any GUI
> Library.. I am till now done with database part. Can you suggest me how
> can I make and print invoices/bills during checkout? Just ideas would
> help. Thanks in advance
if it is just for a college project: generate HTML, render it in
QTextBrowser (let's call it a "print preview") and print from there. In
real world applications that need proper layout (like bills do) I usually
generate ODF from a template and let OpenOffice do the printing.
Konrad
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090728/1567cb7e/attachment.bin
More information about the Qt-interest-old
mailing list