/**
** This file is owned by VisualGear Technology Co., Ltd.
** Unauthorized copying of this file, via any medium is strictly prohibited
** Otherwise VisualGear Technology Co., Ltd. will have the right to pursue
** maximum responsibilities within scope of legal.
**
** Copyright 2018-2020 VisualGear All rights reserved.
**/

#pragma once

#include <QtWidgets/QSpinBox>
#include "UIGQWidgetBase.h"

namespace UIGQtLib
{
	class UIGQSpinBoxImpl;
	class UIGEARSQTLIB_EXPORT UIGQSpinBox : public QSpinBox, public IUIGQWidgetBase
	{
        Q_OBJECT

	public:
		UIGQSpinBox(QWidget* pParent = nullptr);
		~UIGQSpinBox();

		UIG_QT_CTRL_DEF("qtspinbox", UIGQSpinBox);

	protected:
		void paintEvent(QPaintEvent * evt);

	private:
		UIGQSpinBoxImpl* _ctrlImpl;

		UIGQT_GET_CONTROLBASE;
	};
}
