
Hi all, The last few days I added functionality to spinboxes: you can now type simple math expressions, like 100+20, 55*2, these kind of things. The code to add this functionality was taken from Gimp, very nice! You can try it out in the transform dialog for example. Works also in the toolbar, but... see below.
It also works with units. You can write things like "2 cm", and it will be converted to whatever unit you have selected. Or you can write "(2 * 2 cm)*5 + 3 in".
Toolbar spinboxes also have this functionality, but lack the unit stuff. (where it would be really convenient :( I will not work on this unit functionality in the toolbar. Maybe someone else can work on C++-ifying the "ege action" stuff and widget/toolbar.cpp, a first step on the way to getting there. In all C++ UI stuff it is easy to add, and let me know if it is missing somewhere.
Ciao, Johan