JQCommon.h 771 B

12345678910111213141516171819202122232425262728
  1. // *****************************************************************************
  2. // 版权所有(C)2023~2099 上海骄成超声波技术有限公司
  3. // 保留所有权利
  4. // *****************************************************************************
  5. // 作者 : 杨坚
  6. // 版本 : 1.0
  7. // 功能说明:
  8. // qt 通用控件设置
  9. // *****************************************************************************
  10. #ifndef JQCOMMON_H
  11. #define JQCOMMON_H
  12. #include <QObject>
  13. #include <QLineEdit>
  14. class JQCommon : public QObject
  15. {
  16. Q_OBJECT
  17. public:
  18. JQCommon();
  19. /**设置控件范围 int double flate
  20. */
  21. static void SetQLineEditLimit(QLineEdit* pLineEdit);
  22. static void SetIntQLineEditLimit(QLineEdit* pLineEdit);
  23. };
  24. #endif // JQCOMMON_H