[Qt-interest] Drawing rectangular
Yuvaraj R
yuvaraj at ongobiz.com
Mon Sep 21 06:47:11 CEST 2009
Hi All
I am trying to draw rectangular in Main window, But i don't get my output..
My piece of code is:
QPainter *painter=new QPainter(this);
painter->setPen(Qt::red);
painter->drawRect(100,100,100,100);
any mistake is there in above code ?
Thanks
Yuvaraj R
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090921/88a6efda/attachment.html
More information about the Qt-interest-old
mailing list