Dear all,

I encountered a strange behavior and I'm kinda stuck.

I'm currently creating an application and to spice up the gui I use some
stylesheets.
Which seem to work, except for the panels of a QToolbox.

When I see the preview In Qt Creator all is ok. But when I
use pyside-uic.exe to convert everything into a .py file, the panels are
not styled.

I also tried the same stylesheet with PyQt and there it works.

1. in Ct Creator, where it works
[image: Inline image 1]

2. when running from python, where it doesn't work

[image: Inline image 1]


Style sheet:

#dayEportPage{
 background: qradialgradient(
   cx: 0.5, cy: -1.8,
   fx: 0.5, fy: 0,
   radius: 2,
   stop: 0 #9aa9be,
   stop: 1 #293859);
  font: bold;}

The code of the stylesheet is in the "compiled" ui file.
I also tried some other stylesheets which when working in the preview,
would not work in the running application.

Did anyone have the same problem or found a work around to this?
I searched but could not find a solution. So I'm hoping the wizards of the
PySide community have a solution.


Ooh yeah
I use Python 2.7.4
Pyside 1.1.2
Qt version 4.8.2

Kind regards,
Ronny Deroost

<<image.png>>

<<image.png>>

_______________________________________________
PySide mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/pyside

Reply via email to