diff options
| author | hjk <hjk@qt.io> | 2023-04-27 08:24:43 +0200 |
|---|---|---|
| committer | hjk <hjk@qt.io> | 2023-05-03 13:44:02 +0000 |
| commit | 70b02d23e1a32a1c4911644cb73b7247430a4416 (patch) | |
| tree | c464816c62fd74a30cf0b00ad74ede6e05117407 /tests/manual/tasktree/taskwidget.h | |
| parent | 3face235d958b6601288f7d4675c39dbcf7559f7 (diff) | |
| download | qt-creator-70b02d23e1a32a1c4911644cb73b7247430a4416.tar.gz | |
LayoutBuilder: Rework
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>
Diffstat (limited to 'tests/manual/tasktree/taskwidget.h')
| -rw-r--r-- | tests/manual/tasktree/taskwidget.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/manual/tasktree/taskwidget.h b/tests/manual/tasktree/taskwidget.h index 8caebf658b..0e7828ac84 100644 --- a/tests/manual/tasktree/taskwidget.h +++ b/tests/manual/tasktree/taskwidget.h @@ -83,4 +83,4 @@ public: Layouting::Column items; }; -void doLayout(const TaskGroup &taskGroup, Layouting::LayoutBuilder &builder); +void createItem(Layouting::LayoutItem *item, const TaskGroup &taskGroup); |
