Details
-
Bug
-
Resolution: Invalid
-
P2: Important
-
None
-
5.15.1
-
None
-
Windows x64 Visual Studio 2019
Description
If I assign a delegate to QListWidget, the overridden paint call has a QModelIndex passed as a parameter. Calling model on the function returns a pointer to a private class QLlistModel, Since this model is private, the item cannot be retrieved from the index.
Please make the QListModel a public class so the items for the QListWidget can be retrieved from QModelIndex.