title: Custom types as properties in QT Designer
body: <p>I am developing a custom widget to QT Designer. </p>
  
  <p>Everything works fine for basic QT types and list, but I have a problem when defining a property of a custom type.</p>
  
  <p>Here is the declaration of the property :</p>
  
  <pre><code>    Q_PROPERTY(Courbe* courbes READ getcourbe WRITE setcourbe1 DESIGNABLE true)
  
  public:
      TestCourbe(QWidget *parent = 0);
  
      Courbe* TestCourbe::getcourbe() const ;
      void TestCourbe::setcourbe1(Courbe *n);
  </code></pre>
  
  <p>Here is the beginning of the definition of my Courbe class :</p>
  
  <pre><code>class Courbe : public QObject
  {
      Q_OBJECT
      Q_PROPERTY(QString valeursX READ readvaleurX WRITE setvaleurX)
      Q_PROPERTY(QString valeursY READ readvaleurY WRITE setvaleurY)
      Q_PROPERTY(QString legende READ readlegende WRITE setlegende)
  </code></pre>
  
  <p>The problem is the Courbe property is not displayed in QT Designer.
  Should I add something to the Courbe declaration ? (I've seen the 
  Q_DECLARE_METATYPE macro but this is for QML only right ?)</p>
  
  <p>thanks</p>