⚠️ Forum Maintenance: Feb 6th, 8am - 14pm (UTC+2)
2D array with dyanamic size
MyQT last edited by
I have created two dimentional array @QString Data@ with constant size..
Now My application is demanding that array size should be dyanamic.
What is the best way to implement two dimentional array with dyanamic size.
I am using this array to store the data of tableview.
trollixx last edited by
If you are implementing storage for your custom model you may use a sort of QVector<QVector<QString> > to have dynamically sized matrix, or just go with QStandardItemModel which provides ready to use storage.
stereomatching last edited by
How about Boost multiArray?