BUG: Add close button to "About dialog". Fixes #3172

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22426 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Update Editor extension template to use scripted module macro

Discussion: http://slicer-devel.65872.n3.nabble.com/Issues-with-Editor-effect-extension-td4029730.html

Fixes #3392

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22427 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Simplify editor extension template

This is a follow up of commit r22067 [1] where it should have been done
as described in r22063 [2].

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22428 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Set module name / objectName in GenericTests

In addition to be consistent with what is done in the "instantiateModule"
method of the "qSlicerAbstractModuleFactoryManager".

It also ensure that the "ModuleShareDirectory" set in the "logic" method
of the "qSlicerAbstractCoreModule" class is done using the expected
value for the module name.

This will allow generic tests instantiating module using
"GetModuleShareDirectory" method to get the correct value (i.e Reporting
module)

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22429 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Allow extension to easily use "SlicerMacroExtractRepositoryMacro"

As consequence the code within the Reporting will be simplified and
duplicated macro will be removed.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22430 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: add missing StartPlaceMode method

Laurent's extension was using the Annotation module logic
StartPlaceMode call and it wasn't working. Added it to
Markups logic and debugged it to work to set the mouse
mode to place Markup fiducials. Added a return boolean
to check success. Updated testing.



git-svn-id: http://svn.slicer.org/Slicer4/trunk@22431 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: finish steps for the Neurosurgical Planning Tutorial

Added the editor steps and label map seeding.
Added the screen capture functionality to the template file.

Issue #3328



git-svn-id: http://svn.slicer.org/Slicer4/trunk@22432 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: fix error on start up from SurfaceToolbox

Add in import string to fix start up error when 
trying to load the SurfaceToolbox scriptable module:

Traceback (most recent call last):
  File "/projects/birn/nicole/Slicer42/Slicer4-SuperBuild-Debug/Slicer-build/lib/Slicer-4.3/qt-scripted-modules/SurfaceToolbox.py", line 11, in __init__
    parent.helpText = string.Template("""
NameError: global name 'string' is not defined



git-svn-id: http://svn.slicer.org/Slicer4/trunk@22433 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Fix CTKConfig.cmake to properly set _{LIBRARY,INCLUDE}_DIRS variable

For example, within CTKConfig.cmake:

* Before this commit:

[...]
set(CTKVisualizationVTKCore_LIBRARY_DIRS "VTK_LIBRARY_DIRS;/path/to/VTK-build/bin")
[...]

set(CTKVisualizationVTKWidgets_INCLUDE_DIRS
  [...]
  "/path/to/CTK-build/Libs/Core;"
  "/path/to/CTK/Libs/Visualization/VTK/Core;
  "/path/to/CTK-build/CTK-build/Libs/Visualization/VTK/Core;"
  "VTK_INCLUDE_DIRS;"
  "/path/to/VTK-build;"
  "/path/to/VTK-build/Common;"
  [...]
  )

* After this commit:

[...]
set(CTKVisualizationVTKCore_LIBRARY_DIRS "/path/to/VTK-build/bin")
[...]

set(CTKVisualizationVTKWidgets_INCLUDE_DIRS
  [...]
  "/path/to/CTK-build/Libs/Core;"
  "/path/to/CTK/Libs/Visualization/VTK/Core;
  "/path/to/CTK-build/CTK-build/Libs/Visualization/VTK/Core;"
  "/path/to/VTK-build;"
  "/path/to/VTK-build/Common;"
  [...]
  )

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22434 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Fix EMSegment test "EMSeg_MRML_DiffReadWriteNodes"

Update EMSegment project to account for backward incompatible changes
made in r22310

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22435 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Fix Slicer crash on DTIVolume reload after scene is closed.

Handle the case when newVolumeDispalyNode is NULL in setMRMLVolumeNode().
Fixes #3380

From: Yuzheng Zhou <yuzheng.zhou@kitware.com>

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22436 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Temporary backup

Fixes #3349