Hi
On Mon, Apr 28, 2014 at 2:30 PM, Régis Haubourg
regis.haubo...@eau-adour-garonne.fr wrote:
Hi Anita,
I wasn't aware of that possibility.
That would be great to document that in pyQgis Cookbook and to upgrade
plugin builder.
Note that I have been overhauling the plugin builder on my
Hi
On Sat, Apr 26, 2014 at 2:45 PM, Anita Graser anitagra...@gmx.at wrote:
Hi,
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.
from PyQt4 import uic
self.dock = uic.loadUi( os.path.join(
I normally do it this way:
base, widget = uic.loadUiType('myui.ui')
class MyWidget(base, widget):
def __init__(self, parent=None)
super(MyWidget, self).__init__(parent)
- Nathan
On Tue, May 6, 2014 at 4:52 PM, Tim Sutton li...@linfiniti.com wrote:
Hi
On Sat, Apr 26, 2014 at
Hi
On Tue, May 6, 2014 at 8:54 AM, Nathan Woodrow madman...@gmail.com wrote:
I normally do it this way:
base, widget = uic.loadUiType('myui.ui')
class MyWidget(base, widget):
def __init__(self, parent=None)
super(MyWidget, self).__init__(parent)
According to the docs[1]
Hi
On Tue, May 6, 2014 at 9:01 AM, Tim Sutton li...@linfiniti.com wrote:
Hi
On Tue, May 6, 2014 at 8:54 AM, Nathan Woodrow madman...@gmail.comwrote:
I normally do it this way:
base, widget = uic.loadUiType('myui.ui')
class MyWidget(base, widget):
def __init__(self, parent=None)
Hi
On Tue, May 6, 2014 at 9:04 AM, Tim Sutton li...@linfiniti.com wrote:
Hi
On Tue, May 6, 2014 at 9:01 AM, Tim Sutton li...@linfiniti.com wrote:
Hi
On Tue, May 6, 2014 at 8:54 AM, Nathan Woodrow madman...@gmail.comwrote:
I normally do it this way:
base, widget =
Hi Anita,
I wasn't aware of that possibility.
That would be great to document that in pyQgis Cookbook and to upgrade
plugin builder. That compile part is over complicated for new users and
probably we loose some potential contributors..
Cheers
Régis
--
View this message in context:
Agreed. This would also greatly simplify build / packaging workflows.
Sent from my iPhone
On Apr 28, 2014, at 8:30, Régis Haubourg
regis.haubo...@eau-adour-garonne.fr wrote:
Hi Anita,
I wasn't aware of that possibility.
That would be great to document that in pyQgis Cookbook and to
Hi Régis,
Am 28.04.2014, 14:30 Uhr, schrieb Régis Haubourg
regis.haubo...@eau-adour-garonne.fr:
Hi Anita,
I wasn't aware of that possibility.
That would be great to document that in pyQgis Cookbook and to upgrade
plugin builder.
Definite +1 from me to upgrade plugin builder to this version
Hi Anita
On Mon, Apr 28, 2014 at 7:06 PM, Anita Graser anitagra...@gmx.at wrote:
I wonder if there is also a way to load resources (such as icons) without
having to compile them first.
Only then would we get rid of all the console compile stuff.
Resources can also be loaded directly from
Hi,
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.
from PyQt4 import uic
self.dock = uic.loadUi( os.path.join( path, dockwidget2.ui ) )
Thanks for any insights!
Best wishes,
Anita
--
Hey Anita,
For a qgis plugin. None, or so little that it doesn't matter.
There is a small overhead that you have to load it from file each time but
its really nothing.
There is also a LoadUiType which only loads once.
Both are fine.
Nathan
On 26/04/2014 10:45 pm, Anita Graser
12 matches
Mail list logo