Set a widget(by QtDesigner) as the mainwidget of QMainWindow?

Roberto H. Alsina ralsina at kde.org
Tue Nov 27 08:44:14 GMT 2001


On Tue, Nov 27 2001 at 11:23:41am +0000, Dung Patrick wrote:
> is this possible?

Yes, but usually you don't want to do that.

use designer to create a, say, MyWidgetBase, and then inherit that into
myWidget, and then use a MyWidget as your main widget.

There are some things that are awkward to do in designer-generated code
like, say, putting your own code in it ;-)

-- 
 ("\''/").__..-''"`-. .         Roberto Alsina
 `9_ 9  )   `-. (    ).`-._.`)  ralsina at kde.org
 (_Y_.)' ._   ) `._`.  " -.-'   KDE Developer (MFCH)
  _..`-'_..-_/ /-'_.'           Abeja obrera en Xtech (www.xtech.com.ar)
(l)-'' ((i).' ((!.'             Buenos Aires - Argentina
Futuaris nisi irrisus ridebis. (Carlton, De rerum comoedia)


-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop mailing list