Important: Please read the Qt Code of Conduct -

Setting properties for custom widgets

  • how do you set custom properties for custom widget plugin that will be shown on the designer too . i have made a plugin but i also need some properties to be user defined in the designer . how do i set those . please help

  • You should define property in your custom widgets, see the documentation of Q_PROPERTY

  • yeah got it thanks
    but still have one problem
    my widget has a list inside it how do i implement the edit item method type of property that some widgets have in the designer

Log in to reply