Unsolved How to load leveled qml file into main qml?
-
Hi, maybe my question is bit awkward. But I need to load leveled qml into main.qml as shown below picture. But its not loading. Any help please?
- Main.qml
- MainPageBG.qml
- mainui Folder
- HeaderWidget.qml
- MapWidget.qml
Folder View:
-
@NTMS
did i understand you correctly that you want to show theMapWidget
component as overlay on top of all the other elements?
Since you are using ApplicationWindow already you can use the attached propertiesApplicationWindow.contentItem
orOverlay.overlay
as the parent of the itemAlso note that in your code the
Loader
item is stacked behindMainPageBG
element -
@raven-worx thanks. my loader item is not stacked behind any other element. And its working.