qcombobox drop-down list appears separately(QMDIArea and QMDISubwindow)
-
Hi
Is that a plain QComboxBox ?
I mean, no subclassing or stylesheet applied to it ? -
Hi
And no stylesheets ?
What platform and Qt version ?
I never saw this before. -
@mrjj no ...normally it's ok.
Actually, this qcombobox is an element in an qwidget(say, output NavControls.dll)
This dll, I use in a viewerWidget, which is added in an qmdiArea.
Other qcombobox in the same NavControls used in other viewer works fine.For what reasons this issue likely occurs...like you asked for stylesheet...so that I can look in those areas. I also faced this issue first time.
-
@sayan275
Hi
So it would be fair to assume it has something to do with this viewer.
You have to try to reduce it until the combo works again.I have no suggestion as to the cause of this as the other combo boxes works and
they all live in the same DLL and also put in MDIAreas.Do you have multiple monitors on ?
-
@sayan275 sayan275 said in qcombobox drop-down list appears separately:
2 combobox in this viewer behaves like this
Are these two the "Pulse" comboBox and the "None" comboBox on the right?
What happens, if you move them somewhere else, e.g. to the middle of same widget where they dont overlap the MdiArea. Same behavior then?!
I have no fix but I think, I know why / what is going on.
The issue could be the coordinate systems / widget positions on main window or widget (your QMdiArea).
Do you move something by using code?Does your widget have a parent?
-
No code for moving
Actually it has a parent ..a form class.
https://forum.qt.io/topic/94367/qt-resource-images-not-showing-while-executing
I have used this lib as in the link.
I am also trying look in mdiArea ,as the viewers are qmdisubwindow