Re: [Qgis-developer] Python support in project file

2012-08-31 Thread Giuseppe Sucameli
Hi all, On Sat, Aug 25, 2012 at 4:09 AM, Nathan Woodrow wrote: > No objections from me. I've moved the QgsMessageBar class to the GUI library (so it can be reused), then I pushed everything to master. Best regards. > > - Nathan > > On Thu, Aug 23, 2012 at 8:58 AM, Giuseppe Sucameli > wrote:

Re: [Qgis-developer] Python support in project file

2012-08-24 Thread Nathan Woodrow
No objections from me. - Nathan On Thu, Aug 23, 2012 at 8:58 AM, Giuseppe Sucameli wrote: > I'll push it to master if nobody enter objections. ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-d

Re: [Qgis-developer] Python support in project file

2012-08-22 Thread Larry Shaffer
;> [1] >> https://github.com/dakcarto/Quantum-GIS/commit/5a1500cc6e0d8a8965d17884e107bb3e22b77182 >> >> T >> >> >>> >>> Regards. >>> >>> > - Nathan >>> > >>> > >>> > On Tue, Aug 2

Re: [Qgis-developer] Python support in project file

2012-08-22 Thread Giuseppe Sucameli
n >> > >> > >> > On Tue, Aug 21, 2012 at 5:54 PM, Nathan Woodrow >> > wrote: >> >> Very nice Giiseppe. Will test soon. >> >> >> >> Sent from some fancy phone looking thingo >> >> From: Giuseppe Sucameli >&g

Re: [Qgis-developer] Python support in project file

2012-08-21 Thread Nathan Woodrow
of QgsMessageBar instance being created comes before the theme > (soon to be deprecated anyway?) is set. > > The changes I have suggested are available as an addition to your branch > uploaded to my github repository [1]. > > [1] > https://github.com/dakcarto/Quantum-GIS/commit/5a1500cc6e0d

Re: [Qgis-developer] Python support in project file

2012-08-21 Thread Larry Shaffer
ed are available as an addition to your branch uploaded to my github repository [1]. [1] https://github.com/dakcarto/Quantum-GIS/commit/5a1500cc6e0d8a8965d17884e107bb3e22b77182 T > Regards. > > > - Nathan > > > > > > On Tue, Aug 21, 2012 at 5:54 PM, Nathan

Re: [Qgis-developer] Python support in project file

2012-08-21 Thread Nathan Woodrow
; >>>> >>>> On Tue, Aug 21, 2012 at 5:54 PM, Nathan Woodrow >>>> wrote: >>>>> Very nice Giiseppe. Will test soon. >>>>> >>>>> Sent from some fancy phone looking thingo >>>>> From: Giuseppe Sucameli >>

Re: [Qgis-developer] Python support in project file

2012-08-21 Thread Giuseppe Sucameli
012 at 5:54 PM, Nathan Woodrow wrote: >>>> Very nice Giiseppe. Will test soon. >>>> >>>> Sent from some fancy phone looking thingo >>>> From: Giuseppe Sucameli >>>> Sent: 21/08/2012 5:24 PM >>>> To: qgis-developer ML >>>

Re: [Qgis-developer] Python support in project file

2012-08-21 Thread Nathan Woodrow
10.bar.gif I think people will be very happy with addition. - Nathan > > Opinions are welcome! > Regards. > >> - Nathan >> >> >> On Tue, Aug 21, 2012 at 5:54 PM, Nathan Woodrow wrote: >>> Very nice Giiseppe. Will test soon. >>> >>> Sent fr

Re: [Qgis-developer] Python support in project file

2012-08-21 Thread Giuseppe Sucameli
gt;> Very nice Giiseppe. Will test soon. >> >> Sent from some fancy phone looking thingo >> From: Giuseppe Sucameli >> Sent: 21/08/2012 5:24 PM >> To: qgis-developer ML >> Subject: Re: [Qgis-developer] Python support in project file >> Hi all, >&g

Re: [Qgis-developer] Python support in project file

2012-08-21 Thread Nathan Woodrow
3 plugins didn't load right. Do you want to know which ones?" - Nathan On Tue, Aug 21, 2012 at 5:54 PM, Nathan Woodrow wrote: > Very nice Giiseppe. Will test soon. > > Sent from some fancy phone looking thingo > From: Giuseppe Sucameli > Sent: 21/08/2012 5:24 PM > T

Re: [Qgis-developer] Python support in project file

2012-08-21 Thread Nathan Woodrow
Very nice Giiseppe. Will test soon. Sent from some fancy phone looking thingo From: Giuseppe Sucameli Sent: 21/08/2012 5:24 PM To: qgis-developer ML Subject: Re: [Qgis-developer] Python support in project file Hi all, I've pushed the code on the branch project_macros on my QGis fork [1].

Re: [Qgis-developer] Python support in project file

2012-08-21 Thread Giuseppe Sucameli
Hi all, I've pushed the code on the branch project_macros on my QGis fork [1]. The macros python code is loaded into a dummy module, in this manner it can be unloaded when needed. On Thu, May 31, 2012 at 8:30 AM, Martin Dobias wrote: > On Thu, May 31, 2012 at 2:49 AM, Giuseppe Sucameli > wrot

Re: [Qgis-developer] Python support in project file

2012-05-30 Thread Martin Dobias
On Thu, May 31, 2012 at 2:49 AM, Giuseppe Sucameli wrote: >> How the GUI is going to look like? Should the user enter the Python >> code directly into some text edit widgets? > > yes, 3 text edit widget, one for each macro. > The user has to write python code into them. I would prefer to have jus

Re: [Qgis-developer] Python support in project file

2012-05-30 Thread Nathan Woodrow
My comments are inline. On Thu, May 31, 2012 at 10:49 AM, Giuseppe Sucameli wrote: > Hi Martin, > > On Wed, May 30, 2012 at 11:37 PM, Martin Dobias wrote: >> On Wed, May 23, 2012 at 9:24 PM, Giuseppe Sucameli >> wrote: >>> I've added a new tab "Project routines" to the project properties dialog

Re: [Qgis-developer] Python support in project file

2012-05-30 Thread Giuseppe Sucameli
Hi Martin, On Wed, May 30, 2012 at 11:37 PM, Martin Dobias wrote: > On Wed, May 23, 2012 at 9:24 PM, Giuseppe Sucameli > wrote: >> I've added a new tab "Project routines" to the project properties dialog >> where the user can define 3 different python routines: > > Maybe I would call it "macros"

Re: [Qgis-developer] Python support in project file

2012-05-30 Thread Martin Dobias
On Wed, May 23, 2012 at 9:35 PM, Victor Olaya wrote: > Giuseppe > > This is awesome from the point of view of SEXTANTE. One of the biggest > problems in SEXTANTE for gvSIG is that, if you have saved your results > as temporary files, the project will keep a link to them, but they > will be deleted

Re: [Qgis-developer] Python support in project file

2012-05-30 Thread Martin Dobias
Hi Giuseppe (sorry for joining the thread so late) On Wed, May 23, 2012 at 9:24 PM, Giuseppe Sucameli wrote: > Hi all, > > I started to work on adding python support in project files (see [1]). > > I've added a new tab "Project routines" to the project properties dialog > where the user can defi

Re: [Qgis-developer] Python support in project file

2012-05-23 Thread Giuseppe Sucameli
Hi Victor, On Wed, May 23, 2012 at 9:35 PM, Victor Olaya wrote: > it woould be solved if I could add a script to be > executed when saving a project, so it can check that layers are not > temporary (and if they are, save them to a permanent location). what you need is just a signal sent when the

Re: [Qgis-developer] Python support in project file

2012-05-23 Thread Larry Shaffer
Hi Giuseppe, On Wed, May 23, 2012 at 1:24 PM, Giuseppe Sucameli wrote: > Hi all, > > I started to work on adding python support in project files (see [1]). > > I've added a new tab "Project routines" to the project properties dialog > where the user can define 3 different python routines: > > one

Re: [Qgis-developer] Python support in project file

2012-05-23 Thread Victor Olaya
Giuseppe This is awesome from the point of view of SEXTANTE. One of the biggest problems in SEXTANTE for gvSIG is that, if you have saved your results as temporary files, the project will keep a link to them, but they will be deleted once you exit the program. This problem appears also in QGIS, bu

[Qgis-developer] Python support in project file

2012-05-23 Thread Giuseppe Sucameli
Hi all, I started to work on adding python support in project files (see [1]). I've added a new tab "Project routines" to the project properties dialog where the user can define 3 different python routines: one is executed when the project is loaded, the next one when the project is saved, and t