Re: [Gambas-user] Why is MyMainWindow inheriting from QWidget (gb.qt4, CWindow width)?

2010-06-02 Thread Leandro Santiago
Ow, a diff file is very util :-) 2010/6/2 Leandro Santiago : > Hello, I'm looking at gb.qt4 code (I'm not a very good C++ programmer > :-) ) and I saw that the gambas3 main window (MyMainWindow) has > QWidget as parent class, but QMainWindow serves exactly to this. > > It's because gambas applicat

[Gambas-user] Why is MyMainWindow inheriting from QWidget (gb.qt4, CWindow width)?

2010-06-02 Thread Leandro Santiago
Hello, I'm looking at gb.qt4 code (I'm not a very good C++ programmer :-) ) and I saw that the gambas3 main window (MyMainWindow) has QWidget as parent class, but QMainWindow serves exactly to this. It's because gambas applications don't have full integration with other qt applications. For exampl