BUG: issue 2163, hierarchy node should throw a display modified event when it's display node is modified rather than a modified event

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20825 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: issue 2163 fix typo in test name

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20826 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: issue 1249 use the lazy update call on the scene model, it updates the tree after a scene is loaded (some color editors were missing if loaded the knee atlas scene while in the Models module and this seems to fix it)

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20827 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Adds Cut, Copy, and Paste into Edit menu

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

Fixes #1670

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20828 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: issue 1600 hide the selected checkbox and label in the models module

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20829 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: working on issue 2428, check return from poly data writer

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20830 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: add ctkDICOMDatabase holder to qSlicerCoreApplication per 2418

This allows the DICOM module to register it's configured instance
of the ctkDICOMDatabase so that other modules can make use of it.
The use case for this is for modules to insert new data in the
database and trigger updates in the GUI components of the module.

A more ideal solution would have been for the GUI to be responsive
to changes in the sqlite database itself so that modules could create
their own instances of ctkDICOMDatabase.  Unfortunately Qt's sqlite
driver does not pass on triggers via the notifications interface.

https://bugreports.qt-project.org/browse/QTBUG-10775

http://doc.qt.nokia.com/4.7-snapshot/qsqldriver.html#subscribeToNotification

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20831 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: #2418 - manage python and C++ access to the dicom database

It might be possible to remove slicer.dicomDatabase and change
all code to use slicer.app.dicomDatabase() as done in the branch
linked below.  However it's not clear how to manage reference counts.
When a ctkDICOMDatabase is instanced in python and then set in the
core application with setDICOMDatabase things are fine.  But calling
setDICOMDatabase(None) destroys the ctkDICOMDatabase even though
the PythonQt wrapper still exists.  Calling methods on the PythonQt
wrapper gracefully refuses to operate on a destroyed instance.  Until
this issue is cleared up, it's better for python to retain an instance
of the database and pass it down to the core application only when it
is known to be valid.

https://github.com/pieper/Slicer/tree/2418-dicomdb-in-core-app-remove-slicer.dicomDatabase

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20832 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: ensure that dicom tree matches changes in the database (#2418)

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20833 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Fix building with cmake version 2.8.9

The format caused a nesting and list with the extra quotes
that resulted in a parsing error where an extraneous ';'

-- verifying file...
     file='Slicer-git-itkv4/CTKAPPLAUNCHER-prefix/src/CTKAppLauncher-0.1.7-macosx-amd64.tar.gz'
-- verifying file... warning: did not verify file - no URL_MD5 checksum argument? corrupt file?
-- extracting...
     src='Slicer-git-itkv4/CTKAPPLAUNCHER-prefix/src/CTKAppLauncher-0.1.7-macosx-amd64.tar.gz'
     dst='Slicer-git-itkv4/CTKAPPLAUNCHER;'
-- extracting... [tar xfz]
CMake Error at CTKAPPLAUNCHER-prefix/src/CTKAPPLAUNCHER-stamp/extract-CTKAPPLAUNCHER.cmake:26 (execute_process):
  execute_process given unknown argument /../ex-CTKAPPLAUNCHER1239.

make[2]: *** [CTKAPPLAUNCHER-prefix/src/CTKAPPLAUNCHER-stamp/CTKAPPLAUNCHER-download] Error 1
make[1]: *** [CMakeFiles/CTKAPPLAUNCHER.dir/all] Error 2
make: *** [all] Error 2

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20834 3bd1e089-480b-0410-8dfb-8563597acbee
BUG:  The distutils package is needed in package

In order to install extra third party python tools
the distutils package is needed in the packaged bundled
versions of slicer.

This is the first step toward using pip as a natural
way to extend slicer with standard python capabilities.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20835 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Make sure Update command is disabled using CMake < 2.8.9

While commit r20834 allowed Slicer to be configured using CMake 2.8.9, it
also prevented the UPDATE_COMMAND from being disabled using version < 2.8.9.

This commit revert it and fix the issue by re setting LOG_UPDATE 1

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20836 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: #2422 - put mgh format volumes center in LPS for ITK

Add change suggested by Luke as discussed here:

http://na-mic.org/Bug/view.php?id=2422

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20837 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: fix for 2414 - support 3 or 4 component vector volumes

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20838 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: issue 1811, don't lock the name and visibility entries as they can me modified from elsewhere in the module when the annotation is locked

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20839 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: qMRMLNodeComboBox fires nodeAboutToBeEdited() signal

which is emitted by editCurrentNode()
Author: paulcm
Issue #1398

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

Major changes:

* importer no longer supports importing from DICOM: instead, DICOM module
  should be used for this purpose (via MultiVolumePlugin)
* charting has been fixed to use MV attributes instead of MV node for setting labels
* bug has been fixed in importer that caused crash on exit and added "ghost"
  MV node
* importing procedure has been updated, leading to reduce load time for MVs
  imported from non-DICOM data

See full commit history here:

https://github.com/fedorov/MultiVolumeImporter
https://github.com/fedorov/MultiVolumeExplorer




git-svn-id: http://svn.slicer.org/Slicer4/trunk@20841 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: issue 1951 the module description parser allows the string any rather than all to use subclasses of the scalar volume node

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20842 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Fix bundling of CLI within extension.

Closes #2373

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20843 3bd1e089-480b-0410-8dfb-8563597acbee
STYLE: Remove unused and commented CMake code from SlicerExtensionCPack

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