Qt下的自定义控件——通过继承QComboBox并重写event来实现想要的效果

NoSuchKey