Hi!

I am writing an print preview. I subclassed the QScrollArea and overrided the paintevent,
so i draw direct on it. Now I want to make "Fit Page" and "Fit Width" like in Adobe Acrobat Readers print preview. Currently I am having trouble with "Fit Page" because the content
wont strech with the window. I tried different kinds of wariations with layers but no effect.
I also tried to scale it with the ratio of width() and hight(), but i don't get the wished result.
Is someone having similar experiences?
I would be very thankful if someone could help me out of this misery.

Thanks.