Add checkbox to LayerBox for selecting layers
The checkbox looks like this:
I tried theming the checkbox properly, but unfortunately I couldn't. The results would show, so I'll need some help on how I can change the color or the icon of the checkbox. I also tried increasing size of it (it is a rather tiny checkbox on Android) through buttonOption.iconSize
but even that didn't get reflected in the draw call. I don't know what could be going wrong?
Test Plan
Select Layers by trying out different modifiers and see if the checkbox is synced. And the reverse should be true as well, test if selecting layers using the checkbox also highlights/selects them.
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.