[PyQt] QRegion::setRects missing

Kovid Goyal kovid at kovidgoyal.net
Thu Oct 20 04:25:06 BST 2016


Hi Phil:

The QRegion::setRects method does not appear to be bound in PyQt.

python -c "from PyQt5.Qt import QRegion; r = QRegion(); print(dir(r))"                                                                                                                                                                 
['Ellipse', 'Rectangle', 'RegionType', '__add__', '__and__', '__bool__', '__class__', '__contains__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__iadd__', '__iand__', '__init__', '__ior__', '__isub__', '__ixor__', '__le__', '__lt__', '__module__', '__mul__', '__ne__', '__new__', '__or__', '__radd__', '__rand__', '__reduce__', '__reduce_ex__', '__repr__', '__rmul__', '__ror__', '__rsub__', '__rxor__', '__setattr__', '__sizeof__', '__str__', '__sub__', '__subclasshook__', '__weakref__', '__xor__', 'boundingRect', 'contains', 'intersected', 'intersects', 'isEmpty', 'isNull', 'rectCount', 'rects', 'subtracted', 'swap', 'translate', 'translated', 'united', 'xored']

https://doc.qt.io/qt-5.7/qregion.html#setRects

Could this be added, please.

Thanks,

Kovid.

-- 
_____________________________________

Dr. Kovid Goyal 
http://www.kovidgoyal.net
http://calibre-ebook.com
_____________________________________


More information about the PyQt mailing list