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.
nmWTAI-Platform/Include/iBase/iPlugin/ZxDoubleSpinBox.h

32 lines
642 B
C++

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

#pragma once
#include <QDoubleSpinBox>
#include "iPlugin_global.h"
// QDoubleSpinBox定制包括小数位数等
class I_PLUGIN_EXPORT ZxDoubleSpinBox : public QDoubleSpinBox
{
Q_OBJECT
public:
explicit ZxDoubleSpinBox(QWidget* parent = 0);
~ZxDoubleSpinBox();
signals:
protected:
virtual double valueFromText(const QString &text) const;
virtual QString textFromValue(double val) const;
virtual void fixup(QString &str) const;
// virtual void mousePressEvent(QMouseEvent* mouseEvent);
// virtual void mouseMoveEvent(QMouseEvent* mouseEvent);
// virtual void leaveEvent(QEvent* e);
private:
};