Page 1 of 1

Qt Properties

PostPosted: Fri Jul 08, 2016 5:10 pm
by Kasuax
Why doesn't the QxEE C++ Exporter dump the Q_PROPS if my class is using QObject? I'll have to go back through and add all of them manually I guess...

Re: Qt Properties

PostPosted: Fri Jul 08, 2016 8:59 pm
by qxorm
Hello,

There is a field in the GUI, in the property parameters screen, where you can provide the Q_PROPERTY definition for each property.

Or you can also use the Javascript engine of QxEntityEditor to customize the export process to define them automatically using a custom script.

Re: Qt Properties

PostPosted: Fri Jul 08, 2016 9:34 pm
by Kasuax
qxorm wrote:There is a field in the GUI, in the property parameters screen, where you can provide the Q_PROPERTY definition for each property.


I think I'm missing that screen. Screenshot please? The Property - Type Screen doesn't appear to have anything like what you've described.

Re: Qt Properties

PostPosted: Mon Jul 11, 2016 7:48 am
by qxorm
Yes, you are right : I checked and this field is not implemented, sorry for that.
I add it in the TODO list.

Re: Qt Properties

PostPosted: Mon Jul 11, 2016 2:55 pm
by Kasuax
How soon could I get a build that dumps the props? It could save me a lot of time if you already have something in the works.

Many thanks!

Re: Qt Properties

PostPosted: Wed Jul 13, 2016 12:50 pm
by qxorm
How soon could I get a build that dumps the props?

Sorry, I can't give you a date.
As soon as a BETA version is ready with this feature, I will post a message on this topic.

Re: Qt Properties

PostPosted: Mon Dec 12, 2016 9:31 am
by qxorm
Done with QxEntityEditor 1.2.1 : for changes log and download, please go to QxOrm download web page : https://www.qxorm.com/qxorm_en/download.html.

To generate Q_PROPERTY, we provide a custom javascript to apply (provided in ./samples/ directory of QxEntityEditor package).
There is a documentation about it here : https://www.qxorm.com/qxorm_en/manual_q ... q_property