I'm painting a QProgressBar (using QStyleOptionProgressBar) into a QabstractTableModel ,the code just like this http://qt-project.org/doc/qt-4.8/qabstractitemdelegate.html
now I want to set its style sheet similar to this
('QProgressBar::chunk {background-color: rgb(102, 204, 255);} QProgressBar {border: 2px solid rgb(0, 128, 255); border-radius: 5px; background-color: rgb(200, 200, 200);}')
so what syntax should I use ?