Discussion:
Bug with Designer and Menu Roles in 4.7.0 rc1
a***@logitech.com
2010-09-09 00:03:21 UTC
Permalink
It seems that some of the MenuRole function is broken in 4.7.0rc1
Desdigner. If you create a menu item and assign a Quit, About or
Preferences role Designer will give a warning/error message when saving.

Steps to reproduce

1. Open Designer
2. Create a new MainWindow widget
3. Create a new QMenuBar item in the "click here". Call it Test Menu
4. Create a new menu item called "Exit"
5. Give this menu item a menuRole of "QuitRole"
6. Try to save the dialog. You get the "warning" screen.



The menurole property is not saved into the .ui file.

Quit Role gives a -2
About Role gives a -4
Preferences Role gives a -3

This is with Qt 4.7.0 rc1 compiled with Visual Studio 2008

Loading...