Setting the orientation of QWidget extended class

asked 2015-01-31 13:21:03 +0200

m4r0v3r gravatar image

Basically I have a class that extends QWidget and I cannot for the life of my show this in landscape. I've tried using the QGraphicsProxy or so to place is inside a QGraphics scene, but I haven't had any luck since it requires a QWidget and am adding a different Object type, ViewContainer and it refuses to cast to QWidget.

Is there any way to make this work? Or would I remake the QWidget to a QML type?

Cheers

Martin

edit retag flag offensive close delete

Comments

You should perhaps post this over IRC or Developer mailing list for better developer visibility.

anandrkris ( 2015-01-31 14:35:55 +0200 )edit

will do cheers :)

m4r0v3r ( 2015-01-31 17:11:37 +0200 )edit