[Qt-interest] How to use QMainWindow classes generated from Designer ?

Octave octave at octavious.servegame.org
Wed May 6 13:59:22 CEST 2009


Le Friday 01 May 2009 20:17:13 Stephen Collyer, vous avez écrit :
> Does anyone have/know of example code showing how to use the Ui::
> QMainWindow class
> generated from a Designer .ui file ? The Blanchette/Summerfield book has an
> example for a
> .ui generated QDialog class, but not for a QMainWindow class.


Read 
http://doc.trolltech.com/4.5/designer-using-a-ui-file.html#the-single-inheritance-approach

The Blanchette/Summerfiled book shows up the multiple inheritance approach, 
that don't seems to work with a QMainWindow derived class.

Octave





More information about the Qt-interest-old mailing list