[Marble-devel] Marble Declarative plugin extension for making QML interface for plugin settings
Anton Chernov
chernov.anton.mail at gmail.com
Thu May 31 12:12:16 UTC 2012
Hello Torsten and others!
Thank you for hint. I have just checked it out. Very smart idea about
custom delegates for a plugins. It will be very useful to add
different usability on custom Items, for example in my to project i'll
add messaging interface there. Custom delegates also solve signalling
problem - now i can handle signals from items directly in QML. It is
Very Powerful Thing.
Some words about my patch... The patch allows to change plugin
settings and properties (visible, enabled etc.) directly from QML. So
It is proposed commonly for manage plugins settings, may be you or
Dennis could review it.
Best regards,
Anton
2012/5/31 Torsten Rahn <tackat at t-online.de>:
> Hi Anton,
>
> thanks for your input on this topic. Did you see
>
> http://nienhueser.de/blog/?p=440
>
> "QML Layers in Marble" ?
>
> I guess Dennis has a few more comments on this topic.
>
> BR,
> Torsten
>
>
> On Donnerstag, 31. Mai 2012 12:33:13 Anton Chernov wrote:
>> Hello Marble developers.
>>
>> I'm going to use Marble for special data processing case for internal
>> usage in my company.
>> I use QML for user interface in my project and I'm working on Marble
>> intergarion to the project now.
>>
>> I think the best way to add some extensions to Marble is add a Render
>> or Runner, or FloatItem plugins. But using Marble plugins in QML are
>> little bit complicated, because we can only select active
>> RenderPlugins and FloatItems but not manage theirs properties or
>> handle events.
>>
>> I develop some additional class (DeclarativeRenderPlugin) which
>> provide QML interface for plugins and share this interface from
>> MarbleDeclarativeWidget. This extension allows get and change plugin
>> properties, enable or disable plugins in QML etc. The example project
>> based on "explore" example of Marble is also attached. The patch is
>> based on current Marble master tree (commit
>> 0299004157ce00cf901b6113c4ac14fa0c323c00 ).
>>
>> I think this kind of functionality in Marble declarative plugin will
>> be very very useful. The code of patch may be a little rude, but shows
>> the idea. I can continue this work if you say that it is needed.
>> I'm open to your suggestions and feedback.
>>
>> Best regards,
>> Anton Chernov
>> LOTES TM LLC,
>> +7910107001,
>> +74996383760
>> skype: chernov.anton
More information about the Marble-devel
mailing list