Details
-
Suggestion
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
Next Major Release, Next Patch Release
Description
Hello, it would be convenient to have the feature in a QTableWidget.
What about implementing moveColumn and moveRow in :
- QStandardItemModel,
- the three convenience classes QList/Table/TreeWidget in their respective model inner-workings? For example, from source, QTableWidget uses a very thin implementation on top of QAbstractTableModel in its QTableModel. Why not implement the move function in this thin layer?
Very big props to peppe and osse in IRC, whom explained to me the business and suggested asking the feature here.
I am very far from understanding all of the subtleties of this Qt module, every suggestion or explanation is welcome.
(for the context : I am using a QTableWidget and the header sectionsMovable feature. I would like to propagate the view move into a model move and have to do a custom rearranging at the moment.)
BR, Maxime