Well, I don't mean to remove the possibility to interact with the GUI from
the algorithms, rather I would abstract the interaction and route it to the
GUI in case we are inside QGis GUI or to the console output if we are in a
CLI...
giovanni
2012/5/8 Etienne Tourigny etourigny@gmail.com
Almost all the actual algorithms assume to be inside a QgisApplication.
It's obvious, being born as QGis plugins.
Anyway, I think it would be a good plus being able to run (most of) them
from a CLI, given that SEXTANTE handles the layers I/O from filesystem.
If I remove QtGui calls from my
Good idea - and have gui classes that call the algorithms. I don't
know how many files/classes you have, but it might be a pain to
separate the gui from the execution code if you have many algorithms.
Etienne
On Tue, May 8, 2012 at 8:58 AM, G. Allegri gioha...@gmail.com wrote:
Almost all the