Page MenuHomePhabricator

Warnings/errors when opening specific perspectives
Closed, ResolvedPublic

Description

C) Warnings/errors when opening specific perspectives

C1) Open IVIM Perspective

QLayout: Attempting to add QLayout "" to QWidget "m_VisualizeResultsWidget", which already has a layout

C2) Open TBSS Perspective

WARNING: Trying to create an executable extension from a non-CTK plug-in. Use CreateExecutableExtension<C>(...) method instead.

C3) Open Connectomics Perspective

WARNING: Trying to create an executable extension from a non-CTK plug-in. Use CreateExecutableExtension<C>(...) method instead.

C4) Open Screenshots Movies Perspective

No such slot QmitkScreenshotMaker::BlockControls()
No such slot QmitkScreenshotMaker::UnBlockControls()
No such slot QmitkScreenshotMaker::UnBlockControlsMovieDeactivate()

Event Timeline

The cause of the problems described in (C4) are missing slots. Since de/activating is not relevant for a ScreenShot Maker, also the signals and the connections will be removed. Peter is now creating a new design for the ScreenshotMaker, it will be fixed there to avoid merge-conflicts.

(C2) and (C3) occur because both TBSS and Connectomics are MBI-Plugins. The nice solution is to make both of them CTK-conform plugins. The faster is to deactivate the Berry Warning thrown.

The application outputs an error message

ERROR: File does not exist, or cannot be read. Filename =
[7.990] Could not open file!

when opening any of the views throuhg the WelcomeScreen. This happens because of QmitkDiffusionImagingAppIntroPart.cpp is trying to open a file when a perspective is activated (it is a code reminder from AtlasApp ). I have removed the code (see the remote topic branch)

Klaus, could you please check whether there are more code lines which are not needed by the DI-App?

Has been merged into the release, probably should be merged into the master as well, removing the block

[6c8bfa]: Merge branch 'bug-9815-DIApp-Intro-Warnings'

Merged commits:

2011-10-20 16:02:56 Jan Hering [750b8b]
Removed automatic data loading for DIAppIntroPart

  • this was a functionality needed by the Atlas-App, since the activation

of a perspective automatically invoked the loading of a corresponding
fiber data.

Relevant changes merged into master. Closing bug.