Hi,

There seems to be a problem with pyuic4 and generating the code when using a 
QListWidget with stylesheet font-family.

The ui and generated py file are attached.

Thanks in advance.



      ___________________________________ 
Scopri il Blog di Yahoo! Mail: trucchi, novità, consigli... e la tua opinione!
http://www.ymailblogit.com/blog/

Attachment: prova.ui
Description: Binary data

# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'prova.ui'
#
# Created: Sun Jun 22 14:34:15 2008
#      by: PyQt4 UI code generator 4.4.3-snapshot-20080620
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_Form(object):
    def setupUi(self, Form):
        Form.setObjectName("Form")
        Form.resize(400, 300)
        self.listWidget = QtGui.QListWidget(Form)
        self.listWidget.setGeometry(QtCore.QRect(50, 50, 256, 192))
        self.listWidget.setStyleSheet("QListWidget {font: bold 10px "Verdana";  }")
        self.listWidget.setObjectName("listWidget")

        self.retranslateUi(Form)
        QtCore.QMetaObject.connectSlotsByName(Form)

    def retranslateUi(self, Form):
        Form.setWindowTitle(QtGui.QApplication.translate("Form", "Form", None, QtGui.QApplication.UnicodeUTF8))

_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to