{
VisuGUI::initialize( theApp );
- // Add menus
- int aMenuId;
- aMenuId = createMenu( tr( "MEN_GAUSS" ), -1, -1, 30 );
+ // create actions and add menus
createAction( GAUSS_NEW_VIEWER, tr("MEN_GAUSS_NEW_VIEWER"), QIconSet(),
tr("MEN_GAUSS_NEW_VIEWER"), "", 0, this, false,
this, SLOT(onCreateViewManager()));
- createMenu( GAUSS_NEW_VIEWER, aMenuId, 10 );
-
createAction( GAUSS_CREATE_PRS, tr("MEN_GAUSS_CREATE_PRS"), QIconSet(),
tr("MEN_GAUSS_CREATE_PRS"), "", 0, this, false,
this, SLOT(OnCreateGaussPoints()));
+
+ int windowMenu = createMenu( tr( "MEN_DESK_WINDOW" ), -1, 100 );
+ int newWinMenu = createMenu( tr( "MEN_DESK_NEWWINDOW" ), windowMenu, -1, 0 );
+ int gaussMenu = createMenu( action( GAUSS_NEW_VIEWER ), newWinMenu, -1 );
+
+ int aMenuId = createMenu( tr( "MEN_GAUSS" ), -1, -1, 30 );
createMenu( GAUSS_CREATE_PRS, aMenuId, 10 );
}
-
//---------------------------------------------------------------
bool
VisuGUI_Module