alitoh
25th August 2011, 00:54
Hi,
I'm trying to set a custom stylesheet (exactly this (http://labs.qt.nokia.com/2007/06/12/styling-qprogressbar-and-qscrollbar/)) for a QProgressBar via Visual Studio.
I used that piece of CSS Code to set the stylesheet, but QProgressBar doesn't have a "setStyleSheet" method, so I don't know what to do with it. How does configure a style for it "by hand" (not using QDesigner)?
Added after 20 minutes:
Isolved it.
Visual Studio was going crazy and did not recognize setStyleSheet as a valid method. Now it works fine.
I'm trying to set a custom stylesheet (exactly this (http://labs.qt.nokia.com/2007/06/12/styling-qprogressbar-and-qscrollbar/)) for a QProgressBar via Visual Studio.
I used that piece of CSS Code to set the stylesheet, but QProgressBar doesn't have a "setStyleSheet" method, so I don't know what to do with it. How does configure a style for it "by hand" (not using QDesigner)?
Added after 20 minutes:
Isolved it.
Visual Studio was going crazy and did not recognize setStyleSheet as a valid method. Now it works fine.