PDA

View Full Version : Custom widget in QDesigner, how to make a parameter editable in designer



stella1016
4th December 2009, 09:05
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.

wysota
4th December 2009, 09:20
Make it a property of your widget.

stella1016
4th December 2009, 09:38
Make it a property of your widget.

Thanks, I will try this out. :)