How to include qwidgets in slicer qml layout

I am using this layout. I want to insert a toolbar on top of first viewNode only.
That means at grid(0,0) position I want a layout which contains both toolbar and viewNode1.
How can I do this?

You can only add view widgets in the view layout. You can customize what Qt widgets are shown in the view control and add custom widgets, as shown in this example in the script repository: