KDE

Lancelot not for 4.o

Due to a lot of SPAM pingbacks waiting for moderation, I have realized that I haven’t posted anything for a long time.

So, what is happening?

Unfortunately not much. At the moment, I have to prepare my exams, and therefore I don’t have enough time to prepare Lancelot for 4.o even in the state I wanted it to be.

This maybe is even a good thing. Lancelot was supposed to be useful for 4.o, but without most of the advanced features and reconfigurability. I suppose that I would get a vast amount of feature requests that I already planned to have in the future. Besides that, people would probably be turned off of Lancelot and would never give it a second chance.

FlipLayout

Some things /are/ done which were planned for 4.1. The latest is rearranging the items… or to call it flipping.

The thing that is responsible for rearranging is the FlipLayout which is a meta-layout that is able to use any other layout for the actual item arranging, but flips it horizontally, vertically or both.

Here is an example of creating the layout:


layoutMain =
    new Lancelot::FlipLayout
        < Plasma::BorderLayout >
    ();

And this is everything you needed to do. The FlipLayout is a drop-in replacement for any other layout so the only change you need to make to your code to add the flip support is to replace YourLayout with Lancelot::FlipLayout < YourLayout > - and that’s it.

Note: as you can see, the FlipLayout is in Lancelot’s namespace - it is not in libplasma. If you would like it to be in libplasma, just ask…

  • E-mail this story to a friend!
  • Digg
  • Technorati
  • del.icio.us
  • TwitThis
  • Google

7 Comments »

  1. i dont like this closed opensource development :-( thats not how it works .. :-( but i can understand why you do this, but this is not how it works

    Comment by chris — December 1, 2007 @ 11:28 am

  2. chris: ehm, where does he speak about closed source development? and what is closed opensource development? pardon?

    and to the lancelot developer(s): thanks for spending your time to kde, this is a great plasmoid!

    Comment by litb — December 1, 2007 @ 11:41 am

  3. chris: Lancelot is in the SVN repository … nothing’s closed.

    Comment by Sho — December 1, 2007 @ 12:06 pm

  4. I am eager to use the completed lancelot :)
    BTW i had a look at your resume today, and dude you are awesome. You excel in studies , do projects, contribute to open source, play guitar, you have received quite a lot awards and.. many more.
    Really good to know to about you :)

    Comment by Gopala Krishna — December 1, 2007 @ 1:01 pm

  5. Dud, thanks, the FlipLayout will help for Hebrew and Arabic users. I assume you plan in merging when a branch is taken?

    Comment by elcuco — December 1, 2007 @ 3:49 pm

  6. i was actually looking at flip layout a week or two ago when i made some api changes to the layouts. neat.

    and yeah, please feel free to move it into libplasma (workspace/libs/plasma/layouts of course =)

    Comment by Aaron J. Seigo — December 1, 2007 @ 8:26 pm

  7. @chris
    As some of the people here mentioned, L is in KDE’s SVN. You could call it ‘closed’ only in a sense that I’m the only one working on it and making decisions for it.

    @Gopala Krishna
    Thanks! What can I say, it all just happened accidentally ;)

    @Aaron
    Well, … I’ll write you an e-mail :)

    Comment by admin — December 2, 2007 @ 8:17 am

RSS feed for comments on this post. TrackBack URL

Leave a comment

Powered by WordPress
Copyright by Ivan Čukić, Foment Group