summaryrefslogtreecommitdiff
path: root/tests/manual/layoutbuilder
Commit message (Collapse)AuthorAgeFilesLines
* LayoutBuilder: Rename Id to IDhjk2023-05-101-1/+1
| | | | | | | | | The Id was only used in the demo. "ID" is Not exactly canonical naming, but this clashes often with Utils::Id, so mis-spell until we settle on a proper name. Change-Id: I6fdf806c41abf224f7422ec6c9263db3eb357190 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Layouting: Avoid a lambda in the demohjk2023-05-082-2/+2
| | | | | Change-Id: Ic11936fd2a6da2153a52e39249d49d174ffb8466 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* Layouting: Introduce Ids for Itemshjk2023-05-051-9/+17
| | | | | | | | | Intenally just wrapping a 'bindTo' result, but less trigger potential for pointer related peladophobia Change-Id: I25171a2675fb0474ce97c04552ac1cf5ffd6ee56 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: hjk <hjk@qt.io>
* Layouting: Add demohjk2023-05-054-0/+77
| | | | | | | | Currently almost the same as the comparison example, but planeed to grow. Change-Id: Id129266a1b5b12438e2fb643ee114e6d816581f6 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* LayoutBuilder: Reworkhjk2023-05-035-29/+16
| | | | | | | | | | | | | | | Everying is a LayoutItem now, and everything is split into a proper setup and execution phase. Execution happens only via LayoutBuilder (directly or via convenience wrappers in LayoutItem). No direct access to the widget in creation, funnel out is via the new bindTo() facility. Change-Id: I7eb38fd736ae57a68f9a72a6add5c767da82b49f Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Layouting: Add some example code as show casehjk2023-05-0212-0/+279
Change-Id: I92842c7859514397748e744949688090154772df Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Christian Stenger <christian.stenger@qt.io>