Are you sure you don't just want a table view?
Which part of the QGraphicsView framework's features do you need?
Cheers,
_
Are you sure you don't just want a table view?
Which part of the QGraphicsView framework's features do you need?
Cheers,
_
I think that one of the feature which I want to have will be difficult or even impossible to implement using QTableWidget - zooming by mouse wheel.
But in future maybe I will need also draw dynamic descriptions of specific element in matrix or drag and replace elements in matrix.
Do you think that implement matrix similar to that from image will be difficult using QGraphicsView Framework?
I see. Yes, if you need zooming, then this might be a good approach.
You will need some internal data structure that allows you to know where an item is logically, i.e. in which row/column it is.
The item for a mouse position can be had via QGraphicView::itemAt().
Cheers,
_
Bookmarks