title: How to access C++ enum from QML?
body: <pre><code>class StyleClass : public QObject {
  public:
      typedef enum
          {
              STYLE_RADIAL,
              STYLE_ENVELOPE,
              STYLE_FILLED
          }  Style;
  
      Style m_style;
      //...
  };
  </code></pre>
  
  <p>The .h file has the above code. <strong>How to access the above enum through QML?</strong></p>