qcombobox drop-down list appears separately(QMDIArea and QMDISubwindow)
-
wrote on 14 Oct 2020, 13:32 last edited by sayan275
-
Hi
Is that a plain QComboxBox ?
I mean, no subclassing or stylesheet applied to it ? -
wrote on 14 Oct 2020, 13:47 last edited by
-
Hi
And no stylesheets ?
What platform and Qt version ?
I never saw this before. -
wrote on 14 Oct 2020, 14:07 last edited by
No stylesheet applied on the qcombobox.
Windows 10 and Qt 5.14.2 -
@sayan275
Ok. same as me.
Does this happen if you create a clean GUI project and inset a Combobox? -
@sayan275
Ok. same as me.
Does this happen if you create a clean GUI project and inset a Combobox?wrote on 15 Oct 2020, 01:53 last edited by sayan275@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.
-
@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
So its just one Combobox that does it ?The other viewers are also added to qmdiArea ?
-
@sayan275
So its just one Combobox that does it ?The other viewers are also added to qmdiArea ?
-
@mrjj 2 combobox in this viewer behaves like this
qcombobox in other viewer is working perfectly.@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 ?
-
@mrjj 2 combobox in this viewer behaves like this
qcombobox in other viewer is working perfectly.wrote on 15 Oct 2020, 11:24 last edited by Pl45m4@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?
-
@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?
wrote on 15 Oct 2020, 12:48 last edited by sayan275No 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 -
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 -
Same behavior when you place the same comboBoxes somewhere else on your widget? If there is no issue, then it must be a painter or coordinate mapping issue. Could be a bug.
-
wrote on 17 Oct 2020, 03:43 last edited by sayan275This post is deleted!
1/16