ENH: improve MRB test with valid output and qt import

The test fails on image compare, which is correct because the images
do not match and the reload is not successful.  But the test is
taking place without letting the GUI update, which may explain the
incorrect layout.  Next update to test should include app.processEvents
to allow layout to fix.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20818 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: removed old Slicer3 node types that are not used in Slicer4

The Slicer3 plotting infrastructure has been replaced with a
new Charting infrastructure in Slicer4.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20819 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: issue 2420 - turn off editor effect when in Place mode

Track the state of the InteractionNode and respond accordingly.
Also set the state of the InteractionNode when the Editor
effect is actively using the mouse.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20820 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: issue 2108 provide a utility method to delete a hierarchy and all the nodes inthe hierarchy (also deleting manually added display nodes from the deleted displayable hierarchy nodes)

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20821 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: issue 2108 add test for deleting hierarchies

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20822 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: expand delete and rename to work on hierarchy nodes, issue 2108

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20823 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Remove assert in Volume Rendering settings panel

It's fine if the new memory can't be found in the list,
it just means the user manually typed a value

Closes #2359

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20824 3bd1e089-480b-0410-8dfb-8563597acbee
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