建立一个MainWindows,取消创建Qt
1、添加菜单栏
#include
menuBar()->addMenu( "&File" ); menuBar()->addMenu( "&Edit" ); menuBar()->addMenu( "&View" ); menuBar()->addMenu( "&Simulate" ); menuBar()->addMenu( "&Help" );
2、添加底部状态栏
#include
statusBar()->showMessage("QSimulate has started");
--