Well, I've solved the mystery. You have in there this
listWidget->setFlow(QListView::LeftToRight);
To copy to clipboard, switch view to plain text mode
while I need TopToBottom.
If you change to that, you'll see that there is no space between columns... There is instead between rows (when the flow is LeftToRight, the space is both between rows and columns).
And another problem with spacing is that it's in all direction, while I'd like to have only the columns a little apart. This can be fixed using something like
listWidget
->setGridSize
(QSize(100,
20));
listWidget->setGridSize(QSize(100, 20));
To copy to clipboard, switch view to plain text mode
but then again, there is no space between columns.
And another thing, even in the LeftToRight flow, the selection is not correct, it will also selects items OUTSIDE the selection rectangle.
This is pretty messed up... 
For now I can use gridSize and I can find some space between rows. Thank you
Bookmarks