UI checkbox using Qtreeview QFileSystemModel
Unsolved
General and Desktop
-
In order to put a checkbox in QTreeview, I overridden subclassing in a class that inherits QFileSystemModel. The checkbox appears normally. But I want to use a style for the checkbox.
There is a checkbox that I made custom. I would like to put this
Is there no way??There seem to be several ways to create a checkbox.
One is to change the flag checkable in QFileSystemModel and
Second, it seems that there is a way to draw in paint with the QStyledItemDelegate method. What's the right way to develop it?