Issue using QPdfDocument.PageModelRole

Phil Thompson phil at riverbankcomputing.com
Fri Jan 13 15:47:27 GMT 2023


On 13/01/2023 12:37, Detlev Offenbach wrote:
> 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.

Done.

Thanks,
Phil


More information about the PyQt mailing list