if ( viewWin && desktop() )
viewWin->resize( (int)( desktop()->width() * 0.6 ), (int)( desktop()->height() * 0.6 ) );
- connect( viewMgr, SIGNAL( lastViewClosed( SUIT_ViewManager* ) ),
- this, SLOT( onCloseView( SUIT_ViewManager* ) ) );
-
return viewMgr;
}
}
}
+/*! redefined to connect */
+void LightApp_Application::addViewManager( SUIT_ViewManager* vm )
+{
+ connect( vm, SIGNAL( lastViewClosed( SUIT_ViewManager* ) ),
+ this, SLOT( onCloseView( SUIT_ViewManager* ) ) );
+ STD_Application::addViewManager( vm );
+}
+
/*! redefined to remove view manager from memory */
void LightApp_Application::removeViewManager( SUIT_ViewManager* vm )
{
void updateActions();
SUIT_ViewManager* getViewManager( const QString&, const bool );
+ virtual void addViewManager( SUIT_ViewManager* );
virtual void removeViewManager( SUIT_ViewManager* );
QWidget* getWindow( const int, const int = -1 );
QWidget* window( const int, const int = -1 ) const;