Solved Fill color in Qcheckbox
-
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 advance -
You 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 that -
It 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.