tool tip draws behind the sub menu
-
hi
I have following menu structure:
[Menu]- Submenu
** A (toolTip: AAAAAAAAAAAAA)
** B (toolTip: BBBBBBBBBBBB) - X (toolTip: XXXXXXXXXXXXX)
- Y (toolTip: YYYYYYYYYYYYY)
If I wait for the tool tip at X and I move the mouse while tooltip of X is drawing to the submenu and hover the item A so the tool tip is drawing on a false position. I think the mistake is that the tool tip isn't killing by the mouse hovering of the submenu item. See image: http://imgur.com/BvHi3To
Is it a bug in Qt 5.4.2 or a mistake in my UI file?
I'm using windows 7.Have any a ((simple)) solution?
Thanks a lot.
Regards,
jb
Any C++ code is auto generated by the Qt Visual Studio 2013 Add-In.
UI-File
<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>QMenuTestClass</class> <widget class="QMainWindow" name="QMenuTestClass"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>600</width> <height>400</height> </rect> </property> <property name="windowTitle"> <string>QMenuTest</string> </property> <widget class="QWidget" name="centralWidget"/> <widget class="QMenuBar" name="menuBar"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>600</width> <height>21</height> </rect> </property> <widget class="QMenu" name="menuMenu"> <property name="title"> <string>Menu</string> </property> <property name="toolTipsVisible"> <bool>true</bool> </property> <widget class="QMenu" name="menuSubmenu"> <property name="title"> <string>Submenu</string> </property> <property name="toolTipsVisible"> <bool>true</bool> </property> <addaction name="actionA"/> <addaction name="actionB"/> <addaction name="actionC"/> </widget> <addaction name="menuSubmenu"/> <addaction name="actionTest"/> <addaction name="actionY"/> </widget> <addaction name="menuMenu"/> </widget> <widget class="QToolBar" name="mainToolBar"> <attribute name="toolBarArea"> <enum>TopToolBarArea</enum> </attribute> <attribute name="toolBarBreak"> <bool>false</bool> </attribute> </widget> <widget class="QStatusBar" name="statusBar"/> <action name="actionA"> <property name="text"> <string>A</string> </property> <property name="toolTip"> <string>AAAAAAAAAAAAAAAAAAAAAAAAA</string> </property> </action> <action name="actionB"> <property name="text"> <string>B</string> </property> <property name="toolTip"> <string>BBBBBBBBBBBBBB</string> </property> </action> <action name="actionC"> <property name="text"> <string>C</string> </property> <property name="toolTip"> <string>CCCCCCCCCCCCCCCCCCCC</string> </property> </action> <action name="actionTest"> <property name="text"> <string>X</string> </property> <property name="toolTip"> <string>XXXXXXXXXXXXXXXX</string> </property> </action> <action name="actionY"> <property name="text"> <string>Y</string> </property> <property name="toolTip"> <string>YYYYYYYYYYYY</string> </property> </action> </widget> <layoutdefault spacing="6" margin="11"/> <resources> <include location="qmenutest.qrc"/> </resources> <connections/> </ui>
- Submenu
-
Hi and welcome to devnet,
No, your UI file is innocent. Can check again if that happens with Qt 5.6 beta ?
-
Hi SGaist,
thanks for the welcome amentities.Can you tell me please, where I can download the Qt 5.6 beta version?
Over my installed Qt Maintaince Tool I can only install the Qt 5.5 version.
And I don't find the download link on the qt.io.Is it correct, that no solution/fix for older version exists?
Thanks.
Regards, -
Hi SGaist,
thanks for the welcome amentities.Can you tell me please, where I can download the Qt 5.6 beta version?
Over my installed Qt Maintaince Tool I can only install the Qt 5.5 version.
And I don't find the download link on the qt.io.Is it correct, that no solution/fix for older version exists?
Thanks.
Regards,@__jb__ said:
Can you tell me please, where I can download the Qt 5.6 beta version?
Over my installed Qt Maintaince Tool I can only install the Qt 5.5 version.
And I don't find the download link on the qt.io.They are, but a pretty well hidden.
Qt 5.6 download -
The most simple is to go to the download part of your Qt Account page, there you can get it.