RiverWare Qt4 Port Completion >>
RiverWare / Qt3 Compatibility Widget Porting Guide
RiverWare / Porting Q3MainWindow to Qt4 QMainWindow
January 20, 2010 -- Phil
QMenuBar
For Qt4's QMainWindow, we are not supposed to instantiate our own QMenuBar. Doing so results in geometry problems: the menubar obscures the top of the widget content of the window, and it doesn't span the full window width. Instead, we need to retrieve the QMenuBar from the QMainWindow.
OLD: _menuBar = new QMenuBar (this, "_menuBar");
NEW: _menuBar = menuBar(); // QMainWindow
QToolBar
Any issues?
---