[Qt-interest] dockwidget problem

Sujan Dasmahapatra sdh at lmwindpower.com
Wed Oct 20 11:29:14 CEST 2010


Dear Friends

In my QMainwindow i have QGraphicsView and QTreeWidget, I want these
widgets to dockable and resizable, I am trying like this 

 

QTreeWidget *treeWidget = new QTreeWidget(this)

QDockWidget dock(this,QT::Window);

dock.setWidget(treeWidget);

dock.show();

 

QGraphicsView *view = new QGraphicsView(this)

QDockWidget dock(this,QT::Window);

dock.setWidget(view);

dock.show();

 

But this is not working can someone give me some hints how could I
achieve this. Thanks in advance

 

 

Kind Regards,

 

 

Sujan Dasmahapatra
Project Leader, Aero Group
Aero Group

Tel    +91 80 66470248
Mob  

sdh at lmwindpower.com <mailto:%25EMAIL%25> 

 

 

LM Wind Power Blades

lmwindpower.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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20101020/8cce3273/attachment.html 


More information about the Qt-interest-old mailing list