Hello, guys!
This time I want to draw a progress bar in one of QTreeView cells.
Well, I already have the code which does this - just created my own QItemDelegate which uses QStyle::drawControl().
And the question: I need that progress bar to be stylable. I mean - stylable with stylesheets.
Is there a way to do so?
Something like setting QApplication::setStylesheet("QProgressBar {...}")?
First, I don't know if this'll work (I guess I should just try)
Second - I don't want to apply this style to all of my progress bars, just the one rendered in QTreeView.
Any hints, suggestions?
Thanks in advance!
Bookmarks