Hi all,
I added 2 features in our version of MITK and I wanted to know your opinion.
*Actions in the Data Manager*
Check image [1]. I wanted some of the contextMenuAction to be visible in
the DM, with the following options:
- Always visible or only on hover?
- Only in context menu, or in DM or both?
- Icon position with an idx system.
Of course I used the existing contextMenuAction class because my new
version would have been almost identical. I don't feel it's too much of
a hack but, yes, it's an abuse of the name "contextMenuAction". Anyway,
I'm quite satisfied with the implementation.
*Drag n' Drop actions*
Some actions are not applied to the current node but on another one.
Check image [2]. In this example, I Cut a tract with a ROI. Of course,
this could be done with NodeSelected() + a button in a plugin, or a
combobox in a plugin or with plenty of ways but we thought that DnD was
a much better idea. I still use the contextMenuAction for those actions.
It's currently hardcoded a bit, much more hackish than my previous idea
and chould be enhanced in many ways but you get the idea.
It has been tested on the major OSes and our users are happy.
So, what do you guys think? Should it be contributed upstream?
Nil
[1] http://imgur.com/VnJBmmb
[2] http://imgur.com/X2g5CYl
------------------------------------------------------------------------------
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users