This was actually very easy, I found the way by looking through the API reference. I post the answer here anyway for someone who may have the same question later on.
QString view_id = "org.mitk.views.datamanager"; this->GetSite()->GetPage()->ShowView(view_id); On Mon, Nov 2, 2015 at 12:05 PM, Admin Uniapp <contactuni...@gmail.com> wrote: > Hello, > > I've been searching the archive for the answer to my question but I can't > find any, so was hoping someone could help me. All I want to do is > lunch/start/add another view (either mitk default ones, or my custom made > plugins) programmatically from my activated view. > > I have some buttons that demonstrate a flow of steps to follow for the > user, so by clinking a button the appropriate plugin needs to be added to > the window. I was thinking maybe I should get the active perspective and > add the right plugin to it but not sure how this would be possible. > > Many thanks > Dora >
------------------------------------------------------------------------------
_______________________________________________ mitk-users mailing list mitk-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mitk-users