Blog moved & new home

Blog movedI finally decided to get some hosting, and I’ve moved my Blog there. WordPress.com was great, but now I’ve got my personal space with all the storage and bandwidth to host all my OpenSource projects..

As side effects:

See you there ♦

Annunci

Quax 4 – a tale of porting

Note for planetqt readers: the title should be ‘Quax 4 – a tale of porting’

Once upon a time, a little application called quax was landed on kde-apps. As imagination is better served by a picture, here is what quax looks like:

Quax after being ported to Qt 4.5.

Quax after being ported to Qt 4.5.

It’s nothing but a simple and easy to use screen magnifier. You can move it around and place it near the detail to magnify. Plus it lets you pick the color of a pixel. It’s the perfect tool when you’re tuning the style, pixels and gradients of your beloved app πŸ˜‰ It had only one drawback: it was build with Qt 3.

Porting Quax to Qt4

It was the first time I had to port an application from Qt3 to Qt4. Here are some stats:

  • The porting took 3 hours (you can see it from the git history, dinner included πŸ˜‰ )
  • I did the following:
    • create the project files
    • use qt3to4 with that files
    • make it compile disabling some code chunks
    • re-enable the disabled code in a qt4 way
    • disabled qt3 support from the .pro file and fixed all until it compiled
    • update the packaging informations, readme’s
    • published Quax 4 in kde-apps
  • The source code dropped from 670 to 547 lines of code. So Qt4 saved 14% of code compared to Qt3 for this project.
  • The cleanness went drastically up, the API of Qt4 is a big improvement over that of Qt3.
  • I can’t talk about speed or graphics improvements.. but if you look at the old screenshots you’ll see that the font rendering was really improved in Qt4

Conclusion

Finally I have quax back, and you can have it too! πŸ˜‰ The source code is on gitorious, and here is the kde-apps page. A final thank word to Claudiu Costin (the original author) and Vlad Oancea (the skin designer). I won’t maintain quax4 and I don’t plan to add any features, I’m just glad I can keep my box Qt3 free while designing pixel-perfect graphics thanks to this cute little utility πŸ˜‰

Fotowall 0.7

Fotowall 0.7.1 has been released today! Get it while it’s hot πŸ˜‰

FotoWall 0.7

New features in Fotowall 0.7. In the top left area you can see the web image selector.

With this release Fotowall integrates with the deep web. You can now search the network with the embedded flickr search pane and add the images to the canvas. This opens up an infinite can of content, all available for your pleasure ;-).

Other relevant features include:

  • support for Qt 4.6 (brings animations and transparencies)
  • usability fixes (rubberband selection, deletion, etc..)
  • cleaner design (new icons, loadable frames, better property dialogs)
  • italian, french and german translation
  • check for updates and web links

Don’t hesitate to ask for missing features and always remember that you can rotate pictures by dragging corners with the right mouse button πŸ˜‰

Enjoy your Fotowall!! πŸ˜€

AutoGram – The machine Vs The machine

Hello, it’s me again, back on the cheating bandwagon πŸ˜‰ Last time we talked about BioCheat, and now we add another piece of the web-automation jigsaw puzzle: AutoGram.

Please enjoy this HQ stream of deceptive video pixels while I explain this fine new piece of trickery πŸ˜‰

As you can see, this other frustration-driven program lets you climb the ladder of a typical facebook game while drinking coffee or feeding your pet!

So, before starting you need: Continua a leggere

BioCheat – The machine Vs The machine

update: XP/Vista download here πŸ˜‰

You are happily wasting time on facebook (that site with all the ignore buttons, with noisy stuff from people who call themselves ‘friends’ of you.. you know..) when you unfortunately get hooked up with Biotronic. This flash game is quite nice, but there is a rank ladder on bottom and you’re last. So you play and play … still last, play even more.. still last.. can you see the frustration?! The layman’s answer is to play (aka waste hours) to get better and climb the ladder..

And then there’s the programmer’s answer: I’ll write a Qt program to get me on top!! πŸ˜‰ (yes, and still waste hours :D) — Here is the result: BioCheat πŸ˜‰

The game is in FLASH, so no HTML or DOM tricks, you have to emulate eyes, brains and hands (only 1). Continua a leggere