[Qt-interest] Creating UI files with Overridden Qt Classes
John McClurkin
jwm at nei.nih.gov
Sat Oct 10 13:59:46 CEST 2009
Raja Rokkam wrote:
> Hi All,
>
> I have created a .UI file and in that I want the parent class of say
> dialog to be QMyWidget instead of QWidget. I have extended and
> overridden the QLineEdit class. Is there a way we can specify while
> creating the .ui itself to set the parent as QMyWidget ? Or how else can
> it be done so that when I run the .ui file to create from myWidget parent.
>
>
> Thanks,
> Raja.
If you are using QtDesigner, just put a QWidget in your design and
promote it to QMyWidget.
More information about the Qt-interest-old
mailing list