Implement section headers

I'm not real happy with the limitations I had to work with here. The TableView can only accept a table of strings, so I basically had to fit everything into editing this dictionary of strings. Not the best. But it's very effective.

Contributes to issue CURA-8686.
This commit is contained in:
Ghostkeeper 2022-01-26 15:36:52 +01:00
parent 5c71671585
commit fa177f5192
No known key found for this signature in database
GPG key ID: D2A8871EE34EC59A
2 changed files with 41 additions and 0 deletions

View file

@ -41,4 +41,5 @@ Cura.TableView
TableModelColumn { display: "unit" }
rows: qualitySettings.items
}
sectionRole: "category"
}