Details
-
Bug
-
Resolution: Incomplete
-
P3: Somewhat important
-
None
-
5.12.3
-
None
Description
Hi,
I am trying to create a custom editor for model/view pattern using QItemFactory.
I don't know what to send to userType argument in createEditor(int userType, QWidget *parent). As the C++ documentation said, it should take a QVariant::Type. But How can I get theĀ type without QVariant class ? You should switch userType from integer to a <class 'type'>