The redraw happens after endInsert/RemoveRows/Columns() and then the internal data structure is used to draw the cells, rowCount() must then match the internal rowCount().
The redraw happens after endInsert/RemoveRows/Columns() and then the internal data structure is used to draw the cells, rowCount() must then match the internal rowCount().
d_stranz (11th May 2019)
Hi everyone,
finally I found some time to work on the Qt application again.
(When customers needs new functionality then every thing else has to be put on hold.)
I fixed the bad behavior of my model implementation and now it works as intended.
This strange looking error, the grid I mean, and the real problem behind it gave me a lot
of headache (figurative).
Thanks to all of you, the problem could be solved.
Maybe some else can benefit from this thread.
Many thanks
Dax
Bookmarks