[Qt-interest] Mirrored QGraphicsView

Oliver Demetz forenbeitraege at oliverdemetz.de
Tue Jul 28 11:40:56 CEST 2009


Hi,

in principle this should be not a problem,
but I was wondering how to set the display
mode of a QGraphicsView to be *mirrored*?

Mirrored for me means to either flip the
displayed contents horizontically or vertically.
This  would conincide with a 180-degree-rotation
around the y-axis or the x-axis, respectively.

I cannot find a direct switch in the docs to
realise this goal, and the QMatrix class represents
a 3x3 matrix, not a 4x4 one which would be needed
to rotate as described.

Thanks for your hints in advance,
Oliver




More information about the Qt-interest-old mailing list