0022565: [CEA 1145] Missing WT_NoteBook in python:

by default, "Note Book" dockable window is enable only in the GEOM and SMESH modules now.
This commit is contained in:
akl 2014-04-24 18:01:10 +04:00
parent 1dbd8cb223
commit 4546ee3970

View File

@ -1961,6 +1961,7 @@ void GeometryGUI::onWindowActivated( SUIT_ViewWindow* win )
void GeometryGUI::windows( QMap<int, int>& mappa ) const void GeometryGUI::windows( QMap<int, int>& mappa ) const
{ {
mappa.insert( SalomeApp_Application::WT_ObjectBrowser, Qt::LeftDockWidgetArea ); mappa.insert( SalomeApp_Application::WT_ObjectBrowser, Qt::LeftDockWidgetArea );
mappa.insert( SalomeApp_Application::WT_NoteBook, Qt::LeftDockWidgetArea );
mappa.insert( SalomeApp_Application::WT_PyConsole, Qt::BottomDockWidgetArea ); mappa.insert( SalomeApp_Application::WT_PyConsole, Qt::BottomDockWidgetArea );
if ( myCreationInfoWdg ) if ( myCreationInfoWdg )
mappa.insert( myCreationInfoWdg->getWinID(), Qt::LeftDockWidgetArea ); mappa.insert( myCreationInfoWdg->getWinID(), Qt::LeftDockWidgetArea );