I am currently reading model/view tutorial from Qt, but I am still not sure if I should use model/view or widget for my Qt program :
I need to do a logger application that will monitor all information in a simulation environment. Basic scenario might be :
etc
The needs of this logger application is to get this information in real time and also, the data collected will NOT be editable. Essentially, this is just to show logs.
So, is it worth it to use modal/view or widget is enough for what I want to do?
Thank you
I had simular target and simular question. I looked both solutions.
I created log file with 20 mb size. Then, I loaded him into QTableView with own model, and to QTableWidget with standard model.
QTableView was more faster (about 30 sec) than QTableWidget (about 1.5 min), but solution with QTableWidget was easer.
About you question i think, if you will have big log (many information must be loaded immediately), you should use QTableView with own model. Else more easer is use QTableWidget with standard model.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With