You are using an obsolete web browser, or you have the page styles (CSS) disabled. You'll be able to access this site, but only a visually simplified version.

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…

Share and Enjoy:
  • FSDaily
  • Slashdot
  • Digg
  • del.icio.us
  • Identi.ca
  • Twitter
  • Technorati
  • Reddit
  • LinkedIn
  • Netvibes
  • StumbleUpon
  • Facebook
  • Add to favorites
  • email

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 — 1 December 2007 @ 11:28 Reply to this comment

  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 — 1 December 2007 @ 11:41 Reply to this comment

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

    Comment by Sho — 1 December 2007 @ 12:06 Reply to this comment

  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 — 1 December 2007 @ 13:01 Reply to this comment

  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 — 1 December 2007 @ 15:49 Reply to this comment

  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 — 1 December 2007 @ 20:26 Reply to this comment

  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 — 2 December 2007 @ 08:17 Reply to this comment

RSS feed for comments on this post.

Sorry, the comment form is closed at this time.