From kde-devel Tue Jun 23 12:51:29 2009 From: Robin Atwood Date: Tue, 23 Jun 2009 12:51:29 +0000 To: kde-devel Subject: Re: Problem with QT designer Qt3 -> Qt4 Message-Id: <200906231951.29815.robin () binro ! org> X-MARC-Message: https://marc.info/?l=kde-devel&m=124576158204756 On Tuesday 23 June 2009, David Johnson wrote: > On Tuesday 23 June 2009 05:14:57 am Robin Atwood wrote: > > This seems to be quite different from QT3 generated code but shouldn't > > Ui_ReniceUI at least be inheriting QDialog? > There are several ways to use this Ui class. The most common is multiple > inheritance. Your dialog inherits from both QDialog and your new Ui class. > Then in the constructor you call "setupUi(this)". From that point in it > should behave just like a Qt3 uic generated file. Yup, I have now found the appropriate doco! Thanks -Robin -- ---------------------------------------------------------------------- Robin Atwood. "Ship me somewheres east of Suez, where the best is like the worst, Where there ain't no Ten Commandments an' a man can raise a thirst" from "Mandalay" by Rudyard Kipling ---------------------------------------------------------------------- >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<