Re: [Qgis-developer] New Python Console

2013-04-03 Thread Jeremy Palmer
No problem at all. Would be nice though! From: Salvatore Larosa [mailto:lrssv...@gmail.com] Sent: Thursday, 4 April 2013 12:37 p.m. To: Jeremy Palmer Cc: qgis-developer Subject: Re: [Qgis-developer] New Python Console Hi Jeremy, I was aware, sorry for that. I am trying to solve this issue

Re: [Qgis-developer] New Python Console

2013-04-03 Thread Salvatore Larosa
Hi Jeremy, I was aware, sorry for that. I am trying to solve this issue although I don't know if this is related to the Qsci module. Thanks. Regards, -SL Il giorno 03/apr/2013 00:01, "Jeremy Palmer" ha scritto: > Hi QGIS devs! > > I'm just been playing with the new python console and it's a gr

Re: [Qgis-developer] New Python Console

2013-04-03 Thread Alexander Bruy
Hi Jeremy, this was already reported some time ago. See http://hub.qgis.org/issues/6333 On Wed, 3 Apr 2013 10:55:34 +1300 Jeremy Palmer wrote: > Hi QGIS devs! > > I'm just been playing with the new python console and it's a great > improvement -many thanks to Salvatore Larosa. > > One featur

Re: [Qgis-developer] new python console: nice

2012-11-11 Thread Richard Duivenvoorde
On 11/11/2012 08:13 PM, Salvatore Larosa wrote: No problem to change it, do you have any need particular ? Hi Salvatore, maybe wait a little before serving me :-) if I'm correct there will be some initiative to harmonize all the different types of help buttons/dialogs and methods to create

Re: [Qgis-developer] new python console: nice

2012-11-11 Thread Salvatore Larosa
Hi, 2012/11/11 Richard Duivenvoorde > Hi Devs, > > I just compiled master here, and had a look at the new scintilla2 based > python console. > > Really really cool!!! > > Thanks so much! > > One little wish: I really like the help. But it is a fixed modal dialog, > what about a floating non moda

Re: [Qgis-developer] New Python console: missing icons?

2012-10-05 Thread Giuseppe Sucameli
Hi Salvatore, On Fri, Oct 5, 2012 at 10:24 AM, Salvatore Larosa wrote: > 2012/10/5 Giuseppe Sucameli >> we agree that console icons and help should be moved in >> the proper folders, i.e. respectively images and resources >> located in the source root. > > I agree, regardless of the problem ! >

Re: [Qgis-developer] New Python console: missing icons?

2012-10-05 Thread Salvatore Larosa
Hi, 2012/10/5 Giuseppe Sucameli > Hi all, hi Salvatore, > > On Thu, Oct 4, 2012 at 6:01 PM, Werner Macho > wrote: > > Not confirmed here .. everything looks fine .. compiled from latest > > master 5min ago .. > > the problem [1] is confirmed: it's present in all the QGis > installations that us

Re: [Qgis-developer] New Python console: missing icons?

2012-10-04 Thread Giuseppe Sucameli
Hi all, hi Salvatore, On Thu, Oct 4, 2012 at 6:01 PM, Werner Macho wrote: > Not confirmed here .. everything looks fine .. compiled from latest > master 5min ago .. the problem [1] is confirmed: it's present in all the QGis installations that uses packages, both self-compiled or from repository

Re: [Qgis-developer] New Python console: missing icons?

2012-10-04 Thread Werner Macho
Not confirmed here .. everything looks fine .. compiled from latest master 5min ago .. On Thu, Oct 4, 2012 at 5:49 PM, Paolo Cavallini wrote: > Il 04/10/2012 15:15, Nathan Woodrow ha scritto: >> Yeah I have both those issues here too. >> >> > Glad I'm not the only one. Just recompiled from mast

Re: [Qgis-developer] New Python console: missing icons?

2012-10-04 Thread Paolo Cavallini
Il 04/10/2012 15:15, Nathan Woodrow ha scritto: > Yeah I have both those issues here too. > > Glad I'm not the only one. Just recompiled from master, the issue remains. Thanks. -- Paolo Cavallini - Faunalia www.faunalia.eu Full contact details at www.faunalia.eu/pc Nuovi corsi QGIS e PostGIS: htt

Re: [Qgis-developer] New Python console: missing icons?

2012-10-04 Thread Nathan Woodrow
Yeah I have both those issues here too. - Nathan On Thu, Oct 4, 2012 at 8:46 PM, Paolo Cavallini wrote: > Il 04/10/2012 12:31, Paolo Cavallini ha scritto: >> Hi all. >> Just compiled, the icons in the python console aremissing: a local >> problem, or other have the same? >> Thanks. >> > Also hel

Re: [Qgis-developer] New Python console: missing icons?

2012-10-04 Thread Paolo Cavallini
Il 04/10/2012 12:31, Paolo Cavallini ha scritto: > Hi all. > Just compiled, the icons in the python console aremissing: a local > problem, or other have the same? > Thanks. > Also help is a blank window here. Anyone confirms? Thanks. -- Paolo Cavallini - Faunalia www.faunalia.eu Full contact deta

Re: [Qgis-developer] New Python console idea: Expanding the Python console to handle DSLs for plugins eg CADTools

2011-06-17 Thread Barry Rowlingson
On Fri, Jun 17, 2011 at 1:55 PM, Nathan Woodrow wrote: > Function MyFunction(someStringVar) as String >    Return "Foo Bar " + someStringVar > End Function > And then in the SQL statement. > UPDATE table SET column = MyFunction("Hello World") where column > 100 > This would call MyFunction() for

Re: [Qgis-developer] New Python console idea: Expanding the Python console to handle DSLs for plugins eg CADTools

2011-06-17 Thread Nathan Woodrow
Barry, I think it could be a pretty powerful and cool thing to at least try out with the prototype. I'm a ex MapInfo user and in MapBasic we were able to call a user defined function in SQL for a update, insert, etc etc. So you could do: Function MyFunction(someStringVar) as String Return

Re: [Qgis-user] Re: [Qgis-developer] New Python console idea: Expanding the Python console to handle DSLs for plugins eg CADTools

2011-06-17 Thread Yves Jacolin
Hello, Le vendredi 17 juin 2011 09:27:19, Barry Rowlingson a écrit : > > SQL: select * from table where x=PYTHON:foo > > but now you are parsing everything before it gets to the destination > parser, but that could be ambiguous with the destination language. So > then the console becomes a macro

Re: [Qgis-developer] New Python console idea: Expanding the Python console to handle DSLs for plugins eg CADTools

2011-06-17 Thread Barry Rowlingson
On Fri, Jun 17, 2011 at 4:36 AM, Nathan Woodrow wrote: > Well would that be such a bad thing? The DSLs can return a object from the > evaluated string so why not let them be mixed.  This would mean you can do > things like: > > mypythonVar = (SQL:Select Sum(column) From Table) > #Some more python

Re: [Qgis-developer] New Python console idea: Expanding the Python console to handle DSLs for plugins eg CADTools

2011-06-16 Thread Nathan Woodrow
I was just thinking about this: People might think they can mix python variables with variables in > other DSLs. Which would be tricky. Well would that be such a bad thing? The DSLs can return a object from the evaluated string so why not let them be mixed. This would mean you can do things lik

Re: [Qgis-developer] New Python console idea: Expanding the Python console to handle DSLs for plugins eg CADTools

2011-06-16 Thread Vincent Picavet
Hi, Le jeudi 16 juin 2011 21:24:21, Charlie Sharpsteen a écrit : > You may want to look at the IPython console---they have a very nice > syntax for adding new domain-specific commands which they call "magic > commands": > Currently Ipython is not compatible with any programe importing Qt stuff. I

Re: [Qgis-developer] New Python console idea: Expanding the Python console to handle DSLs for plugins eg CADTools

2011-06-16 Thread Charlie Sharpsteen
On Thu, Jun 16, 2011 at 5:27 AM, Barry Rowlingson wrote: > On Thu, Jun 16, 2011 at 12:33 PM, Nathan Woodrow wrote: > >> I would appreciated any feedback anyone has.  I'm not a python expert so the >> code could be done better if done for real but at the moment it's just rough >> to get the idea o

Re: [Qgis-developer] New Python console idea: Expanding the Python console to handle DSLs for plugins eg CADTools

2011-06-16 Thread Nathan Woodrow
That sounds like a pretty good idea too. Shoudn't be too hard to whip up a prototype for that. On Thu, Jun 16, 2011 at 10:27 PM, Barry Rowlingson < b.rowling...@lancaster.ac.uk> wrote: > On Thu, Jun 16, 2011 at 12:33 PM, Nathan Woodrow > wrote: > > > I would appreciated any feedback anyone has.

Re: [Qgis-developer] New Python console idea: Expanding the Python console to handle DSLs for plugins eg CADTools

2011-06-16 Thread Barry Rowlingson
On Thu, Jun 16, 2011 at 12:33 PM, Nathan Woodrow wrote: > I would appreciated any feedback anyone has.  I'm not a python expert so the > code could be done better if done for real but at the moment it's just rough > to get the idea out there. I like the idea of supplying console functionality f