Import 2017-06-07 23:51:09: master 6fac40e3

Author Committer Branch Timestamp Parent
jcfr jcfr master 2015-07-17 01:00:45 master 04c3069f
Changeset

BUG: Update CTK (include fix for memory leak in ctkDoubleSpinBox)

Among other changes, it include fixes and improvement for:
ctkColorPickerButton
ctkDoubleSpinBox
ctkVTKTextPropertyWidget
ctkXNAT

$ git shortlog 9e5af26..7bb708c --no-merges
Andreas Fetzer (45):
Initial commit
Removed unused function declaration
Added new class ctkXnatResourceFolder.
Adapted documentation. Currently the remove() function does not modify the object on the server
Added possibility to set a default file download path to ctkXnatSession. If the specified location does not exist its value will be set to the current working directory
Since some of the ctkXnatObject support retrieving a last modification time (e.g. project) this function should be virtual so that is can be overwritten by the according subclasses
Also check if path is empty
Continued refactoring of the upload functions:
Added convenience method for adding a resource to a xnatObject
Enhanced xnatTreeBrowser so that resource creation and file upload can be tested
Fixed build error and removed useless upload function from xnatTreeModel
Some minor fixes.
Added dirty flag to indicate whether a xnat object was modified
Don't update the modified flag after an object was saved on the server and the ID was set afterwards
cosmetic changes
If a file with the given name already exits on the server set the overwrite flag to true
Added rudimentary check whether the file upload was successful. Right now just the filesize is compared. Checksum would be better.
Setting correct filename for upload
Added file upload validation to saveImpl of ctkXnatFile
Fixed iteration over md5 results
Adapted add(child) function of ctkXnatObject
Added function for adding a new child node to ctkXnatTreeModel
Return resource folder after creation
Added overwrite flag for file upload
Use QXmlStreamReader instead of deprecated QXml module classes
Some Qt5 adaptions
Added tests for:
Cleaned up code
Fixed build error on Mac
Removed unused modified flag again
Further cleanup
Fixed possible invalid directory path
Improved check for valid directory path
Removed function calls that were made for testing reasons
Replaced for loop with iterators.
Only add folder if it not exists
Added refesh function to ctkXnatTreeModel
Fixed crash which might happen if the xnatObject is null
Added name and label getters to all XNAT folder objects
Synchronize deleted objects as well
Use iterator instead of foreach
Fixed query parameters for httpPut
Fixed build error on Mac OS X
Added include for QScopedPointer and QObject
Added include for QSharedPointer

Benjamin BENEY (3):
Add text size in ctkVTKTextPropertyWidget
Change icon for invalid color in ctkColorPickerButton
Fix ctkColorPickerButton build error

Jean-Christophe Fillion-Robin (1):
Fix memory leak associated with ctkDoubleSpinBox ensuring pimpl is deleted

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

mod - SuperBuild/External_CTK.cmake Diff File