It's possible to colorcode the icons (folder) and put a small star on it
Difficult to draw. Usually the tree widgets allow one (or more) icons in front. We see that Qt's tree class (together with TreeItem) allows at least one icon. Ok, Pierre can simulate/draw two (if the class doesn't provide this feature out of the box) but usually, like you noted, we are ok with the colors.