środa, 17 sierpnia 2011

Marble in Calligra

Hello Readers,
I would like to share with You some news about my work in GSoC and that is adding Marble maps to Kexi and as a Flake shape to other Calligra suite applications.

In my previous blog entry I've shown a little video showing working maps with Kexi Forms, but that was only a beginning. Since then lots has changed.
First of all I've connected Forms to database. We can not only display the map but also store position (and zoom level) in database and then restore this information later, and even display maps in reports.

This short video shows working forms:


As You may notice there's only one column for Marble data and we need three variables - latitude, longitude and zoom - in current version of Kexi one element/widget can be connected to only one column, so needed data are combined serialized and then stored as special string.

Another new thing is 'Marble Map Flake Shape', so now all Calligra Suit applications may add Map to created document, next video shows how to add and manipulate Marble maps in "Words", than already existing document is opened and shape is still editable.


We are using odt so this document can be loaded in LibreOffice - of course in LibreOffice you can't change displayed map - you will get just a preview picture.

Those of you that played with Marble, may notice that for map editing we are using standard Marble widget, so anything Marble Team add/change to it, it will be shown.

Of course there are still few things that could/have to be done like choosing some stable marble and marge with current Calligra Suite code.

As usually code is already available at Calligra repository in branch 'kexi-maps-wicik' [3]

[1] video 1 - http://www.youtube.com/watch?v=i6UHPOtJdLY
[2] video 2 - http://www.youtube.com/watch?v=KufdVe4ajAI
[3] https://projects.kde.org/projects/calligra/repository/show?rev=kexi-maps-wicik

czwartek, 14 lipca 2011

GSoC: Marble in kexi Reports

Hello Planet!


This is my firs news that should go to Planet so I'll start with brief introduction.

I'm Radosław Wicik and I'm living in Poland in city very close to Warsaw where I work and learn.

Few months ago I've joined Calligra Suite team and engaged into Kexi. I've started working on adding maps (Marble) to Kexi, just before GSoC and than this changed to GSoC project which also includes adding Marble not only to Kexi but also to other Calligra applications.

Today I would like to share with you some news. So far I focused on just embedding widgets, last time I've added Marble to Forms [1] (what was made public by Jarek in [2], because my blog wasn't tracked yet), and last week I've finished embedding Marble in Reports.

Here it is a little video:



As always code is available in Calligra repository in branch kexi-maps-wicik[3]

There still are few "glitches" like there is only placing of marble widgets on reports and saving in project, but there still lack connection with data in database, which I'm working on and hope to finish it by the end of the next week.


[1] - http://rockfordsone.blogspot.com/2011/04/marble-in-kiexi-forms.html

[2] - http://blogs.kde.org/node/4419

[3] - https://projects.kde.org/projects/calligra/repository/show?rev=kexi-maps-wicik

sobota, 9 kwietnia 2011

Marble in Kexi forms

Hi,
as I promised yesterday, oh wait it was today, Today I'll show you Marble in kexi forms. But before that few wards of explaining what is what.

Kexi - in short, database for people - part of Calligra Suit.
    more on both can be found on these pages:
    http://www.calligra-suite.org/ and http://www.calligra-suite.org/kexi/
Marble - in short, virtual globe – part of KDEedu
more on Marble you can find on project page: http://edu.kde.org/marble/

Last week (1-3 April) there was Calligra Sprint in Berlin (Link here) it was my first sprint, close enough for me to go (only 5h by train), during the sprint I've meet lots of interesting people, and it was excellent time for some hacking.
I've finished my first implementation of Marble Widget for Kexi forms.


Today I'll just show you how it works, next time I'll write how I've done that.

There are still some errors like disappearing Marble icon, configuration is not passed between Design and Data modes, but it is just beginning and I already have few thing to write about.

Sources of this feature available at:
You also need Marble-dev package.

Next time there will be some source code.

piątek, 8 kwietnia 2011

First time here

So I've just created a blog.
This blog will show my close encounters with mainly with Kexi and sometimes with other Calligra internals.
I will not write how to use (or rather rarely) the Calligra Suite, rather how to develop it.
You probably will find here lots of C++ code, and my attempts to explaining them.
Ok, that's all for now. I'm going to bed.

And for tomorrow: Marble in Kiexi forms.