[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-perl
Subject: Re: [Kde-perl] create rectangle in my canvas-class
From: Germain Garand <germain () ebooksfrance ! org>
Date: 2003-04-07 15:58:34
[Download RAW message or body]
Le Lundi 07 Avril 2003 13:03, foobar@web.de a écrit :
> hi @all,
>
> i have a stupid question ;)
>
> why my Qt::CanvasRectangle isn't drawn ;(
>
Hi,
> sub _drawTextArea {
> rec = Qt::CanvasRectangle ( 10, 10, 50, 50, canvas );
> #cpItem = Qt::CanvasPolygonalItem( canvas );
> rec->setBrush( Qt::Brush( Qt::Color(255, 0, 0)) );
> rec->setPen( Qt::Pen(Qt::Color(255, 0, 0)) );
rec->show
might help ;)
Germain
_______________________________________________
Kde-perl mailing list
Kde-perl@mail.kde.org
http://mail.kde.org/mailman/listinfo/kde-perl
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic