Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
What is the syntax for the style that defines the item of the qtreewidget after it loses focus?
@canid
Read this: https://doc.qt.io/Qt-5/stylesheet-examples.html#customizing-qtreeview
After it lost focus, it is returning to "normal" state, so no focus.