comac_desk_app/PostProcessing/EComboBox.h

24 lines
414 B
C++

#ifndef ECOMBOBOX_H
#define ECOMBOBOX_H
#include <QComboBox>
class QWidget;
class QWheelEvent;
namespace pst
{
/// @brief 自定义的下拉列表
class EComboBox : public QComboBox
{
Q_OBJECT
public:
explicit EComboBox(QWidget* parent = nullptr);
private:
/// @brief 重写鼠标滚动事件
void wheelEvent(QWheelEvent* event) override;
};
}
#endif