<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
Le 13/01/11 14:27, Vincent Vande Vyvre a écrit :
<blockquote cite="mid:4D2EFDDC.3020008@swing.be" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
Hi,<br>
<br>
Using pyuic4, the text in tabs in a QToolBox is not string
instance.<br>
<br>
e.g. :<br>
<br>
self.tool_box.setItemText(self.tool_box.indexOf(self.project_page),
Project - Stage 0)<br>
<br>
instead :<br>
<br>
self.tool_box.setItemText(self.tool_box.indexOf(self.project_page),
"Project - Stage 0")<br>
<br>
<br>
Other thing, the property 'tabSpacing', wich exist in QDesigner,
is not supported in pyqt ?<br>
<br>
Cheers.<br>
<br>
<div class="moz-signature">-- <br>
Vincent V.V.<br>
<a moz-do-not-send="true" href="https://launchpad.net/oqapy">Oqapy</a></div>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
PyQt mailing list <a class="moz-txt-link-abbreviated" href="mailto:PyQt@riverbankcomputing.com">PyQt@riverbankcomputing.com</a>
<a class="moz-txt-link-freetext" href="http://www.riverbankcomputing.com/mailman/listinfo/pyqt">http://www.riverbankcomputing.com/mailman/listinfo/pyqt</a></pre>
</blockquote>
Sorry,<br>
<br>
I see the problem appear only if the text is not translatabled.<br>
<br>
The ui file joined is the good one.<br>
<br>
<div class="moz-signature">-- <br>
Vincent V.V.<br>
<a href="https://launchpad.net/oqapy">Oqapy</a></div>
</body>
</html>