TableWidget or TableView?
-
Hi, i have been reading this forum for a long time, i got a lot problems solved reading it, but now i am in need to to ask a question.
First I explain my proyect:
I receive randomly a data structure from a socket (with diferent fields, like timestamp, info, description...), called "event".
This events, i have to record them in my database and show them in a table. When it arrives, the row of the event should blink between two colors until the user press a button.For the moment i tried with a QTableWidget to populate the fields one by one in a row, and blink it in a Qtimer , and it works like a charm. But i am wondering if it is the best way to do it.
So my questions is, is TableWidget or TableView recommended for what i want to do?
Thank you all
Munire
-
Hi and welcome to devnet,
Since you have a database, it sounds like a QTableView with a QSqlTableModel would do the job unless I missed something
-
How are you doing it currently ?