<p dir="ltr">Hey Anita,</p>
<p dir="ltr">For a qgis plugin. None, or so little that it doesn't matter.</p>
<p dir="ltr">There is a small overhead that you have to load it from file each time but its really nothing.</p>
<p dir="ltr">There is also a LoadUiType which only loads once.</p>
<p dir="ltr">Both are fine.</p>
<p dir="ltr">Nathan </p>
<div class="gmail_quote">On 26/04/2014 10:45 pm, "Anita Graser" <<a href="mailto:anitagraser@gmx.at">anitagraser@gmx.at</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
I'm wondering if there is an advantage in using pyuic to manually compile .ui files instead of just using uic.loadUi() in the plugin directly, e.g.<br>
<br>
from PyQt4 import uic<br>
self.dock = uic.loadUi( os.path.join( path, "dockwidget2.ui" ) )<br>
<br>
Thanks for any insights!<br>
<br>
Best wishes,<br>
Anita<br>
<br>
<br>
<br>
-- <br>
<a href="http://anitagraser.com" target="_blank">anitagraser.com</a><br>
______________________________<u></u>_________________<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/<u></u>mailman/listinfo/qgis-<u></u>developer</a><br>
</blockquote></div>