Page MenuHomePhabricator

It is not possible to set an icon for the applications title bar.
Closed, ResolvedPublic

Description

It would be nice if the icon in the upper left corner of the application could be changed by code. Up to now it is only the standard windows icon.

Event Timeline

Changing platform. The missing icon is annoying on MacOS, too. Perhaps someone finds a way to set it.

This can be done in the ExtApp by using the QmitkExtWorkbenchWindowAdvisor::SetWindowIcon() method. For example in the QmitkExtAppWorkbenchAdvisor::CreateWorkbenchWindowAdvisor() method, write the following:

QmitkExtWorkbenchWindowAdvisor* advisor = new QmitkExtWorkbenchWindowAdvisor(this, configurer);
advisor->SetWindowIcon(":/org.mitk.gui.qt.extapplication/app-icon.png");
return advisor;

[SVN revision 21576]
FIX (#2653): added icon for ExtApp