[Qgis-developer] creating global actions (like macros)
G. Allegri
giohappy at gmail.com
Thu Mar 1 05:50:39 EST 2012
The same you can do with plugins... but in an easier way :)
Two use cases:
1) Let the user do data management on layers. E.g. load layers, apply
symbologies, etc.
These operations are not bounded to a specific layer. They should be
available as "Global Actions".
2) Let's suppose I create a plugin with some utility functions, e.g. to do
analysis, data management, etc.
I would like to give the end-user the opportunity to use them, but without
the need to create a plugin (it's still too difficult for the end-user).
giovanni
2012/3/1 Nathan Woodrow <madmanwoo at gmail.com>
> I see what you mean. What would you do with these global actions?
>
> Just trying to get an idea of what is needed/missing currently.
>
> - Nathan
>
> On Thu, Mar 1, 2012 at 8:25 PM, G. Allegri <giohappy at gmail.com> wrote:
>
>> Hi Nathan,
>> I don't mean using some derived BASIC language. The Macros should be the
>> same as Action types (generic, python, etc.). The only difference being not
>> bounded to layers, but available in a menu list.
>> The menu could be a fixed Actions menu for the moment. In the future it
>> could be a customizable option...
>>
>> giovanni
>>
>>
>> 2012/3/1 Nathan Woodrow <madmanwoo at gmail.com>
>>
>>> Hi giovanni,
>>>
>>> Can you give me a use case for these Marcos? I have used MapBasic before
>>> but that is more like what QGIS provides via Python, although MapBasic can
>>> be a bit easier to learn due to it being a DSL[1]
>>>
>>> [1] http://en.wikipedia.org/wiki/Domain-specific_language
>>>
>>> - Nathan
>>>
>>> On Thu, Mar 1, 2012 at 8:12 PM, G. Allegri <giohappy at gmail.com> wrote:
>>>
>>>> Hi all,
>>>> I don't know if this has been already suggested/asked before, and I
>>>> don't know if it's already available somehow.
>>>> I feel there is a hole between Layer Actions and Plugins, which various
>>>> softwares fill with Macros (like OO StarBasic, Mapinfo's MapBasic, etc.).
>>>> It would be nice to be able to write Macros, like in Actions, but on a
>>>> application level and not bounded to a layer.
>>>> The plus would be to let the user assign Macros to custom menu items...
>>>> The last step would be being able to call plugin methods.
>>>>
>>>> Ok, one step at a time :)
>>>> First question: have I missed this option, is it already available?
>>>> Second question: what do you think about it?
>>>>
>>>> giovanni
>>>>
>>>> _______________________________________________
>>>> Qgis-developer mailing list
>>>> Qgis-developer at lists.osgeo.org
>>>> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>>>>
>>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/qgis-developer/attachments/20120301/56dd551e/attachment.html
More information about the Qgis-developer
mailing list