简体   繁体   中英

How can I have a dynamically changing menu in a single QMainWindow, multiple nested QWidgets application on Symbian Qt?

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 each of those sub forms.

How is this possible?

嗨,sabbour这里是链接 ,它为您提供了详细的信息,也许这可能非常有用

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM