No that's wrong.
Are you aware that you currently asked almost the same question several times already ?
Where are your data coming from ? If you have lots of data then you should use the Q**View classes and a custom optimized model.
Interested in AI ? www.idiap.ch
Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct