On 18/09/2011 04:27 م, Vincent Vande Vyvre wrote:
Le 18/09/11 15:19, ad...@mbnoimi.net
a écrit : Hi,
No specific import is required for style
app = QtGui.QApplication(sys.argv)
app.setStyle(QtGui.QStyleFactory.create("plastique"))
Actually I want to use default palette of Platique style for that
I've to create a new object from QPlastiqueStyle then call
setPallete function as I mentioned below
sty = QPlastiqueStyle()
app.setPalette(sty.standardPalette())
--
Best Regards
Muhammad Bashir Al-Noimi
My Blog: http://mbnoimi.net
|
_______________________________________________
PyQt mailing list PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt