Add option to display layer info subtitles
Adds an option to display opacity and blending mode as a subtitle beneath the layer name in the Layers docker.
WIP. Is functional but design/styling needs to be done, may require a rewrite because currently the subtitle is simply appended to the layer name.
Test Plan
- Enable setting under Display/Miscellaneous.
- Change opacity and blending mode settings of layers and confirm the subtitles are correct. Layers with 100% opacity and Normal blending mode should not display a subtitle.
Formalities Checklist
-
I confirmed this builds. -
I confirmed Krita ran and the relevant functions work. -
I tested the relevant unit tests and can confirm they are not broken. (If not possible, don't hesitate to ask for help!) -
I made sure my commits build individually and have good descriptions as per KDE guidelines. -
I made sure my code conforms to the standards set in the HACKING file. -
I can confirm the code is licensed and attributed appropriately, and that unattributed code is mine, as per KDE Licensing Policy.
Edited by Halla Rempt