Hi all,
I tested this feature with MITK 2016.03 (I was testing with 2015.05
before) and I still can't get any context menu icons. I tested with a
random datamanager icon:
icon=":/org.mitk.gui.qt.datamanager/Refresh_48.png"
just to confirm Sascha'a concern and I can see the damn icon.
Then I tri
Hi all,
Can I get an update on this? I lost many hours trying to to load an icon
for my action and I can't get it to work. There's is still this old task
https://phabricator.mitk.org/rMITKa5312246035bdf65d22364816b508129ce06c16d
on this bug.
I couldn't find any plugin in MITK's code that loads
Hi
I merged the patch into the master and closed the bug last week. The
changes (without the additions of Sascha) are already included in the
MITK 2014.10 release.
Best
Martin
On 12/01/2014 12:40 AM, Sascha Zelzer wrote:
> I just shortly looked at the patch. It indeed relies on a qrc location
I just shortly looked at the patch. It indeed relies on a qrc location.
This will only work if the contributing plug-in is loaded (otherwise,
the Qt resources would not be accessible). The final fix should rely on
the CTK resource system to retrieve the icon (as specified in the
CACHED_RESOURCE
Hm, setting it to the "qrc" location (i.e. ":/icons/icon.png") seems to
work.
All best,
Rostislav.
On 09/11/2014 20:41, Rostislav Khlebnikov wrote:
> Hi guys,
>
> am I missing something? I applied the patch attached to the bug, but the
> icon is still missing.
>
> I added my icon to the CACHE
Hi guys,
am I missing something? I applied the patch attached to the bug, but the
icon is still missing.
I added my icon to the CACHED_RESOURCE_FILES in files.cmake for my
plugin. The location is, say, "resources/icon.png" and in plugin.xml I have
Any ideas on why this might not work?
Thanks
Hi Sascha,
thanks for the answer and sorry for not writing you for so long. I
opened a bug report http://bugs.mitk.org/show_bug.cgi?id=17907 and
attached the patch file. Is there something else I have to do now? Or
will you do the rest?
Best regards,
Martin
On 28.05.2014 18:09, Sascha Zelzer
Hi Martin,
I think it just hasn't been done yet. I also don't see a reason for not
doing it. Would you be up for contributing a patch to enable icons in
the context menu?
Thanks,
Sascha
On 05/06/2014 10:37 AM, Martin Klemm wrote:
> Hello,
>
> I was successful in adding a new context menu acti