Skip navigation.
KDE Developer's Journals

evil hacks and silly things like that

KDE User's picture

So Eugenia's proposal for a new "usable" widget style (what is dotNET, anyway, chopped liver?) was wrapped in an envelope today as a "KDE style challenge", whatever that's supposed to mean, by someone I happened to see on IRC. I then explained that, despite the fact that the snake menus she put on her mockup are nifty looking, they are in fact insanely difficult to code, but not impossible. Just ugly and scary.

Others were interested. "So you have written snake menus before?" And I explained. Yes. In fact, with Qt, you can do all sorts of crazy shit that most people wouldn't imagine. But I used dotNET as the basis for the snake menus that I implemented and after I had them working halfway (and I probably could have finished it, but I was scared of the code at this point) I deleted the fork and tried to forget about my sins.

But the discussion continued. And I pointed out that I had written another neat hack style before, one that I still haven't seen anybody else do anything like. And just to prove that I'm not always full of shit (only when I've had waaay too much to eat) I went ahead and dug out the code to my se7en style. And after about half an hour of fighting differences with the old QStyle API (this was code that was written against Qt 3.0beta5 if I remember correctly), it compiled once again, and worked. So it is now off in the wild, to be loved or shunned. And I want feedback on it.

http://www.kde-look.org/content/show.php?content=9549

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
cshobe's picture

What are snake menus? The on

What are snake menus? The only thing that seems to work here is the text on the buttons going crazy, unless I'm not looking hard enough.

ralsina's picture

OK, that´s a little evil

But I´ve done worse Smiling

http://www.pycs.net/lateral/weblog/2003/12/15.html#P113

tjansen's picture

KDE RSS Newsfeed

Reminds me of the need of a RSS newsfeed for KDE affiliated people, similar to Platet Gnome. Volunteers? Smiling

KDE User's picture

I'd be interested

But... ummm...

Doesn't http://www.kdedevelopers.org/blog/ work pretty well already? Eye-wink

ralsina's picture

Only for this site

There are a few KDE-related blogs elsewhere. Like mine Eye-wink

andre's picture

Qt 3.2 only :-(

I would have loved to check out your animated style, but alas! It won't complile on Qt 3.1.x Sad

KDE User's picture

Actually, you are incorrect

Well, that, or I'm a jackass.

It is true that I packaged this rather poorly, as I don't have the resources or the inclination to test this hack out on a wide variety of setups myself.

However, someone on IRC told me that they were able to make it work by tweaking a file to make the minimum config 3.1 instead of 3.2. I don't know how they did it, but if you drop by #kde-devel on freenode, I'm sure you could find out.

cshobe's picture

acinclude.m4: kde_qt_mi

acinclude.m4: kde_qt_minversion=">= Qt 3.2"
aclocal.m4: kde_qt_minversion=">= Qt 3.2"
configure: kde_qt_minversion=">= Qt 3.2"

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.