Hi, ich have the following proglem. I have a QTableView and add a model. Naturally. Now I get a table:
xxxxxxx
xxxxxxx
xxxxxxx
xxxxxxx
xxxxxxx
xxxxxxx
xxxxxxx
xxxxxxx
To copy to clipboard, switch view to plain text mode
Fine this is what is expected and usually wanted.
But I want to have a bigger space every two rows:
xxxxxxx
xxxxxxx
xxxxxxx
xxxxxxx
xxxxxxx
xxxxxxx
xxxxxxx
xxxxxxx
xxxxxxx
xxxxxxx
xxxxxxx
xxxxxxx
To copy to clipboard, switch view to plain text mode
Anyone an idea? I tried to use setRowHeight. Works great...as long as I don't use a QSortFilterProxyModel. When I activate sort setRowHeight works totally unpredictable.
Bookmarks