[PySide] changing line thickness for QtCore.Qt.BDiagPattern etc
Frank Rueter | OHUfx
frank at ohufx.com
Sun May 20 08:33:08 CEST 2018
Hi,
is there a way to change the line thickness of Qt’s default patterns,
such as QtCore.Qt.BDiagPattern?
I’m doing this to control the spacing of the lines, but can’t figure out
how to control their thickness.
|brush.setStyle(QtCore.Qt.BDiagPattern)
brush.setTransform(brush.transform() * 1.5) |
Cheers,
frank
--
ohufxLogo 50x50 <http://www.ohufx.com>
*vfx compositing <http://ohufx.com/compositing.html> | *workflow
customisation and consulting <http://ohufx.com/customising.html>* *
*<http://ohufx.com/compositing.html>*
<http://www.nukepedia.com/nubridge>
Your gateway to over 1,000 free tools... right inside of Nuke
<http://www.nukepedia.com/nubridge>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/pyside/attachments/20180520/be70997d/attachment.html>
More information about the PySide
mailing list