Hi EveryBody,
I created a listView that contains a custom menu, and StackView that contains the pages to load from the custom menu. next image 1.jpg
I want when I click in 1st element in the SubMenu load the first page, 2nd element load the second page ... etc
My image :
1st element=Naissance --- load ----> Page1
2nd element=Deces --- load ----> Page2
3rd element --- load ----> Page3
etc
Qt Code:
MouseArea { anchors.fill: parent hoverEnabled: true onClicked: stack.push(view2)To copy to clipboard, switch view to plain text mode
The probleme is : All elements of SubMenu load view2, and I want each element loads a specific page
How Can I specify in MouseArea each element of submenu ???
Cheers,




Reply With Quote
Bookmarks