How to use the Mapper with QStandardItemModel?
Unsolved
General and Desktop
-
Hi
I'm using qt5.15
I want to map QStandardItemModel and Qtchart(lineseries).
I tried with QXYModelMapper (QVXYModelMapper, QHXYModelMapper).
But My datamodel is a structure that cannot use QXYModelMapper like a picture.
Is there a way to map by specifying the range of the x-axis and y-axis like the picture above? -
Hi,
You could write a proxy model that remaps your data structure in something suitable.