data format (
) format is the simplest representation of tabular data. This format is supported by Excel and many other office suites. For example, I often encounter this format when uploading statistics do the site of the panel webmasters Google Search Console.
In this format, the table represents the data sequence, separated by commas, and represent the column and row are separated by a newline. In the case of the Russian-language Microsoft Excel data separated by semicolons and will be as follows:
So the whole problem is reduced to a line reading data from a file and uploads the data model of data presentation, which will be placed in
Let us take as a basis the above example, the contents of a CSV file that was created in Microsoft Excel:
And display it in QTableView via QStandardItemModel: