10-01-2013 03:02 PM
I have a main.qml with a NavigationPane as the root, and a page with a titleBar control. I'd like to have the titleBar to be static in all of the pages, but it seems that we cannot have titleBar or Container controls in NavigationPane and have to add the titleBar to the top of all the pages.
Is there a better way to accomplish that?
10-01-2013 03:09 PM - edited 10-01-2013 03:10 PM
10-01-2013 03:10 PM
10-03-2013 10:55 AM
The above looks correct. You could also create a separate QML file for the title bar and load it in each page. The Social Invocation sample shows a "GeneralBlock" object that is created several times in the main.qml:
10-03-2013 12:07 PM
or you can place the titlebar in NavigationPane as ComponentDefinition
then for all your Pages do something like this
eventPage.titleBar = serverTitlebarComponent.createObject(eventPage)
10-05-2013 12:44 AM