| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Use QModelIndex::data() | Albert Astals Cid | 2024-06-21 | 1 | -1/+1 |
| | | | | | | | | | | | idx.data(role) is much nicer to read than idx.model()->data(idx, role) As a drive-by, mark some QVariants const. Pick-to: 6.8 Change-Id: I00c0a5ac311a03095050b2542a5c396a6c1c2c6a Reviewed-by: Marc Mutz <[email protected]> | ||||
| * | Turn SpinBox Delegate example into snippets | Volker Hilsheimer | 2023-12-20 | 1 | -0/+79 |
| The essence of the example was already fully quoted in the model/view documentation. Move the code into a snippet source, and update the screenshot. Fixes: QTBUG-119976 Pick-to: 6.7 6.6 Change-Id: Id2f10bb26a650419969bbfa9b76cb74babd3319e Reviewed-by: Richard Moe Gustavsen <[email protected]> Reviewed-by: Andreas Eliasson <[email protected]> | |||||
