kis_canvas and widgets

Sven Langkamp longamp at reallygood.de
Fri Mar 25 15:10:35 CET 2005


On Thursday 24 March 2005 19:50, Michael Thaler wrote:
> Hello,
>
> I was thinking about improving the crop tool a little bit. Actually it
> would be very nice to add handles like in gimp to resize the area to crop.
> The easiest way would probably be to paint a widget on the kis_canvas. Now
> I have to questions;
>
> - is there a function to get a pointer to the kis_canvas that can be used
> as a parent widget for my widget?
>
> - is it at all possible to paint regions of a widget transparent? I thought
> about drawing lines and handles, but the background of the widget must of
> course be transparent, so that you see the actual image.
Maybe Qt 4 will offer what you need:
http://doc.trolltech.com/4.0/qt4-styles.html

But I think the current way will be better in the end.


More information about the kimageshop mailing list