Hi all...
if i have the following code fragment :
Would one not expect the properties of CTest to show up in the designer ?Qt Code:
// // { Q_OBJECT // public: // CTest() { }; ~CTest() { }; CTest& operator= ( CTest& v) { TestString = v.getTestString(); return *this; }; protected: // private: // QString TestString; }; // { Q_OBJECT // // // // // Q_ENUMS( ePlotMode ) Q_PROPERTY( ePlotMode PlotMode READ getPlotMode WRITE setPlotMode ) // Q_PROPERTY( CTest MyTest READ getMyTest WRITE setMyTest ) public: // CTest MyTest; CTest& getMyTest() { return MyTest; }; void setMyTest( CTest& value ) { MyTest = value; }; //To copy to clipboard, switch view to plain text mode
Am i doing something completely wrong here ?
All the other properties of the dataview ARE displayed in the designer.
Thanks for any help !
Bookmarks