Custom widget in QDesigner, how to make a parameter editable in designer
Hi,
I have added a self-designed widget in my qdesigner. This widget has two display mode, for example, either as a spin box or a combo box. Whether I can make this as a parameter in QDesigner, then I can easily change the mode instead of creating another widget?
Thanks.
Re: Custom widget in QDesigner, how to make a parameter editable in designer
Make it a property of your widget.
Re: Custom widget in QDesigner, how to make a parameter editable in designer
Quote:
Originally Posted by
wysota
Make it a property of your widget.
Thanks, I will try this out. :)