Just a thought...

There has been some talk here at the office about making custom stylized buttons in Qt 4. Since the Qt 4.1 painting is pretty friggen cool I played around with a tool that can generate stylized buttons.

Basicly what the bugger does is takes in a set of bitmaps and allows the artist to create a metafile that can be converted into a Qt Designer widget plugin, as well as code for use in a C++ application. As developers go, they would just see it as a QPushButton. The artist would see a bitmap.


The goal here is to make a tool that artists can work with to build customized buttons without having to mess with code, or even designer. Also since the developer can use the generated widget plugin in their UI files without having to care about integrating artwork, or maintain the code. Now this is just a simple attempt. I would be shocked if in its current incarnation it was even usable by anyone but me. Its just a pushbutton, and wont solve world hunger. I'm mostly interested in if artists care. Could this be the tool that brings all those screen mockups from kde-look to reality? I figure I will attack one GUI element at a time until I have something that can take an artists composition and turn it into code.


I'm not a graphic artist by any means, but I have to work with one on a daily basis trying to come up with custom widgets/buttons in QT4.

Right now we're just using an overloaded QLabel so I can easily apply the png's that are created, with different png's for different states to fake a push button.

I think a program like this would help greatly for networking between programmers and those graphic artists who have no interest/time to learn coding custom widgets.

Do you have the program up somewhere to try?

By mattlaughs at Thu, 01/05/2006 - 19:21


if you provide a .deb, .rpm, .tgz or .bz2 bundle download URL, I could provide a klik recipe for it.

BTW, what happened to your other Qt for app which you once had a .cmg for?


By Kurt Pf. at Fri, 01/06/2006 - 00:08

...how to distribute it. right now its a gui and a command line tool that fits into a qmake build rule. there are a few plasma guys bothering me for it, so i should have a release in a few days :)

By Ian Reinhart Geiser at Fri, 01/06/2006 - 02:19