[Qt-interest] placing widget in the GUI, weird behaviour of QTDesigner....
Giancarlo Amati
ilferraresebono at hotmail.it
Thu Apr 16 10:04:33 CEST 2009
Good morning guys,
I'm trying to design my GUI, I want to add a TreeView widget on the left side of my main window.
My main window already has a centralWidget QVtk which is the widget for my 3Drendering. Now,
as soon as I drop the treeview widget in the main area, it happens like in picture qtreeview1.jpg that is
the overall area of the window is taken by the treewidget. now, I compile my project and run the exe file, and I get
that the GUI looks like in the ptreeView2.jpg. So, the qtreeview is like part of the centrawidget or soemthing, it expands and shriks in accordance with the mainwindow size (behanviour that I don't like), so....I just want to add a treeview widget on the left side of the mainwindow.
What's wrong with what' I'm doing?
Kind regards.
Giancarlo
_________________________________________________________________
25 GB di spazio gratuito su Internet! Prova SkyDrive
http://clk.atdmt.com/GBL/go/140630371/direct/01/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090416/42607323/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: qtreeview1.JPG
Type: image/jpeg
Size: 103881 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090416/42607323/attachment.jpe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: qtreeView2.JPG
Type: image/jpeg
Size: 35185 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090416/42607323/attachment-0001.jpe
More information about the Qt-interest-old
mailing list