Changesets: Import 2017-06-07 23:51:09

master ab852d4e

2015-05-14 15:41:20

pieper

Details Diff
BUG: switching merge volumes was broken

Issue:
* enter editor, create label map
* pick Set... and the then create new
* Bug: old label map still displayed
* pick Set... and select label map (MRHead-lable_1)
* Bug: old label map still displayed

This commit fixes both issues.

From: Steve Pieper <pieper@bwh.harvard.edu>

git-svn-id: http://svn.slicer.org/Slicer4/trunk@24254 3bd1e089-480b-0410-8dfb-8563597acbee
mod - Modules/Scripted/EditorLib/HelperBox.py Diff File

master e51876b3

2015-05-14 15:41:18

pieper

Details Diff
BUG: fix variable name typo

This had no known side effects but was obviously incorrect.

Thanks Andrey for pointing it out!

From: Steve Pieper <pieper@bwh.harvard.edu>

git-svn-id: http://svn.slicer.org/Slicer4/trunk@24253 3bd1e089-480b-0410-8dfb-8563597acbee
mod - Modules/Scripted/EditorLib/HelperBox.py Diff File

master bb27f702

2015-05-13 14:41:46

jcfr

Details Diff
COMP: Update BRAINSTools - fix configure warning with Slicer SVN source tree

On the factory, Slicer is checked out using SVN. Since in that case there
are no ".git" directory in the source tree, the configuration was failing
with the following warning:

// --------------------------
CMake Warning at /Users/kitware/Dashboards/Continuous/Slicer-0-build/BRAINSTools/CMake/ProjectSourceVersion.cmake:56 (message):
git tag: "HEAD-HASH-NOTFOUND" does not match expected version format!
Call Stack (most recent call first):
/Users/kitware/Dashboards/Continuous/Slicer-0-build/BRAINSTools/Version.cmake:10 (include)
/Users/kitware/Dashboards/Continuous/Slicer-0-build/BRAINSTools/BRAINSTools.cmake:14 (include)
/Users/kitware/Dashboards/Continuous/Slicer-0-build/BRAINSTools/CMakeLists.txt:68 (include)
// --------------------------

This commit fixes the described above. Finally, to fix a following error
related to extraction of tag information. The tag v4.3.0 has also been
pushed on the Slicer/BRAINSTools fork.

// --------------------------
Author: Jean-Christophe Fillion-Robin <jchris.fillionr@kitware.com>
Date: Wed May 13 14:28:25 2015 -0400

COMP: GetGitRevisionDescription: Fix issue referencing project source

In the case BRAINSTools is integrated using "add_subdirectory(source_dir
[binary_dir])" [1] (this is the case in Slicer), the variable
CMAKE_SOURCE_DIR [2] where resolving to Slice source tree instead of
BRAINSTools one.

This commit fixes the module by consistently using PROJECT_SOURCE_DIR [3]
and PROJECT_BINARY_DIR [4] variable.

[1] http://www.cmake.org/cmake/help/v3.2/command/add_subdirectory.html
[2] http://www.cmake.org/cmake/help/v3.2/variable/CMAKE_SOURCE_DIR.html
[3] http://www.cmake.org/cmake/help/v3.2/variable/PROJECT_SOURCE_DIR.html
[4] http://www.cmake.org/cmake/help/v3.2/variable/PROJECT_BINARY_DIR.html
// --------------------------

git-svn-id: http://svn.slicer.org/Slicer4/trunk@24252 3bd1e089-480b-0410-8dfb-8563597acbee
mod - SuperBuild.cmake Diff File

master e4e89922

2015-05-13 11:27:31

naucoin

Details Diff
BUG: update fiducial layout test to check RAS

The former version of this test was set to always pass
since there was still a > 1 pixel difference in starting
and ending fiducial display coordinates. Brainstorming
on the slicer dev hangout brought up the possibility
that since the fiducial RAS position was still correct,
the layout switching might have included some FOV adjustments
to fit the volume to the slice widget. This change will
go on to check the fiducial RAS position against the
volume RAS position if the display positions don't match.

Update the layout switching test to:
- fail on the dashboard if it fails
- show all output for debugging
- check both display coordinates and RAS coordinates
- only fail if both are out of tolerance
- remove the redundant delayDisplay methods and use the slicer.util
version with a shorter time out to speed up the test run time

Issue 0001914

git-svn-id: http://svn.slicer.org/Slicer4/trunk@24251 3bd1e089-480b-0410-8dfb-8563597acbee
mod - Applications/SlicerApp/Testing/Python/FiducialLayoutSwitchBug1914.py Diff File

master 2501290f

2015-05-13 09:22:32

lassoan

Details Diff
ENH: Made default startup and favorite module configurable

When building custom applications based on Slicer it is often required to change the default startup module (Welcome) and favorite modules (on toolbar). Made these settings configurable from CMake, without requiring patching of source files.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@24250 3bd1e089-480b-0410-8dfb-8563597acbee
mod - Base/QTGUI/qSlicerSettingsModulesPanel.cxx Diff File
mod - CMake/vtkSlicerConfigure.h.in Diff File
mod - CMakeLists.txt Diff File

master a1134755

2015-05-13 04:20:45

jcfr

Details Diff
ENH: Update BRAINSTools to include DWIConvert bug fixes

BRAINSTools DWIConvert module has been updated
to address a problem identified the BWH team regarding
images being loaded up-side-down.

In addition, some types of nifti/nrrd conversions could result
in improper orientation of the images. A comprehensive bug fix
was implemented to refactor the fragile old code into a consistent
paradigm for managing image directions.

$ git shortlog 73a6e2d..980803c --no-merges
Alexander Leinoff (2):
DOC: Changes README file extension to .md
DOC: Adds intructions for OS X users to install xcode command line tools.

Ali Ghayoor (40):
ENH: Add new gtractResampleDWIInPlace tests for image meta data
ENH: Fix a bug in nrrd file header changes by gtractResampleDWIInPlace
BUG: BRAINSResample should have a default value for warpTransform
ENH: Add new gtractResampleDWIInPlace tests for image meta data
ENH: Fix a bug in nrrd file header changes by gtractResampleDWIInPlace
ENH: Add DWIWorkflow python file to AutoWorkup directory
ENH: Separate Cache dir from result dir in DWI pipline
ENH: add CorrectedDWI to dataSink of DWI pipeline
ENH: Add a python script to compute IPD
ENH: Improve DWIWorkflow with better registrtion
ENH: Write output transforms of BFit and BABCD in float
ENH: AutoWorkup runs antsRegistration and BRINSFit in float mode
ENH: Add a set of workflows for DWI data processing
ENH: Add recordLength to UKF traits
BUG: Fixed a bug in DWI measurement workflow
BUG: Avoid dtiprocess to stop nipype processing
BUG: Fix dtiestim cmdline parameters
ENH: freeSurfer extended labels config file is update with new label
ENH: Add MultiProc plugin to DWI pipeline
ENH: Add overwrite to DataSink of DWI pipeline
ENH: Run UKFTractography in a separate workflow
ENH: Use cubic BSpline interpolation for RIS
ENH: Add RIS computations from non compressed sensing DWI image
ENH: giving proper names to the dataSink outputs
ENH: Used FloatAlmostEqual for image info comaprison
ENH: Use vnl_vector/matrix.isequal to compare images information
ENH: Add comparison of the voxel values to DWICompare
Revert "BUG: Refactoring introduced direction swap error."
BUG: Fixed DWIConverter based on last changes to itkDCMTKFileReader
BUG: A hack solution for FslToNrrd test failure
ENH: Use vtp extension for output of UKFTractograhy
ENH: Add correction option to dtiprocess in estimationWF
ENH: Add correction option to SEMTools for dtiprocess and dtiestim
BUG: Enhance the non-negative preserving resampling
ENH: Fixed, enhanced and tested DWIMetaDataDictionaryValidator
BUG: Fixed FSLToNrrd converter
BUG: Fixed DeleteGradientTable bug in DWIMetaDataValidator
ENH: Update gtractResampleDWIInPlace using MetaDataDictionaryValidator
ENH: Provided build consistency with c++03
BUG: changing codes that were only compatible with c++11

Dave Welch (6):
WIP: adding a cross validation workflow for ANTs JointFusion() TODO: Test workflow (how?) Run and validate workflow outputs
STYLE: Added Ubuntu build directions for 14.04
STYLE: Fixed README.md formatting
STYLE: Added missing 3rd step to Ubuntu build
ENH: Python variables pass correctly to external projects
ENH: Python variables pass correctly to external projects

David Ellis (7):
COMP: Fixes compilation warning
BUG: Updates vtkImageGenus0MarchingCubes to the new vtk pipeline format.
BUG: Fixes bug causing the filter to abort.
BUG: Fixes GenusZeroImageFilter failure to output vtk file.
BUG: Fixes issues with the GenusZeroImageFilter tests
BUG: Fixes the failing tests for BRAINSAssignSurfaceFeatures
BUG: Fixes the COMPARE_SurfaceLabelCleanup test

Hans J. Johnson (30):
BUG: The program and python paths should be part of input args
BUG: add T2 and labelMap paths to input args of DWI pipeline
ENH: Added UKF Tractography to end of pipeline.
ENH: First pass at adding version control
ENH: Update many packages to be in sync with NEP
ENH: Improve mask processing for PREDICT-HD to include better FSWM defintions.
ENH: Syncronized Artichoke with Slicer updates (name change).
BUG: Fixed bugs in the BRAINSABC test suite
DOC: Improve documentation for error condidtions.
ENH: Update to syncronize with recent Artichoke commit fixes.
ENH: Updated to latest SVN version of teem.
COMP: Match cmake policy options of slicer.
ENH: Update support packages in preparation for UKF updates
BUG: Fixed tag for ANTS
BUG: Testing of images needs to verify all data
BUG: Refactoring introduced direction swap error.
ENH: Fixed automatic versioning
ENH: Added consistent tagging for xml's
BUG: Consistently use git tag for version
BUG: Automatic versioning based on git
BUG: Update itkDCMTKFileReader code
BUG: Backwards compatible with older ITK versions
COMP: Temporarily remove BRAINSCut, Need OpenCV 3.0
ENH: Syncronize with Slicer and NAMICExternalProjects.
ENH: Add utility class for managing DWI MetaData
ENH: Added mailmap
ENH: Second mailmap improvement.
ENH: Syncronized with NEP.
BUG: Incorrect initialiation
COMP: Syncronize with NEP configurations.

Jon Pipitone (1):
Updated README with some markdown formatting fixes

Regina Kim (11):
ENH: Add FreeSurfer Lobar Pacellation Mapping
ENH: Lobar Label fix
ENH: Add BRAINSCut README file to support usage
Update README.md
Update README.md
Update README.md
Update README.md
Update README.md
Update README.md
Update README.md
ENH: name change from sample to training set

From: Hans Johnson <hans-johnson@uiowa.edu>

git-svn-id: http://svn.slicer.org/Slicer4/trunk@24249 3bd1e089-480b-0410-8dfb-8563597acbee
mod - SuperBuild.cmake Diff File

master efa75968

2015-05-13 03:36:40

jcfr

Details Diff
ENH: Add self test DTINotReproducibleIssue3977. See issue 0003977

This test has been added to check that successive
run of the "DWI to DTI estimation" CLI module returns the same output.

Problem has been documented in issue 0003977. Commit r24240 fixes the problem
by updating vtkTeemEstimateDiffusionTensor class.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@24248 3bd1e089-480b-0410-8dfb-8563597acbee
mod - Applications/SlicerApp/Testing/Python/CMakeLists.txt Diff File
add - Applications/SlicerApp/Testing/Python/DTINotReproducibleIssue3977.py Diff File

master 42da9f31

2015-05-12 22:56:49

jcfr

Details Diff
ENH: Update SimpleITK to v0.9.0

$ git shortlog 0bbbd33..4531702 --no-merges
Bradley Lowekamp (22):
Keep updating on the ITK release tail
Propagate CMAKE_MAKE_PROGRAM to superbuild probjects
Add https as back up URL for midas test data downloads
Update examples to use new transform specific interface
Update ITK along release branch
Updating json Doxygen fields from ITK XML doxygen
Updating json with the python beautify script.
BUG: Fix MaskImageFilters's output value for vector images
Add Mask test with RGB images
Include gz extension in ITK Tag file URL
Add ToPixelType utility methods
Updating along ITK release branch
Improve SetInitialMovingTransform documentation.
Add explicit keyword to single argument transform constructors.
Add brief comment and ITK doxygen link to transform classes.
BUG: Uses template parameter for input scalar in ToPixelType
Minor tweaks and corrections to transform documentation.
Address uninitialized anonymous variable warning.
DOC: Adding brief and ITK links to ImageRegistrationMethod
run doxyall.py to generate SWIG .i docstring file.
Fix brief Doxygen command typeo
Updating R version

Ziv Yaniv (2):
Updating transform usage to new (transform specific) style.
Updating conventions.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@24247 3bd1e089-480b-0410-8dfb-8563597acbee
mod - SuperBuild/External_SimpleITK.cmake Diff File

master 11ac63d6

2015-05-12 22:56:47

jcfr

Details Diff
ENH: Update ITK to v4.7.2

$ git shortlog 9c9b310..38398fb --no-merges
Arnaud Gelas (3):
COMP: fix warning with non default template parameter for OutputImage
COMP: fix warning with non default template parameter for OutputImage
BUG: fix BinaryImageToLabelMapFilter with negative OutputBackgroundValue

Bill Lorensen (1):
COMP: Only require the minimal VTK modules

Bradley Lowekamp (5):
BUG: Enable VectorImage to work with the ImageSeriesWriter
BUG: Move LBFGSB callback helper to parent
BUG: Update AmoebaOptimizer NumberOfIterations
BUG: Use base's NumberOfIterations for stopping condition
BUG: Correct convergence string check

Gaƫtan Lehmann (1):
BUG: fix runtime information for cross correlation filters

Hans Johnson (1):
COMP: VTK and ITK H5 build program collision

Jean-Christophe Fillion-Robin (1):
Ensure ITKDeprecated is always excluded from the default module list.

Jon Haitz Legarreta (1):
ENH: Increase code coverage for itkCustomColormapFunction

Marius Staring (2):
BUG: workaround for 64bit VS2013 Release segfaults
COMP: workaround for 64bit VS2013 Release ICE

Matthew McCormick (15):
COMP: Fix wrapping runtime warning on unknown itk::Matrix.
COMP: Add missing types for MeshTraits wrapping.
COMP: Do not wrap the Container types for CellInterface * types.
COMP: Add wrapping for CellTraitsInfo.
COMP: Wrap missing Mesh templates.
ENH: Add wrapping for ITKImageNoise module.
BUG: Export ITK_FFTW_INCLUDE_PATH as CMake path.
COMP: Fix LevelSetsv4 tests with libc++.
BUG: Set ITK_BUILD_SHARED in ITKConfig.cmake on Windows.
COMP: Address quoted MSVC variable in GDCM.
COMP: Remove duplicate InternalLabelType typedef.
BUG: Link to VTK 6 rendering backend modules.
BUG: Add VTK modules for annotation rendering.
BUG: Link vtkRenderingFreeType in the VTK modules.
ENH: Bump release branch version to 4.7.2.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@24246 3bd1e089-480b-0410-8dfb-8563597acbee
mod - SuperBuild/External_ITKv4.cmake Diff File

master 83fab746

2015-05-12 19:05:59

lassoan

Details Diff
BUG: Fixed transform setting failure

When trying to set a transform that is shown in the Transforms module GUI and the new value has a component that is outside the current slider min/max range then the min/max range is updated but the transform value is not updated. The problem is that the unit module resets the value of a transform even if only the min/max range is set (it supposed to only do that if the precision is changed).

Added a check to prevent resetting of the transform value if precision is not changed.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@24245 3bd1e089-480b-0410-8dfb-8563597acbee
mod - Libs/MRML/Widgets/qMRMLSliderWidget.cxx Diff File

master 34f0a405

2015-05-12 19:01:27

lassoan

Details Diff
BUG: Fixed crash when currently shown linear transform is set

Crash happened when currently shown linear transform was set to a value that has a component that is higher than current threshold.

How to reproduce:
* Go to Transforms module
* Create a linear transform
* Set a translation component to 500 => crash!

t=slicer.util.getNode('LinearTransform_3')
m=vtk.vtkMatrix4x4()
m.SetElement(0,3,500)
t.SetMatrixTransformToParent(m)


git-svn-id: http://svn.slicer.org/Slicer4/trunk@24244 3bd1e089-480b-0410-8dfb-8563597acbee
mod - Libs/MRML/Core/vtkMRMLNode.h Diff File

master b4837343

2015-05-12 16:06:45

pinter

Details Diff
BUG: Fix python errors when examining empty file lists

sort() calls in function isFileListInCheckedLoadables caused errors in case the file lists were empty. Not sure in exactly what scenario it occurs, but there is definitely no need for the further search if the file lists are empty.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@24243 3bd1e089-480b-0410-8dfb-8563597acbee
mod - Modules/Scripted/DICOMLib/DICOMWidgets.py Diff File

master be13ced9

2015-05-12 10:44:12

jcfr

Details Diff
BUG: Update SimpleFilters to fix failing py_SimpleFiltersModuleTest

$ git shortlog 625d941..73add6b --no-merges
Jean-Christophe Fillion-Robin (2):
Prevent already destroyed widget exception occurring on Slicer exit
Remove broken 'STAPLEImageFilter'

git-svn-id: http://svn.slicer.org/Slicer4/trunk@24242 3bd1e089-480b-0410-8dfb-8563597acbee
mod - SuperBuild.cmake Diff File

master 4b868a14

2015-05-12 02:04:19

jcfr

Details Diff
BUG: Do not reset slice node "layout color" and "layout label". Fixes 0001770

Since layout color and layout label are both associated with layout name,
this commit ensures their values is not reset so that slice widgets are
properly updated after closing the scene.

This will ensure that:

* ViewControllers widgets are not displayed in gray (default slice view
color) if the scene is closed before opening the module.

* LayoutLabel for Slice, ThreeD views is not cleared after closing the
scene.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@24241 3bd1e089-480b-0410-8dfb-8563597acbee
mod - Libs/MRML/Core/vtkMRMLAbstractViewNode.cxx Diff File
mod - Libs/MRML/Core/vtkMRMLAbstractViewNode.h Diff File
mod - Libs/MRML/Core/vtkMRMLSliceNode.cxx Diff File
mod - Libs/MRML/Core/vtkMRMLSliceNode.h Diff File

master d6a6309d

2015-05-11 23:37:03

jcfr

Details Diff
BUG: Resolve multithread issue that caused errors with multiple b values.

Fixes 0003977

See http://www.na-mic.org/Bug/view.php?id=3977

From: Lauren J. O'Donnell <odonnell@bwh.harvard.edu>

git-svn-id: http://svn.slicer.org/Slicer4/trunk@24240 3bd1e089-480b-0410-8dfb-8563597acbee
mod - Libs/vtkTeem/vtkTeemEstimateDiffusionTensor.cxx Diff File
mod - Libs/vtkTeem/vtkTeemEstimateDiffusionTensor.h Diff File

master c0e87da7

2015-05-11 19:06:50

jcfr

Details Diff
BUG: Ensure scripted module are deleted when exiting Slicer

Similarly to what was done in r24230 (ENH: Ensure slicer.(modules|moduleNames)
is updated when a module is unloaded), this commit also ensures that
"slicer.selfTests" dictionary is updated when a module is unloaded.

This change has been tested by adding a print statement in the "__del__"
function of both the script module and module widget python class for the
DataProbe, Editor and Endoscopy module.

After this change, it could only confirm that the "__del__" function for
the module class was called for all three modules. More work is required
to also ensure the scripted module widget class is deleted.

Instead of explicitly updating the selfTests dict, an other possible
approach would be to use a WeakValueDictionary [1]

[1] https://docs.python.org/2/library/weakref.html#weakref.WeakValueDictionary

git-svn-id: http://svn.slicer.org/Slicer4/trunk@24239 3bd1e089-480b-0410-8dfb-8563597acbee
mod - Base/Python/slicer/slicerqt.py Diff File

master 6704e0e2

2015-05-11 19:06:48

jcfr

Details Diff
BUG: Fix SliceViewAnnotations AttributeError happening on closing Slicer

This commit fixes the following error introducing a weak pointer to keep
track of the layout manager.

8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----
File "/home/jcfr/Projects/Slicer-Debug/Slicer-build/lib/Slicer-4.4/qt-scripted-modules/DataProbeLib/SliceViewAnnotations.py", line 628, in updateCornerAnnotations
sliceViewNames = slicer.app.layoutManager().sliceViewNames()
AttributeError: 'NoneType' object has no attribute 'sliceViewNames'
8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----

git-svn-id: http://svn.slicer.org/Slicer4/trunk@24238 3bd1e089-480b-0410-8dfb-8563597acbee
mod - Base/QTGUI/qSlicerApplication.cxx Diff File
mod - Modules/Scripted/DataProbe/DataProbeLib/SliceViewAnnotations.py Diff File

master 642ad175

2015-05-11 19:06:47

jcfr

Details Diff
STYLE: Simplify SliceViewAnnotations using VTKObservationMixin

Also removes unused ivars "blNodeObserverTag" and "sliceLogicObserverTag"

git-svn-id: http://svn.slicer.org/Slicer4/trunk@24237 3bd1e089-480b-0410-8dfb-8563597acbee
mod - Modules/Scripted/DataProbe/DataProbeLib/SliceViewAnnotations.py Diff File

master c5a441c7

2015-05-11 19:06:45

jcfr

Details Diff
BUG: Fix potential leaks in qSlicerPythonCppAPI using PythonQtObjectPtr

This commit introduces PythonQtObjectPtr to manage PythonSelf
and PythonAPIMethods references.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@24236 3bd1e089-480b-0410-8dfb-8563597acbee
mod - Base/QTCore/qSlicerScriptedUtils.cxx Diff File
mod - Base/QTCore/qSlicerScriptedUtils_p.h Diff File

master 8aab240f

2015-05-11 19:06:43

jcfr

Details Diff
BUG: Fix leaks in qSlicerScriptedLoadableModule[Widget]::setPythonSource()

Since PyDict_New() and PyObject_GetAttrString() return a new reference,
this commit now ensures the reference count is decremented when getting
out of scope.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@24235 3bd1e089-480b-0410-8dfb-8563597acbee
mod - Base/QTCore/qSlicerScriptedFileWriter.cxx Diff File
mod - Base/QTGUI/qSlicerScriptedFileDialog.cxx Diff File
mod - Base/QTGUI/qSlicerScriptedLoadableModule.cxx Diff File
mod - Base/QTGUI/qSlicerScriptedLoadableModuleWidget.cxx Diff File

master f6f5aa69

2015-05-11 19:06:41

jcfr

Details Diff
STYLE: Facilitate debugging associating ObjectName with qSlicerPythonCppAPI

This commit improves error message by displaying the name of the object
that instantiated the qSlicerPythonCppAPI.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@24234 3bd1e089-480b-0410-8dfb-8563597acbee
mod - Base/QTCore/qSlicerScriptedFileWriter.cxx Diff File
mod - Base/QTCore/qSlicerScriptedUtils.cxx Diff File
mod - Base/QTCore/qSlicerScriptedUtils_p.h Diff File
mod - Base/QTGUI/qSlicerScriptedFileDialog.cxx Diff File
mod - Base/QTGUI/qSlicerScriptedLoadableModule.cxx Diff File
mod - Base/QTGUI/qSlicerScriptedLoadableModuleWidget.cxx Diff File

master 674df3d0

2015-05-10 22:51:45

jcfr

Details Diff
ENH: Refactor scripted module classes to use setModuleAttribute()

git-svn-id: http://svn.slicer.org/Slicer4/trunk@24233 3bd1e089-480b-0410-8dfb-8563597acbee
mod - Base/QTGUI/qSlicerScriptedLoadableModule.cxx Diff File
mod - Base/QTGUI/qSlicerScriptedLoadableModuleWidget.cxx Diff File

master db38be8c

2015-05-10 22:51:43

jcfr

Details Diff
ENH: Refactor addVTKObjectToPythonMain to use setModuleAttribute()

git-svn-id: http://svn.slicer.org/Slicer4/trunk@24232 3bd1e089-480b-0410-8dfb-8563597acbee
mod - Base/QTCore/qSlicerCorePythonManager.cxx Diff File

master e31f1490

2015-05-10 22:51:41

jcfr

Details Diff
ENH: Introduce qSlicerScriptedUtils::setModuleAttribute()

git-svn-id: http://svn.slicer.org/Slicer4/trunk@24231 3bd1e089-480b-0410-8dfb-8563597acbee
mod - Base/QTCore/Testing/Cxx/CMakeLists.txt Diff File
add - Base/QTCore/Testing/Cxx/qSlicerScriptedUtilsTest1.cxx Diff File
mod - Base/QTCore/qSlicerScriptedUtils.cxx Diff File
mod - Base/QTCore/qSlicerScriptedUtils_p.h Diff File

master 8dbcdc6d

2015-05-10 22:51:38

jcfr

Details Diff
ENH: Ensure slicer.(modules|moduleNames) is updated when a module is unloaded

Explicit call to "unloadModules()" in qSlicerCoreApplicationPrivate
destructor ensures the signal "moduleAboutToBeUnloaded()" is invoked.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@24230 3bd1e089-480b-0410-8dfb-8563597acbee
mod - Base/Python/slicer/slicerqt.py Diff File
mod - Base/QTCore/qSlicerCoreApplication.cxx Diff File
 First  Prev  1 2 3 ... 10 ... 20 ... 30 ... 40 ... 50 ... 60 ... 70 71 72 73 74 75 76 ... 80 ... 90 ... 100 ... 110 ... 120 ... 130 ... 133 134 135  Next  Last