重载这两个控件: class CCombox : public QComboBox { protected: void wheelEvent(QWheelEvent * e) { //不做任何处理 } } QSlider同样处理之,使用重定义的CCombox取代QCombox