Hey, You probably had a look at the help page and the frame style combinations? http://qt-project.org/doc/qt-4.8/qframe.html. I dont know of any way to change the default look of the frame. But maybe you can do something that you like with stylesheets. http://doc.qt.nokia.com/4.7-snapshot/stylesheet-reference.html http://doc.qt.nokia.com/4.7-snapshot/stylesheet-examples.html#customizing-qframe
Cheers Sebastian On 06/06/2012 05:36 AM, Frank Rueter | OHUfx wrote: > Hi everyone, > > I have a QFrame set to "Panel" and "Sunken" style like this: > > import sys > from PySide import QtGui > > app = QtGui.QApplication( sys.argv ) > fr = QtGui.QFrame() > fr.setFrameStyle( QtGui.QFrame.Panel | QtGui.QFrame.Sunken ) > fr.setLineWidth( 3 ) > > fr.show() > sys.exit( app.exec_() ) > > > I am trying to control the shadow and highlight colours so I can darken > the shadow and get rid of the highlight. > > I've been searching online but can't find the answer. > > Does anybody know how to do this? > > Cheers, > frank > > _______________________________________________ > PySide mailing list > [email protected] > http://lists.qt-project.org/mailman/listinfo/pyside -- Sebastian Elsner - pipeline td - r i s e | fx t: +49 30 20180300 [email protected] www.risefx.com r i s e | fx GmbH Schlesische Strasse 28 Aufgang B, 10997 Berlin Geschäftsführer: Sven Pannicke, Robert Pinnow Handelsregister Berlin HRB 106667 B _______________________________________________ PySide mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/pyside
