Re: [Interest] Set QTreeWidgetItem style

2012-09-04 Thread Konstantin Tokarev
04.09.2012, 11:59, "Sensei" : > 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". I think it would be both easier and more effect

Re: [Interest] Set QTreeWidgetItem style

2012-09-04 Thread Sensei
On 9/4/12 11:37am, Joseph Crowell wrote: > 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 "fooba

Re: [Interest] Set QTreeWidgetItem style

2012-09-04 Thread Joseph Crowell
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 {y

[Interest] Set QTreeWidgetItem style

2012-09-04 Thread Sensei
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". Thanks! ___ Interest mailing list Interest@