You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
969 B
C

/**********************************************************************
* @file GUISpinBox.h
* @brief SpinBox
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-11
*********************************************************************/
#ifndef _GUISpinBox_H_
#define _GUISpinBox_H_
#include <QSpinBox>
#include "GUIWidgetAPI.h"
namespace GUI
{
class GUIWidgetAPI GUISpinBox : public QSpinBox
{
Q_OBJECT;
public:
/**
* @brief
* @param[i] parent
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-11
*/
explicit GUISpinBox(QWidget* parent = nullptr);
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-11
*/
virtual ~GUISpinBox();
protected:
void wheelEvent(QWheelEvent *event) override;
};
}
#endif