[Interest] Set QTreeWidgetItem style

Joseph Crowell joseph.w.crowell at gmail.com
Tue Sep 4 11:37:45 CEST 2012

On 9/4/2012 5:59 PM, Sensei wrote:
> Dear all,
> as usual, I am playing with tree widgets. Now I'm facing this problem:
> Is it possible to set CSS styles on some widget items? For example,
> items that have no valid parent, or items named "foobar".
try widgetName->setStyleSheet("#widgetName {your css }") and check the 
help documentation for Style Sheets.
> Thanks!
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest

More information about the Interest mailing list