My application consists of one QMainWindow, and a nested QStackWidget containing the rest of the application "forms".
I would like to have a soft-key activated menu on ea开发者_如何学编程ch of those sub forms.
How is this possible?
Hi sabbour here is the link,which gives you a detailed info, perhaps this could be very useful
You need to create the Multiple widgets and associated menu items, when you load the widget in stack, you need to load your menu items accordingly in the mainwindow menu bar. Note your menu bar is constant and only menu items will be getting changed.
精彩评论