[Qt-interest] Draw Line ON Mainwindow
Sujan Dasmahapatra
sdh at lmglasfiber.com
Thu Feb 5 08:25:09 CET 2009
Dear Friends
I am Dasmahapatra a developer with Qt......I have my application with
the mainwindow or mainwidget which is a QWidget * widget, the
menubar,toolbar,statusbar,treeview,console window etc these are made by
Qt Designer.........So I want to draw a line on the mainscreen or on the
mainwindow or on the mainwidget which is QWidget
*widget.................I have tried by defining a class derived from
QWidget and by implementing the paintEvent function from QPaintEvent but
that is drawing on a seperate widget being appeared on the
mainwindow....but I want to draw on the mainwindow.how could I achieve
this. Please someone help me ..........I am stuck.......I am using LINUX
Qt..........Thanks...
Kind regards,
LM Glasfiber R&D (India) Pvt. Ltd.
Sujan Dasmahapatra
Project Engineer - CFD
Telephone: +91 80 66470248
Mobile: +919900839788
E-mail: sdh at lmglasfiber.com <mailto:sdh at lmglasfiber.com>
--------------------------------------------------------------
This e-mail and any attachments are confidential. If you are not the
named or intended recipient, please notify the sender immediately and do
not disclose the contents to any other person, use it for any purpose or
store or copy the information in any medium. Any unauthorized
disclosure, use or storage is prohibited and might be unlawful.
-------------------------------------------------
This E-mail and any attachments are confidential. If you are not the named or intended receipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose or store or copy the information in any medium. Any unauthorized disclosure, use or storage is prohibited and might be unlawful.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090205/a1c168e7/attachment.html
More information about the Qt-interest-old
mailing list