[Qt-interest] Problem setting extends value of qt plugins

Tony Rietwyk tony.rietwyk at rightsoft.com.au
Mon May 17 18:40:25 CEST 2010


> -----Original Message-----
> Hi everyone,
> 
> I have created a set of custom widgets which I use within the 
> designer. One of 
> the custom widgets is an enhanced Pushbutton which inherits from 
> QAbstractButton, the designer now stores the custom 
> Pushbutton in the ui file 
> as extended from QWidget instead of QPushButtton. Is there a 
> way to set the 
> extend field within the ui file through the plugin code?
...
> Cheers 
> Simon

I understand your difficulty, but I don't think so.  Even if you could
specify it, using the QPushButton property methods on your object may crash?


Can you override QPushButton instead?  What is the nature of the
enhancements?  

Tony





More information about the Qt-interest-old mailing list