Re: [mitk-users] aboutAction

2015-09-25 Thread Nil Goyette
Hi all,

I tried again to see my About dialog and found a strange behavior.
I do see my About dialog if I set this line to true:
static bool USE_EXPERIMENTAL_COMMAND_CONTRIBUTIONS = false;

But the Ctrl-O shortcut stops working because there are 2 registered 
actions on the same hotkey.
In fact, the shortcut works as long as I don't click on Open in the menu 
with a mouse, after I see:
"QAction::eventFilter: Ambiguous shortcut overload: Ctrl+O"

I don't really want to activate experimental stuff but I need our own 
About dialog.
Anyone know how? Thank you.

Nil

Le 2015-09-21 09:39, Nil Goyette a écrit :
> Hi all,
>
> I pulled MITK 2015.05.02 in our modified MITK branch and everything
> still works except :) the About page. I heard the only necessary change
> is to write this (and code the AboutHandler class) in the plugin.xml of
> our plugin:
> 
>  class="AboutHandler"/>
> 
>
> Since it was working before the git pull, can someone confirm that About
> extension is still working? Thank you.
>
> Nil
>
> --
> ___
> mitk-users mailing list
> mitk-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mitk-users


--
___
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users


[mitk-users] backwards compatibility of .mitk project files

2015-09-25 Thread Ingmar Wegner
Hi everyone,

I just debugged into the serialization because all images within our project files that we created before moving to the 2015.05.0 release show up in rainbow color, not in gray values.

 

I found out that there has been a change in the serialization. Now there is an additional property "LookupTable" in the properties file.

During loading an mitk file the default behavior is to add a rainbow LUT. I guess that is to support other image types  from the diffusion application?

But as the "old" project files don't contain the property the images get also drawn in rainbow color.

Then if you go into the DataManager plugin and want to reset the colormap it automatically switches to "grayscale" once the context menu opens up.

 

As this is unintended for a user that doesn't know the internals I would like to change that.

 

Any hint on how to solve it the best way?

I don't want to introduce any sideeffects with a too early workaround...

 

And thank you all for the 2015.05.2 relase!!!

 

Best,

Ingmar

 

 

--
___
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users