How can i set fixed column widths in QAbstractTableModel based on table width? For example, column 1 has 5% of table witdh, column 2 has 25% etc. Is that possible?
Printable View
How can i set fixed column widths in QAbstractTableModel based on table width? For example, column 1 has 5% of table witdh, column 2 has 25% etc. Is that possible?
I think this upto the view to decide how items are arranged. In your case you could create custom delegates and override its sizeHint().