Information displayed in tabular format is more organized, more readable, and more easily comparable than data that is displayed in traditional paragraphs. Here are the steps to make an application that displays data via Table Widget:
- Open Qt Designer and create a new application based on the Dialog without Buttons template.
- Drag and drop a Table Widget item onto the form.
- To assign it the default size of three rows and two columns, from the Property Editor window set the value of rowCount and columnCount to 4 and 2, respectively.
- To display the row and column headers, the horizontalHeaderVisible and verticalHeaderVisible properties are already checked by default
- Save the application with the name DemoTableWidget.ui. The ...