Widget to draw lines in exist?

wathavy wathavy tacowathavy at yahoo.co.jp
Mon Mar 7 12:43:38 GMT 2005


I want to add related query.

I also wondered at skelton program with KDE.
Are there way to draw lines in client area?
When you create new project with
[C++]-[KDE]-[Application Framework]
You can have client area white  where
one seem to have somewhat like this.

void appfrm01View::print(QPainter *p, int height, int
width)
{
    // do the actual printing, here
     p->drawText( 0, 0, "Text Drawn\n", 20, NULL);
}
Of course the above is activated when you 
press "Print" menu. but I wonder if there is
a way to say.

void appfrm01View::paint(QPainter *p, ....)
{
     p->moveTo(0,0);
     p->drawLine(100,100, Heavy_line, pen_solid);
}

Thank you for your attention.

Wathavy.

> Hi.
> I want to draw lines to display somewhat like
> surface rogousity of a plain.
> 
> http://women.kde.org/articles/tutorials/kdevelop3/
> gave me dialog sample application which works as it
> is.
> 
> So I wish to know if I could place picture-box
> widget
> where I can draw lines in.
> 
> Are there something like this?
> 
> or.. There is no such a thing?
> 
> Thank you.
> 
> Wathavy
> 
> __________________________________
> Let's Celebrate Together!
> Yahoo! JAPAN
> http://pr.mail.yahoo.co.jp/so2005/
> 
> 
> -
> to unsubscribe from this list send an email to
> kdevelop-request at kdevelop.org with the following
> body:
> unsubscribe �our-email-address�

__________________________________
Let's Celebrate Together!
Yahoo! JAPAN
http://pr.mail.yahoo.co.jp/so2005/


-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop mailing list