[Qt-interest] resizing the window
Sujan Dasmahapatra
sdh at lmwindpower.com
Mon Apr 25 08:36:52 CEST 2011
Dear Friends
I have a QScrollArea where I am fitting many widgets onto it. Now a
treeview is also there on the left side of the window. So when I click
to launch the widgets some portion is only visible. How can I resize the
widget to fit to the screen.
QScrollArea *area = new QScrollArea(this);
QWidget *widget = new QWidget(area);
area->setWidget(widget);
This is setting the widget but since a treeWidget is also there so some
portion of the widget is not visible on the right side. How can I fit it
onto the screen. Thanks sujan
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
Together we capture the wind to power a cleaner world
________________________________
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/20110425/f45e4093/attachment.html
More information about the Qt-interest-old
mailing list