{"action":"created","issue":{"url":"https://api.github.com/repos/commontk/CTK/issues/587","labels_url":"https://api.github.com/repos/commontk/CTK/issues/587/labels{/name}","comments_url":"https://api.github.com/repos/commontk/CTK/issues/587/comments","events_url":"https://api.github.com/repos/commontk/CTK/issues/587/events","html_url":"https://github.com/commontk/CTK/pull/587","id":101100223,"number":587,"title":"ENH: add ability to delete individual series, studies, patients","user":{"login":"naucoin","id":289054,"avatar_url":"https://avatars.githubusercontent.com/u/289054?v=3","gravatar_id":"","url":"https://api.github.com/users/naucoin","html_url":"https://github.com/naucoin","followers_url":"https://api.github.com/users/naucoin/followers","following_url":"https://api.github.com/users/naucoin/following{/other_user}","gists_url":"https://api.github.com/users/naucoin/gists{/gist_id}","starred_url":"https://api.github.com/users/naucoin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/naucoin/subscriptions","organizations_url":"https://api.github.com/users/naucoin/orgs","repos_url":"https://api.github.com/users/naucoin/repos","events_url":"https://api.github.com/users/naucoin/events{/privacy}","received_events_url":"https://api.github.com/users/naucoin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":25,"created_at":"2015-08-14T20:46:08Z","updated_at":"2015-08-31T13:03:58Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/commontk/CTK/pulls/587","html_url":"https://github.com/commontk/CTK/pull/587","diff_url":"https://github.com/commontk/CTK/pull/587.diff","patch_url":"https://github.com/commontk/CTK/pull/587.patch"},"body":"Add to the browser Remove button the information that it will\r\ndelete all selected series, studies, patients.\r\n\r\nAdd support for right click custom context menus in the\r\npatient, study, series tables. Translate the local points\r\nto global ones in terms of the table view and signal\r\nright clicked with the global position so that the browser\r\ncan position the context menu appropriately.\r\n\r\nAdd the context menu to the DICOM browser to allow\r\ndeleting at just one level, with selection information.\r\nUsing the UIDs for now, but since they're not shown in\r\nthe tables, it can be changed.\r\n\r\nAdded a test for the DICOM browser, with the ability\r\nto open it in interactive mode to test the right clicks.\r\n\r\nSlicer bug:\r\nhttp://www.na-mic.org/Bug/view.php?id=3792\r\n\r\nWhen Slicer makes a custom DICOM browser, it moves the table views\r\ndirectly into the new window, extracting them from the DICOM\r\ntable.\r\nWith this change, the table view takes care of mapping the point to\r\nglobal, the table manager propagates the signal as a table specific\r\nXRightClicked signal, and the browser responds to it with a table\r\nspecific context menu.\r\n\r\nSlicer Issue #3792"},"comment":{"url":"https://api.github.com/repos/commontk/CTK/issues/comments/136364820","html_url":"https://github.com/commontk/CTK/pull/587#issuecomment-136364820","issue_url":"https://api.github.com/repos/commontk/CTK/issues/587","id":136364820,"user":{"login":"fedorov","id":313942,"avatar_url":"https://avatars.githubusercontent.com/u/313942?v=3","gravatar_id":"","url":"https://api.github.com/users/fedorov","html_url":"https://github.com/fedorov","followers_url":"https://api.github.com/users/fedorov/followers","following_url":"https://api.github.com/users/fedorov/following{/other_user}","gists_url":"https://api.github.com/users/fedorov/gists{/gist_id}","starred_url":"https://api.github.com/users/fedorov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fedorov/subscriptions","organizations_url":"https://api.github.com/users/fedorov/orgs","repos_url":"https://api.github.com/users/fedorov/repos","events_url":"https://api.github.com/users/fedorov/events{/privacy}","received_events_url":"https://api.github.com/users/fedorov/received_events","type":"User","site_admin":false},"created_at":"2015-08-31T13:03:58Z","updated_at":"2015-08-31T13:03:58Z","body":"@naucoin can you also add the capability to export selected stuff? So the idea would be to add \"Export to file system\" option to popup, and when clicked, show Directory open dialog, and when selected, just copy the files from their current location to the user specified location. While doing this, we can also create a user-readable patient/study/series hierarchy of the directories for the exported stuff.\r\n\r\nI thought this is a very similar feature to be added in the same PR, or feel free to create a new PR."}}