Hello everyone!

In my recent project I needed to inherit from QComboBox and add a new feature. Unfortunately, only two methods were virtual and could be overriden (showPopup and hidePopup). However, what I need is to add some functionality exactly at the moment, when index is changed. This could not be done.

Eventually I intercepted activated/currentIndexChanged signals, but that's really not the solution I want to use. I must guarantee, that this new QComboBox will do some thing before other objects intercept such signal. Therefore I had to add other signals, which doesn't satisfy me since it's not consistent with previous QComboBox.

Therefore I would like to ask, if anyone knows what is the reason for keeping so few methods virtual and if there is anyone who tried to create subclassed QComboBox and how he had done it?