ENH: Internationalized Slicer

Added Internationalization setting panel to enable/disable this behavior.
Added language combo box into general setting panel if enabled.
Added function to load language when we start the application.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20514 3bd1e089-480b-0410-8dfb-8563597acbee
STYLE: Fix indentation in qSlicerTractographyFiducialSeedingModuleWidget

See #2162 / http://na-mic.org/Mantis/view.php?id=2162

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20515 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Fix memory leaks associated with tractographyFiducialSeeding using vtkNew

See http://na-mic.org/Mantis/view.php?id=2162

Fixes #2162

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20516 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Save Data dialog - Complete file name with extension if missing

When changing the filename of a scene/node in the Save Data Dialog,
the user is supposed to press Enter or Return. If the lineeditor doesn't
disappear it's because the name is invalid (due to the QRegExpValidator)
however, the user can always click on a different entry or press tab.
In that case, the entry is validated, even if the file name doesn't
contain an extension.
Before the filename is transfered from the line edit to the underlying
model, the extension is added if not there yet.

Closes #1817, #2277

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20517 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Improve readability using "while" without iterator when removing item from std::map

Based on feedback of Julien Finet :)

See #2262 / http://na-mic.org/Mantis/view.php?id=2262

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20518 3bd1e089-480b-0410-8dfb-8563597acbee
ENH 1778. Added Simple Display widget to Tractography Display module. Fixed other classes to make it possible to inherit model and tree view.


git-svn-id: http://svn.slicer.org/Slicer4/trunk@20519 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: NUMPY Requires a the use of fortran

Propogating compiler flags and compiler options for the
fortran compilers needed for NUMPY.

http://projects.scipy.org/numpy/ticket/182

NINJA compiler is excluded as it explicitly does not support fortran.

See http://na-mic.org/Mantis/view.php?id=2276

Fixes #2276

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20520 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: GPU memory setting failed from being restored

This is because ctkSettingsPanel couldn't support 2 properties registered
from the same sender

Issue #2270

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20521 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Update qMRML*TranslatorPlayerTests to account for updated spinbox translator/player

See http://paraview.org/gitweb?p=QtTesting.git;a=commit;h=24d549c48f6ec5c7a86a44e862a8c62ab0311d03

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20522 3bd1e089-480b-0410-8dfb-8563597acbee
STYLE: Remove unused CMake code, fix indent, use message(STATUS ...

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20523 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Building Numpy with Fortran is optional

If no Fortran compiler is found, it will result in a less optimized
Numpy build.
See http://www.cmake.org/cmake/help/v2.8.8/cmake.html#command:enable_language

See #2276 / http://na-mic.org/Mantis/view.php?id=2276

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20524 3bd1e089-480b-0410-8dfb-8563597acbee
STYLE: At configuration - Numpy Fortran compiler details are nicely displayed

Macro SlicerMacroCheckExternalProjectDependency has also been updated
to set the variables:
  __${proj}_indent
  __${proj}_superbuild_message

These variables can be used to print additional information associated with
an external project.

See #2276 / http://na-mic.org/Mantis/view.php?id=2276

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20525 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Avoid GET_FILENAME_COMPONENT error in CMakeFortranInformation.cmake

See http://www.cmake.org/Bug/view.php?id=9220#c18600

See #2276 / http://na-mic.org/Mantis/view.php?id=2276

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20526 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Simplify extension build system removing EXTENSION_HAS_ONLY_ONE_MODULE mode

Extension metadata are expected to be set using "EXTENSION_*" variables.

In case only the variable MODULE_NAME is defined, the metadata will also be
expected to be defined using EXTENSION_* variables.

This change is not backward compatible.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20527 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Prevent confusion - Do not set partially supported metadata in extension template

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20528 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Remove ModuleTemplate and use LoadableExtensionTemplate instead

See #2260 / http://na-mic.org/Bug/view.php?id=2260

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20529 3bd1e089-480b-0410-8dfb-8563597acbee
STYLE: Simplify header includes in "Annotation MRMLDisplayableManager"

See #2260 / http://na-mic.org/Bug/view.php?id=2260

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20530 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Add Documentation folder to loadable extension templates

See #2260 / http://na-mic.org/Bug/view.php?id=2260

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20531 3bd1e089-480b-0410-8dfb-8563597acbee
STYLE: For sake of consistency, specify module files using MODULE_NAME variables

See #2260 / http://na-mic.org/Bug/view.php?id=2260

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20532 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Add Widget library to LoadableExtensionTemplate

Fixes #2260 / http://na-mic.org/Bug/view.php?id=2260

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