[Kst] extragear/graphics/kst/src/libkstapp
Barth Netterfield
netterfield at astro.utoronto.ca
Wed Mar 22 01:00:47 CET 2006
Hmmm... porting is going to be fun...
Why did they make this change?
cbn
On Tuesday 21 March 2006 15:56, George Staikos wrote:
> On Tuesday 21 March 2006 18:45, Barth Netterfield wrote:
> > > > -Does QT4 designer support _ui.h ?
> > >
> > > No, nor does it support the "_i.h" approach. UI files are basically
> > > a function call that generate the UI into a widget now, along with a
> > > class that holds the pointers.
> >
> > So you can no longer inherit from a designer generated widget?
>
> Correct, it looks like this:
>
> MyDialog::MyDialog(QWidget *parent)
>
> : QDialog(parent) {
>
> _ui.setupUi(this);
> }
>
> _ui is a Ui::DesignerWidget and inherits from nothing. It just contains a
> setupUi(), retranslateUi(), and some pointers.
More information about the Kst
mailing list