Fill color in Qcheckbox
Solved
General and Desktop
-
Hello Everyone,
Is it possible to fill color in Qcheckbox instead of tick.
If not, is there any class where i can have same function that of QCheckbox but can fill diffrent color.
Thanks in advanceYou should have a look to QAbstractButton and use a QIcon with different pixmaps for different states.
-
@koahnig
these pixmaps are already there or I have to create it in paint or something like thatIt basically depends what you are up to. You want to change the only the color of an area, you can generate the pixmaps yourself. You can also use icons from a library you find on internet.