daplis_rtp.gui.app_icon module

The application icon, in every size Qt might ask for.

Qt scales whatever single image it is handed, so a title bar showing a downscaled 256 px icon gets a blur where the peak should be. Handing it the whole rendered set instead lets it pick the size it actually needs. See ‘tools/make_icons.py’ for where those come from.

daplis_rtp.gui.app_icon.app_icon()[source]

The icon, carrying every rendered size.

daplis_rtp.gui.app_icon.claim_taskbar_identity(app_id='cvut.fjfi.daplis-rtp')[source]

Announce this process to Windows as an application of its own.

Must run before the first window is created. A no-op everywhere else - the other desktops match a window to its launcher by its class name, which Qt sets already.

daplis_rtp.gui.app_icon.icon_file(size)[source]

Path to one rendered size, inside the installed package.