@@ -24,14 +24,16 @@ import "../../Components"
24 Those widgets can be collapsed or uncollapsed. When uncollapsed
24 Those widgets can be collapsed or uncollapsed. When uncollapsed
25 all the widgets are shown, when collapsed only the first
25 all the widgets are shown, when collapsed only the first
26 widgetData["collapsed-widgets"] are shown. It has a title that comes
26 widgetData["collapsed-widgets"] are shown. It has a title that comes
27− in via widgetData["title"]
27+ in via widgetData["title"]. This widget expands all child widgets
28+ when construction by specifying widgetData["expanded"] == true.
29+ It's in unexpanded mode by default.
30PreviewWidget {
32PreviewWidget {
32 implicitHeight: childrenRect.height
34 implicitHeight: childrenRect.height
34− expanded: false
36+ expanded: widgetData["expanded"] == undefined? false : widgetData["expanded"];
37 id: titleLabel
39 id: titleLabel