Add QPen printing support (and PDF export) with new QPenPrinter class.
commit86c6fb6a0cbe093b78c476d59d3d192561ba4e97
authorJonatan Liljedahl <lijon@kymatica.com>
Sat, 3 Dec 2011 17:22:34 +0000 (3 18:22 +0100)
committerJonatan Liljedahl <lijon@kymatica.com>
Mon, 5 Dec 2011 12:59:38 +0000 (5 13:59 +0100)
tree10b27957fb9617b42b06f158c5c3f1e1ef278d27
parent3a7783760d194b11f0e1851da9c6051129c25a99
Add QPen printing support (and PDF export) with new QPenPrinter class.

QPenPrinter-showDialog(okFunc,cancelFunc) shows a print dialog to configure the printer
and calls okFunc when user presses "print".

QPenPrinter-print(drawFunc) calls drawFunc where QPen operates on the configured printer.
All the normal Pen methods can be used inside drawFunc.
HelpSource/Classes/QPenPrinter.schelp [new file with mode: 0644]
QtCollider/CMakeLists.txt
QtCollider/widgets/QcPenPrinter.cpp [new file with mode: 0644]
QtCollider/widgets/QcPenPrinter.h [new file with mode: 0644]
SCClassLibrary/QtCollider/QPenPrinter.sc [new file with mode: 0644]