/*!Start application.*/
void LightApp_Application::start()
{
- if ( desktop() )
- desktop()->retrieveGeometry( resourceMgr()->stringValue( "desktop", "geometry", "(800%)x(800%) (+400%) (+400%) :(full)" ) );
-
CAM_Application::start();
updateWindows();
*/
void LightApp_Application::onNewDoc()
{
- SUIT_Study* study = activeStudy();
-
saveDockWindowsState();
CAM_Application::onNewDoc();
if ( aResMgr->value( "windows_visibility", *itr, arr ) )
myWinVis.insert( *itr, arr );
}
+
+ if ( desktop() )
+ desktop()->retrieveGeometry( aResMgr->stringValue( "desktop", "geometry" ) );
}
/*!
</section>
<section name="desktop" >
<!-- Default GUI desktop state, position, size -->
- <parameter name="geometry" value="(800%)x(800%) (+400%) (+400%) :(full)"/>
- <parameter name="state" value="normal"/>
- <parameter name="pos_x" value="center"/>
- <parameter name="pos_y" value="center"/>
- <parameter name="width" value="800"/>
- <parameter name="height" value="600"/>
+ <parameter name="geometry" value="80%x80%+10%+10%"/>
</section>
<section name="PyConsole">
<!-- Python console preferences -->
</section>
<section name="desktop" >
<!-- Default GUI desktop state, position, size -->
- <parameter name="state" value="normal"/>
- <parameter name="pos_x" value="center"/>
- <parameter name="pos_y" value="center"/>
- <parameter name="width" value="800"/>
- <parameter name="height" value="600"/>
- </section>
+ <parameter name="geometry" value="80%%x80%%+10%%+10%%"/>
+ </section>
<section name="ObjectBrowser" >
<!-- Object Browser preferences -->
<parameter name="auto_size" value="false" />