SenSej
25th September 2008, 23:45
Hello there,
my_mainwindow got an inserted QFrame as placeholder to display some pictures.
For testing purpose i modified the 40000 Chip example to display the chips in the QGraphicsview whithin my QFrame.
I have no layout or other "widgets" between QFrame and "view", as the QGraphicsView is called in the example.
The Chips are shown in the QFrame. The QGraphicsView is hang up at pos 0/0, but it is bigger than the QFrame. So i cant´s see the button and left side from the QGraphicsView.
How can i tell the View, to inherit the size of the QFrame. Even if the QFrame get streched by streching the mainwindow? I just want to fit the View in the QFrame.
Do this belongs to the viewport of the QGraphicView?
Is there a chapter in http://doc.trolltech.com/4.4 talking about this size/resizing issue?
Hint are totally welcome.
Thanx in advance
my_mainwindow got an inserted QFrame as placeholder to display some pictures.
For testing purpose i modified the 40000 Chip example to display the chips in the QGraphicsview whithin my QFrame.
I have no layout or other "widgets" between QFrame and "view", as the QGraphicsView is called in the example.
The Chips are shown in the QFrame. The QGraphicsView is hang up at pos 0/0, but it is bigger than the QFrame. So i cant´s see the button and left side from the QGraphicsView.
How can i tell the View, to inherit the size of the QFrame. Even if the QFrame get streched by streching the mainwindow? I just want to fit the View in the QFrame.
Do this belongs to the viewport of the QGraphicView?
Is there a chapter in http://doc.trolltech.com/4.4 talking about this size/resizing issue?
Hint are totally welcome.
Thanx in advance