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

Popular posts from this blog

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -