@@ -43,7 +43,12 @@ class Column : public DataSetBaseNode
4343{
4444 Q_OBJECT
4545
46- Q_PROPERTY (QString name READ nameQ WRITE setNameQ NOTIFY nameChanged)
46+ Q_PROPERTY (QString name READ nameQ WRITE setNameQ NOTIFY nameChanged )
47+ Q_PROPERTY (QString title READ titleQ WRITE setTitleQ NOTIFY titleChanged )
48+ Q_PROPERTY (QString rcode READ rCodeQ WRITE setRCodeQ NOTIFY rCodeChanged )
49+ Q_PROPERTY (columnType colType READ type WRITE setType NOTIFY columnTypeChanged )
50+ Q_PROPERTY (computedColumnType codeType READ codeType WRITE setCodeType NOTIFY codeTypeChanged )
51+
4752
4853 friend DatabaseInterface;
4954public:
@@ -87,12 +92,15 @@ class Column : public DataSetBaseNode
8792 bool setName ( const std::string & name );
8893 bool setNameQ ( const QString & name );
8994 void setTitle ( const std::string & title );
95+ void setTitleQ ( const QString & title );
9096 bool setRCode ( const std::string & rCode );
97+ bool setRCodeQ ( const QString & rCode );
9198 bool setError ( const std::string & error );
9299 void setType ( columnType colType );
93100 columnTypeChangeResult changeType ( columnType colType );
94101 void setCodeType ( computedColumnType codeType );
95102 void setDescription ( const std::string & description );
103+ void setDescriptionQ ( const QString & description );
96104 void setComputeFilter ( const std::string & filter = " " );
97105 bool setConstructorJson ( const Json::Value & constructorJson );
98106 bool setConstructorJson ( const std::string & constructorJson );
@@ -129,6 +137,9 @@ class Column : public DataSetBaseNode
129137 computedColumnType codeType () const { return _codeType; }
130138 const std::string & name () const { return _name; }
131139 const QString nameQ () const ;
140+ const QString titleQ () const ;
141+ const QString rCodeQ () const ;
142+ const QString descriptionQ () const ;
132143 const std::string & title () const { return _title.empty () ? _name : _title; }
133144 const std::string & error () const { return _error; }
134145 const std::string & rCode () const { return _rCode; }
@@ -292,6 +303,10 @@ class Column : public DataSetBaseNode
292303 void labelFilterChanged ();
293304 void showWarning ( QString title, QString msg);
294305 void nameChanged ();
306+ void titleChanged ();
307+ void rCodeChanged ();
308+ void descriptionChanged ();
309+ void codeTypeChanged ();
295310
296311private:
297312 DataSet * const _data;
0 commit comments