[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    [PyQt] QRegion::setRects missing
From:       Kovid Goyal <kovid () kovidgoyal ! net>
Date:       2016-10-20 3:37:06
Message-ID: 20161020032505.GX2281 () qedette
[Download RAW message or body]

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
_____________________________________
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
https://www.riverbankcomputing.com/mailman/listinfo/pyqt


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic