Category Archives: KDE

Demo showing the use of animated layouts…

This example shows an implementation of a custom QGraphicsLayout that tries to keep the layout as much “squared” as possible.

But the main thing being shown here is that the layout deals with a QGraphicsLayoutProxy, making it transparent for someone who is just adding or removing items from the layout, so all items are automatically animated when they change a position inside the layout or we change the size of the layout.

Jeez has more explanations here, but if you want to just watch the demo, take a look at Openbossa channel or just watch it below:

More news from Plasmaland

Well, it seems to be the season when Plasma developers are blogging again about their progress =)…so..here I go =)

The weeks befora Bossa Conference Sebas started helping me with Pastebin applet as we discussed during Tokamak: it was not as sexy as a plasmoid needs to be. So he just started (re)doing the UI bits and I tried to help him a little bit. We cleaned the code, changed the UI completely and now it’s much better!

New pastebin UI (left default view, right mouse hover view)

Default view (left), Mouse Hovering (right)

Now you can also put it on your panel and have something that looks nice (instead of just a sentence telling you to drop stuff in that region)..We also added tooltips showing the status of the applet.

How it looks on the panel

How it looks at the panel

Today the only thing that was not working was fixed and now notifications are working! So when it finishes posting your stuff, you’ll see a nice kde4 notification telling you that the URL was automatically copied to your clipboard.

pastebin's notification

pastebin's notification

From the functionalities point of view, thanks to Davide we now have a context action (right click menu action) that performs a “paste” if you copied something (CTRL+C) and wants to directly paste into the applet. I also made it more “mouse friendly”: you can also middle click it and what you have in your clipboard will be pasted.

Now I’m really looking forward GSoC proposals and I hope to be a good mentor. There are a lot of proposals and the subjects that most interest me are Plasmate, Kinetic and Plasma-MID. Two weeks ago I gave a talk about GSoC and KDE at a local university. It was really good:

Talk about GSoC (left) and students (right)

Talk about GSoC (left) and students (right)

Now I’m planning to really focus on plasma-mid and plasmate that are the running projects (during my free time). As (almost) everybody knows, during work we’re playing with Animated Layouts inside Kinetic.

Videos from Bossa 09 available!

For those who unfortunately were not able to come to Bossa Conference this year, we are uploading the talk’s videos to our “channel” on blip.tv: http://openbossa.blip.tv.

Bossa 09 Logo

There are really interesting talks from Trolls (Qt), python, maemo, e17, kde and lot of other stuff. Check the abstract of the talks here.

Hope you can come next year πŸ˜‰

PS: photos by Sebastian: http://vizzzion.org/?id=gallery&gcat=Bossa2009

Animated Layouts with Qt Kinetic

Last week we finally had the first demo of our current work. We are working on animated layouts with the Qt Software guys. It has been a great great time. We are really happy with this work and the results that will come in the near future.

When we talk about animated layouts, we mean that when you change the layout of your widget you want that to have that change in a fancy and animated way (at least when you talk about Qt Kinetic). So we just finished the basic work to allow that and the next step is to define the API of setting animations between the changes of layout.

Right now we use the concept of states (using QStateMachine), a new way of setting a layout without destroying the old one and also a little hack to use QAnimation (this hack will go away as soon as we define a nice API).

Basically all you have to do is to use our concept of “proxies” and instead of adding your widgets to the layout you add this proxies. Each proxy must be associated with a widget and each proxy is associated with a QAnimation. Each QAnimation makes use of a different QEasingCurve making each widget have a different animation.

What is really nice is the fact that when you put all the concepts together you get a lot of “job done” for free, for example when you insert/remove an item from a layout it does the resizing and moving of the other widgets in an animated way also.

If you want to know more about this solution of Qt Kinetic, join us at #qt-kinetic on Freenode and take a look at my co-worker’s blog also: http://blog.eduardofleury.com/?p=51.

Layout Animations

New QEdje version

Today we released a new version of QEdje and QZion (0.4.0).

This release includes a lot of bug fixing and also the change from qmake to cmake :-). We did some code refactor, fixed a LOT of bugs, improved a little bit the python bindings, improved support for mouse events and even created a signal to help the use of QEdje on Plasma wallpapers…

We also changed our repository and now it’s located at http://code.openbossa.org. We are moving all our open source projects to this host and hopefully we’ll have more projects there in the next weeks ;).

Tokamak II

Last week we went to Porto and had Tokamak II, the plasma’s developers meeting. It was just a wonderful time and it was great to meet some people again and to put faces in some nicks.

I mainly worked on Plasmate, the new “plasma IDE” for writing scripted plasmoids. Specially in the previewer and I used the time to also take a look at some bits of plasma that I didn’t have the chance (time) to look at yet. So now I can say that I can help with plasma even more and that I have a lot of ideas for the upcoming releases.

A lot of good stuff was also showed there like the status of Qt-Kinetic, ideas for the picture frame, improves on extenders, crystal, lion mail, community stuff, etc…

Thanks KDE for this wonderful oportunity and I hope we can keep improving plasma for everybody πŸ˜‰

Plasma devs

Tokamak II

I just finished my small presentation for tomorrow and I’m already at the boarding gate. It looks like that the fligth is empty, just a few people here and most of them are europeans going back home after holidays.

At this time nobody stopped me at the security check, what is a miracle because every time I have to open my handbag. It’s really hot here and very cold at Porto so I’ll problably have what they call ‘thermal shock’ hehe.

I have to board now, so…..see you πŸ˜‰

Ah, almost forgot to say that this is my first post from my n810..

Bossa Conference 2009

It’s coming! Finally! Every year before the conference I have this feeling of happiness mixed with a lot of expectation. This is the third edition of this conference and the other two was just awesome….

It was after the first one that we started working on the base of Canola2, after the second one we started working on QEdje and….what will be this year ? hehe…To be honest I already have some idea of what we are going to do but, I’ll just wait πŸ˜‰

About this edition I can say that we’ll have people from even more open source communities, having the pleasure of receiving KDE people. Who comes to Bossa Conference will have the opportunity toΒ  watch talks about Qt Kinetic, declarative UI’s, Webkit, Plasma, Enlightenment (EFL), software security, HAL/PolicyKit, Python, wireless technologies, free software licenses, Openembedded, VoIP, Maemo…..ouch, a lot of topics πŸ˜‰

Besides that we have hacking times with code camps, discussions inside the pool, parties, beach and a lot of food =) hehe…

Being honest: It’s just great! It worth it =). I hope I can meet some of you guys there (some I already know I’ll meet).

So after a year of conferences: aKademy, Maemo summit, linuxconf.au, Camp KDE, here comes Bossa Conference. Take a look in the video below to see what happened last year….

Bossa Conference 2008

If you want more information just visit the conference’s website or talk to me on IRC / email!

And just a month before this I’m going to Tokamak II (btw, thanks pinheiro πŸ˜‰ )….how wonderful is life =P

See you πŸ˜‰

Let the paste begin

Now almost all my wishes to pastebin plasmoid have been accomplished: the possibility of configuring the plasmoid to post to your own pastebin server.

So, for those who have a pastebin inside company’s intranet or even prefer to use one of the subdomains that the pastebin servers provide, all you have to do is go to settings dialog from pastebin plasmoid and put right there, in the “Servers” section, the address of your server. I must say that it only supports servers that runs one of the 4 backends (pastebin.ca, pastebin.com, imagebin.ca and imageshack.us). If you would like more backends, please just send a patch or tell us in #plasma πŸ˜‰

Next step is to give some UI love to it: some “title” label, so you know with server it’s using, a nice icon….

pastebin server section

pastebin server section

Animated Wallpapers for Plasma

It has been some time now that the QEdje’s wallpaper plugin for Plasma is on playground, but just yesterday I had some time to finally write a patch for QZion to enable the correct painting of the animated wallpaper. This patch still needs to go mainline in QZion…

Anyway, for those wanting to see a little demo take a look at the video below:

Plasma Animated Wallpaper

Cheers! πŸ™‚

UPDATE: here is the QZion’s patch http://dev.openbossa.org/qedje/gitweb?p=qzion.git;a=commit;h=4d7901de03d2ce86ab31fd67b0be7a2fe6de6c21 . So people using qzion/qedje from trunk can use that =)