richardander
11th January 2009, 20:24
Hello everyone,
I upgrade an application from Qt3.3 to Qt4.4. Somehow, the first three items (File, Tools, Help) on menubar(see attached image file MenuQt4.4.jpg ) have no response after being clicked. Usually, they should be highlighted and submenu pops up. Now, they are not highlighted at all.
However, the last item (test) works as normal. And, if I click the forth item (test) first, the other three menu items function as normal when I move my mouse to any one of them.
I used the preview in Designer, it works very well and did not find anything to block the first three menu items in anybar.
I recompile the ui file and still the same problem happen.
Previously, in qt3.3, the menu item looks like attached image MenuQt3.3. There is always a gray bar showing right below the first three menu items. I don't know what it is and why it appears. But it doesn't affect the menu items. When mouse is over the three menu items, they all functioned well. After upgrading, the gray bar disappears, but first three menu items can't be clicked.
I got this set of code from my previous colleague, I doubt if there is any additional code in the implementation (not in UI file) to create the gray bar in Qt3.3. After I upgraded to Qt4.4, it expanded by qt4.4 gui libarary and block the first three menu items?
If any can give me some suggestion how to track the creation of the gray bar or give me some ideas, suggestions, or keywords to search, it is really highly appreciated!
Thank you for any help !
Richard
I upgrade an application from Qt3.3 to Qt4.4. Somehow, the first three items (File, Tools, Help) on menubar(see attached image file MenuQt4.4.jpg ) have no response after being clicked. Usually, they should be highlighted and submenu pops up. Now, they are not highlighted at all.
However, the last item (test) works as normal. And, if I click the forth item (test) first, the other three menu items function as normal when I move my mouse to any one of them.
I used the preview in Designer, it works very well and did not find anything to block the first three menu items in anybar.
I recompile the ui file and still the same problem happen.
Previously, in qt3.3, the menu item looks like attached image MenuQt3.3. There is always a gray bar showing right below the first three menu items. I don't know what it is and why it appears. But it doesn't affect the menu items. When mouse is over the three menu items, they all functioned well. After upgrading, the gray bar disappears, but first three menu items can't be clicked.
I got this set of code from my previous colleague, I doubt if there is any additional code in the implementation (not in UI file) to create the gray bar in Qt3.3. After I upgraded to Qt4.4, it expanded by qt4.4 gui libarary and block the first three menu items?
If any can give me some suggestion how to track the creation of the gray bar or give me some ideas, suggestions, or keywords to search, it is really highly appreciated!
Thank you for any help !
Richard