The comma-separated values (CSV) is a plain-text format for storing tabular data. Any spreadsheet program can export to CSV, or you can make your own by hand in a text editor. Our program will be designed in such a way that it will open any arbitrary CSV file and display the data in QTableView. It is common to use the first row of a CSV to hold column headers, so our application will assume this and make that row immutable.
Building a CSV editor
Creating a table model
When developing a data-driven model-view application, the model is usually the best place to begin as this is where the most complex code will be found. Once we've put this backend in place, implementing the frontend is fairly trivial.
In this case, we...