I would like to set an integer number to be stored in a QWidget, and I think the setUserData member function would do the trick but I can’t find any documentation. Any hints?
I would like to set an integer number to be stored in a QWidget
Share
You might be looking for
QObject::setProperty()(which is of course inherited byQWidget).