I have created several menu items in the Qt creator, for example : Item X
Item Y
Item Z
after creating the menu items, I created different classes with different ui for each item - for example Item_x.cpp
Item_x.h
and Item_X.ui
and added my content to each one
now I want to be able to link Item X
to Item_x.ui
so when the user clicks on the Item X
that specific content is loaded . The other issue is that I already have a mainwindow.ui
and the menu is set up there.
I am not sure how to connect each Item to its ui, so when the user clicks Item X
the Item_x.ui
content appears