qt - Modify color QTreeWidget -
how change color of every text in qtreewidget (item text, name of column)?
in fact, have qtreewidget inside groupbox , when have modified stylesheet of groupbox, inherited in qtreewidget. so, have modified stylesheet in qtreewidget color: rgb(0, 0, 0);
, when execute application, color same groupbox , not stylesheet of qtreewidget (whereas modified in designer).
when set stylesheet qgroupbox this:
qgroupbox{color: red;}
this way qtreewidget ignore stylesheet.
Comments
Post a Comment