[Qt-interest] Limit scaling of GraphicsScene to widget within

Martin Schröer gordon at gordonswelt.de
Sun Mar 15 20:46:18 CET 2009


Hi List.

I do have a custom widget.
This widget contains a GraphicsScene and within a Phonon::VideoWidget 
along with some other
graphic items.

Problem is: the widget allows the GraphicsScene to scale outside the 
video widget aspect, so
blank spaces occur next to the video widget.

Question is: what is the most practically approach to have the widget 
scale only along the video widget aspect ?
How do i make the video widget the emelent that determines the size of 
my custom widget ?


Martin



More information about the Qt-interest-old mailing list