Issue using QPdfDocument.PageModelRole

Detlev Offenbach detlev at die-offenbachs.de
Fri Jan 13 12:37:07 GMT 2023


Hi Phil,

QPdfDocument.PageModelRole seems to be defined as an Enum but it should 
be an IntEnum in order to be used e.g. in QAbstractItemModel.match() as 
the role parameter, which is defined as an 'int'. Please change this for 
the next release.

Thanks,
Detlev

-- 
Detlev Offenbach
detlev at die-offenbachs.de

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0xBD1F26A5DA8A6150.asc
Type: application/pgp-keys
Size: 660 bytes
Desc: OpenPGP public key
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20230113/0e31f907/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 236 bytes
Desc: OpenPGP digital signature
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20230113/0e31f907/attachment.sig>


More information about the PyQt mailing list