Hi,

I want to make the corners of a widget around. In PyQt I have solved the problem with stylesheet, which worked well. I wanted to do the same in PySide, but for some reason it does not work.

here is my code:

TitelWidget = QtGui.QWidget()
TitelSizer = QtGui.QHBoxLayout()
TitelWidget.setLayout(TitelSizer)
TitelWidget.setStyleSheet("QWidget#TitelWidget {border: 1px solid rgb(160,160,160); border-radius: 9px; background: QLinearGradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #f6f6f6, stop: 0.5 #ededed, stop: 0.55 #e4e4e4, stop: 0.6 #dbdbdb, stop: 1.0 #d2d2d2);}")

 
This is how the Widget looks in PyQt:
 
what can be wrong in this case?
 
I am Using PySide 1.2.4
 
Cheers,
Ziad
 

 

_______________________________________________
PySide mailing list
PySide@qt-project.org
http://lists.qt-project.org/mailman/listinfo/pyside

Reply via email to