feat(ui): unify icons / theme
Description
With the help of the Ircad Communication department, a new visual theme and new icons has been created for some of our related projects (aka White and Deep Blue colour theme). We want to unify the icon pack and move the ones shared by all applications in Sight, while keeping the specific ones inside application repositories. The goal is also to remove/clean the previous icon and flat icon packs and only keep the new icons. Besides that, it also means we should update SightViewer to match the new graphical theme.
The icons require being in SVG 1.1 format (preferably the "tiny" variant) as Qt SVG engine is somewhat limited. Also, they need to be defined with the same canvas size (usually 130*130px, but it is arbitrary as long as all icons share the same size). This ensures the icons can be placed along on the same toolbar and kept coherent (same size, same proportions).
The name shall also be updated to snake_case
(currently CamelCase
is used). The name shall also be stripped of all color indications like in **Green**Plus.svg
, which is now irrelevant.
Proposal
-
Create a dictionary of all our currently used icons, with their names and the context where they are used. This document will be forwarded to the design team. They should use this document to create the new icons. -
Gather all "redesigned" icons that are "shared" or are "sharable", used in Sight and our external applications and merge them into a new icon set in Sight repository -
Write code to support automatic use of 'disabled' icon variant. -
Modify applications, as needed, to use new Sight icon pack -
Remove old icon packs -
Update accordingly the qss. As for icons, We should only keep one Ircad style. The graphical theme should anyway be linked with the icon pack "style".
Functional specifications
Shared icon "pack" in sight\modules\ui\icons\rc
Other icons, specific to a project, should be stored in the project
Technical specifications
NA
Test plan
Launch all applications and ensure they are beautiful :)