This seems like a decent suggestion (frankly, it shouldn't be necessary!), but no matter what I try/do, the generated ui_*.py file always has the 'value' property set for the progressBar. It doesn't appear to be an option...<div>
<br></div><div>$ pyuic4 --version</div><div>Python User Interface Compiler 4.7.2 for Qt version 4.6.2 </div><div><br></div><div>Any suggestions?</div><div><br>C<br><div><br><div class="gmail_quote">On Sat, Mar 19, 2011 at 10:35 AM, Giuseppe Sucameli <span dir="ltr"><<a href="mailto:sucameli@faunalia.it">sucameli@faunalia.it</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi Carson, <br><br><div class="gmail_quote"><div class="im">On Thu, Mar 17, 2011 at 10:50 AM, Carson Farmer <span dir="ltr"><<a href="mailto:carson.farmer@gmail.com" target="_blank">carson.farmer@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">
Hmm, ok, was this a self build? If yes, it might be worth rebuilding the included plugins. It looks like there is some issue with ui_frmGeometry.py, which is actually auto-generated from frm_Geometry.ui at build time.</blockquote>
</div><div>for more compatibility, remove the progressBar value from the .ui and set it by code.<br>This should be fix it. <br><br>Have a look ad GdalTools Grid, but also other tools, <br>progressBars and spinBoxes' default value is set by code in the constructor.<br>
<br>Cheers.<br><br></div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex"><div><div></div><div class="h5"><div><div><div><div class="gmail_quote">
On Thu, Mar 17, 2011 at 8:34 AM, Micha Silver <span dir="ltr"><<a href="mailto:micha@arava.co.il" target="_blank">micha@arava.co.il</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">
<div style="direction:ltr" text="#000000" bgcolor="#ffffff">
<p style="margin-bottom:0cm;margin-top:0pt">Hello Carson</p><div>
<p style="margin-bottom:0cm;margin-top:0pt"><br>
</p>
<p style="margin-bottom:0cm;margin-top:0pt">On 16/03/2011 17:24,
Carson Farmer wrote:</p>
<blockquote type="cite">
<pre>Hi Micha,
</pre>
<blockquote type="cite">
<pre>Traceback (most recent call last):
File "/home/micha/.qgis/python/plugins/fTools/fTools.py", line 387, in
docompGeo
d = doGeometry.GeometryDialog( self.iface, 5 )
File "/home/micha/.qgis/python/plugins/fTools/tools/doGeometry.py", line
17, in __init__
self.setupUi(self)
File "/home/micha/.qgis/python/plugins/fTools/tools/ui_frmGeometry.py",
line 73, in setupUi
self.progressBar.setProperty("value", 0)
TypeError: argument 2 of QObject.setProperty() has an invalid type
</pre>
</blockquote>
<pre>This is actually an error from the (auto) generated ui file. Have you
recently updated your Qt/PyQt version?
</pre>
</blockquote>
<br></div>
No. This particular machine get's all updates from the
<a href="http://debian.gfoss.it" target="_blank">debian.gfoss.it</a> repo. I checked thru the apt logs and nothing
there.<br>
<br>
<br>
<blockquote type="cite">
<pre>Carson
</pre>
</blockquote>
<br>
<br>
<div>-- <br>
<div>
<p style="margin-bottom:0cm;margin-top:0pt;float:right"><img alt="Hevra Logo" src="cid:part1.06050600.02040102@arava.co.il" width="135" border="0" height="59"></p>
<p style="margin-bottom:0cm;margin-top:0pt;direction:ltr">Micha
Silver</p>
<p style="margin-bottom:0cm;margin-top:0pt;direction:ltr">Arava
Development Co</p>
<p style="margin-bottom:0cm;margin-top:0pt;direction:ltr">052-3666918</p>
<p style="margin-bottom:0cm;margin-top:0pt;direction:ltr"><a href="http://www.surfaces.co.il" target="_blank">http://www.surfaces.co.il</a></p>
</div>
</div>
</div>
</blockquote></div><br><br clear="all"><br></div></div><div>-- <br>Carson J. Q. Farmer<br>ISSP Doctoral Fellow<br>National Centre for Geocomputation<br>National University of Ireland, Maynooth,<br><a href="http://www.carsonfarmer.com/" target="_blank">http://www.carsonfarmer.com/</a><br>
</div></div>
<br></div></div>_______________________________________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org" target="_blank">Qgis-developer@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><font color="#888888">Giuseppe Sucameli<br><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Carson J. Q. Farmer<br>ISSP Doctoral Fellow<br>National Centre for Geocomputation<br>National University of Ireland, Maynooth,<br><a href="http://www.carsonfarmer.com/">http://www.carsonfarmer.com/</a><br>
</div></div>