[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: [PyKDE] Problem with QPainter.drawText() flags
From: Doug Bell <dougb () bellz ! org>
Date: 2006-10-26 15:06:48
Message-ID: 20061026150648.GA16077 () bellz ! org
[Download RAW message or body]
Hi -
In Qt4, the QPainter.drawText() variants that use a rectangle also have
a flags parameter. According to the Qt4 documentation, the flags
parameter can be an OR combination of Qt.AlignmentFlag and Qt.TextFlag.
In PyQt 4.01, the drawText() function works fine with a combination of
alignment flags, but it throws a TypeError with a combination of
alignment and text flags.
Thanks,
Doug.
_______________________________________________
PyKDE mailing list PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic