[Qt-creator] Resizing a window
Chris Bruner
cbruner at quadro.net
Tue Feb 9 18:45:44 CET 2010
I'm trying to do something that I'm sure is simple but somehow escapes
me. I've got a QGraphicsView inside a QFrame inside a QGridLayout inside
a QVBoxLayout inside a QWidget inside a QMainWindow.
I want to resize the window and have the QGraphicsView follow along.
Instead what I see is the window resizeing and the view staying the same
and getting covered up.
I find this ui style very confusing, and have been spoiled by
Embarcadaro's (nee borland) CBuilder in the windows world. To give an
example of how I would do it there, I would create the window, plunk on
a Timage, and set the anchors all on. (akLeft,akTop akRight akBottom all
are true). It would take me all of 5 seconds to do. Whereas I've spent
literally hours trying to get the look I want with the QT's style of
interface (which admittedly is more common in the Linux world).
I guess my second question is, is there a good tutorial that explains
all this stuff?
<rant>
I really wish that QT could pick up some of the VCL tech that
Embarcadaro uses as it is much easier to create a user interface with.
Even Properties and Events are easier. I think they give away limited
free versions if the QT guys want to see what I'm talking about.
</rant>
More information about the Qt-creator-old
mailing list