Hi,
I set a specific font to QTextEdit by coding:
font = QGui.QFontDialog.getFont(QGui.QFont("KhmerOS", 12));
self.ui.txtTarge.setFont(font[0])
The selected font is set to txtTarget correctly; for example, I chose "KhmerOS
Metal Chrieng".
When I open the font dialog again, the selected font should be set to the
"KhmerOS Metal Chrieng", in contrast, it selected another font.
Does any body know how to set the default font to the font we just selected?
Thanks,
ratha
_______________________________________________
PyKDE mailing list [email protected]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde