I want to create a widget the displays a QGraphicsView in a way that looks like Acrobat Reader of Word displays documents, ie. that the user has the impression of a page floating above a tabletop. Does anyone know how to achieve this?
I want to create a widget the displays a QGraphicsView in a way that looks like Acrobat Reader of Word displays documents, ie. that the user has the impression of a page floating above a tabletop. Does anyone know how to achieve this?
But what is the problem? Have you already tried anything? According to me simple and acceptable solutions are to embed the view into a "page" widget or to draw the "page" as the background of the scene visualized by the view.
The first thing I did was to embed the QGraphicsView into a QWidget. That's not what I'm talking about. I mean when you look at Acrobat Reader or Word they make the page appear as though it's floating above the widget, casting a shadow. I can't achieve that look using Qt4, and was wondering if anyone knew if it was possible.
Create two items: a white page item on top of a gray shadow item.
J-P Nurmi
Bookmarks