Hi,

I'm trying to implement a calendar-like widget using the QGraphicsView and
QGraphicsScene classes. I think they provide some very useful features, such as item collisions, for my application. The problem comes when adjusting the window size. I need to adjust the grid space for a week view (monday, tuesday,...) to the window width, without horizontal scrollbar, but not for the window height (the vertical scrollbar are ok).

The only idea in my mind is to clear the scene and redraw the item in it,
according to the new size (only width) of the scene. How could I do it better?
Some idea to do this window-viewport transformation, only in horizontal?

Thank you in advance.