How did I find this question when I tried to figure out a solution to (basically) the same problem: In my case, I wanted to have a QComboBox in QScrollArea in pyside (python QT lib).
Here is my overridden QComboBox class:
#this combo box scrolls only if opend before.
which can be called as follows:
self.scrollArea = QtGui.QScrollArea(self) self.frmScroll = QtGui.QFrame(self.scrollArea) cmbOption = MyQComboBox(self.frmScroll)
Basically the answer is emkey08 in the link Ralph Tandecki talked about , but this time in python.
Markus dutschke
source share