Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Implement the Qt Tree widget.
Fairly straightforward other than the complexities of the
QAbstractItemModelfor a tree. We store references to node objects on theQModelIndexobjects to avoid having to walk up and down the tree constantly.For the widget warning check, Qt doesn't know whether a cell contains a widget or not until it is actually visible, so the warning gets issued on expanding the rows, not on display of the table and we needed to adjust the tests slightly to accomodate this.
Like the Table, we have with evenly-spaced non-changable column widths for now (see #4109).
Includes a fix of #4111 since I needed that for manual testing. It also includes a fix to a couple of fixtures which should have been async.
Ref #3914.
Fixes #4111.
To Do:
PR Checklist: