Page 1 of 1

how to use qx::IxDataMember::getValue()? [Solved]

PostPosted: Wed Aug 29, 2012 1:46 am
by ahmed232323
hello everyone,
please how to use
Code: Select all
qx::IxDataMember::setValue()
qx::IxDataMember::getValue()
that was mentioned in FAQs http://www.qxorm.com/qxorm_en/faq.html#faq_190
iam trying to build table model implementing QAbstractTableModel dynamically at runtime to be used with QTableView widget.
thanks,

Re: how to use qx::IxDataMember::getValue()?

PostPosted: Wed Aug 29, 2012 7:48 pm
by qxorm
Hi,

You can find the documentation of qx::IxDataMember class here : http://www.qxorm.com/doxygen/html/class ... ember.html

And you can find an example using getValue()/setValue() methods in the file ./test/qxDllSample/exe/src/main.cpp, lines 366 and 380 :
Code: Select all
QString sIntrospectionTest = pDataMember->getValue<QString>(pBar.get(), (& bIntrospectionOk));

Re: how to use qx::IxDataMember::getValue()?

PostPosted: Wed Aug 29, 2012 10:30 pm
by ahmed232323
thanks, it works, :D