In most tables, the first column can't be moved. This is done by Qt since for tree-like tables, the decoration would break when moving the column. For flat tables, we should override this behavior.
Description
Description
Revisions and Commits
Revisions and Commits
rLIBKLEO Libkleo | |||
rLIBKLEOe898cece7200 Make first column of tree views movable | |||
rKLEOPATRA Kleopatra | |||
rKLEOPATRA1946c94c67f4 Prevent first column of WebOfTrustWidget and KeyTreeView from being moved |
Event Timeline
Comment Actions
I'm not sure this is a good idea. We are trading one UI quirk (all columns except the first one can be moved) with another UI quirk (sometimes all columns can be move and sometimes all columns except the first one can be moved). The first behavior is at least consistent across all views.
Sometimes we decorate rows with an icon (by decorating column 0). Moving the decoration away from the start of the row is also weird.
Anyway, I guess if the users want to shuffle the columns then we should probably just give them this freedom (for the views where this makes sense).