Le 13/01/11 14:27, Vincent Vande Vyvre a écrit :
Hi,

Using pyuic4, the text in tabs in a QToolBox is not string instance.

e.g. :

    self.tool_box.setItemText(self.tool_box.indexOf(self.project_page), Project  -  Stage 0)

instead :

    self.tool_box.setItemText(self.tool_box.indexOf(self.project_page), "Project  -  Stage 0")


Other thing, the property 'tabSpacing', wich exist in QDesigner, is not supported in pyqt ?

Cheers.

--
Vincent V.V.
Oqapy
_______________________________________________ PyQt mailing list PyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt
Sorry,

I see the problem appear only if the text is not translatabled.

The ui file joined is the good one.

--
Vincent V.V.
Oqapy


_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to