Ocular Engine
UInt32Validator.hpp
1 
17 #pragma once
18 #ifndef __H__OCULAR_EDITOR_UINT32_VALIDATOR__H__
19 #define __H__OCULAR_EDITOR_UINT32_VALIDATOR__H__
20 
21 #include <QtGui/qvalidator.h>
22 
23 //------------------------------------------------------------------------------------------
24 
29 namespace Ocular
30 {
35  namespace Editor
36  {
43  class UInt32Validator : public QValidator
44  {
45  public:
46 
47  UInt32Validator(QObject* parent = nullptr);
48  virtual ~UInt32Validator();
49 
50  virtual State validate(QString& input, int& pos) const override;
51 
52  protected:
53 
54  private:
55  };
56  }
60 }
65 //------------------------------------------------------------------------------------------
66 
67 #endif
Note: Once this library is made dynamic, this will no longer be needed.
Definition: Common.hpp:70
Definition: UInt32Validator.hpp:43