Important: Please read the Qt Code of Conduct -

Promoting QWidget to custom class and Q_PROPERTY

  • Is there a way to see custom properties on a promoted QWidget to a custom class in the ui editor? I tried seeing the properties, but it only shows up as much as the QWidget ones. I don't really want to integrate the custom widget into the editor so I worked around it, but was wondering if there was something simple I was missing. I tried adding a dynamic property, but that won't take affect the constructor has finished for that object.

  • Moderators

    I don't think so, as QtDesigner does not even show all Q_Properties of the standard widgets!

Log in to reply