Thanks for the info!
Regards,
Ulrich
Search found 30 matches
- Tue Jul 14, 2015 10:19 am
- Forum: QCAD Programming, Script Programming and Contributing
- Topic: Linetype name inconsistency
- Replies: 2
- Views: 6383
- Thu Jul 09, 2015 1:18 pm
- Forum: QCAD Programming, Script Programming and Contributing
- Topic: Linetype name inconsistency
- Replies: 2
- Views: 6383
Linetype name inconsistency
Hy Andrew, I have been silent for quite some time programming a lot of qcad plugin functionality without serious problems. This leads to a simple : Thanks a lot for your good work! However, I found a little inconsistency on linetype names: wenn I use a new drawing, add a layer with lintype by layer,...
- Wed Apr 15, 2015 6:40 am
- Forum: QCAD Programming, Script Programming and Contributing
- Topic: RActionAdapter::escapeEvent not called on right mouse button
- Replies: 2
- Views: 6347
Re: RActionAdapter::escapeEvent not called on right mouse bu
Hi Andrew,
thanks a lot ! Implementing myAction::mouseReleaseEvent did the trick.
Regards,
Ulrich
thanks a lot ! Implementing myAction::mouseReleaseEvent did the trick.
Regards,
Ulrich
- Tue Apr 14, 2015 12:53 pm
- Forum: QCAD Programming, Script Programming and Contributing
- Topic: RActionAdapter::escapeEvent not called on right mouse button
- Replies: 2
- Views: 6347
RActionAdapter::escapeEvent not called on right mouse button
Hi, documentation of RActionAdapter states: virtual void escapeEvent () Escape events are triggered if the user clicks the right mouse button or hits the Escape key. implementing escapeEvent in an action works fine - it is called when user hits escape key. However, my function is not called when use...
- Tue Mar 24, 2015 4:44 pm
- Forum: QCAD Programming, Script Programming and Contributing
- Topic: internationalisation problem
- Replies: 2
- Views: 6372
Re: internationalisation problem
Thanks, Andrew.
Good hint - it works!
Good hint - it works!
- Tue Mar 24, 2015 4:09 pm
- Forum: QCAD Programming, Script Programming and Contributing
- Topic: internationalisation problem
- Replies: 2
- Views: 6372
internationalisation problem
Hello again, and again a problem .... this time with ui translations of c++ plugin. I did: - use english as ui language in sources and ui files - generate .ui files with Qt designer - surrounded strings in my c++-sources with tr() (or QObject::tr() ) (only those I want to be translated - added the f...
- Mon Mar 09, 2015 3:10 pm
- Forum: QCAD Programming, Script Programming and Contributing
- Topic: Custom Properties with title != "QCAD" disapear
- Replies: 2
- Views: 6048
Re: Custom Properties with title != "QCAD" disapear
Hello Andrew,
thanks for the info!
Ulrich
thanks for the info!
Ulrich
- Mon Mar 09, 2015 2:03 pm
- Forum: QCAD Programming, Script Programming and Contributing
- Topic: Custom Properties with title != "QCAD" disapear
- Replies: 2
- Views: 6048
Custom Properties with title != "QCAD" disapear
Hi all. custom properties wear a title, a key and a value. As long as i choose "QCAD" as title, everything works as expected. However, when I set another title programatically, again everything is ok as long as the drawing is active (the property editor shows title as well as key / value). When I sa...
- Fri Mar 06, 2015 11:37 am
- Forum: QCAD Programming, Script Programming and Contributing
- Topic: [SOLVED] Assign custom properties to entities
- Replies: 3
- Views: 7379
Re: Assign custom properties to entities
I have to apologize. I obviously made a mistake in transaction handling. The custom property was added to the entity, and then i tried to add it to a transaction with "addAffectedObject (RObject::Id objectId)". After using addObject, everything works fine (as least in the release version I alternati...
- Thu Mar 05, 2015 10:18 am
- Forum: QCAD Programming, Script Programming and Contributing
- Topic: [SOLVED] Assign custom properties to entities
- Replies: 3
- Views: 7379
Re: Assign custom properties to entities
Hi Andrew, thanks for your answer. The call of the setting in my plugins init() now shows the custom property widgets in the property editor. However, assigning custom properties from my c++ code has problems. Here is my code snipplet (not as long as in my other post ;-) : nHighestSeamsectionNumber+...
- Tue Mar 03, 2015 1:38 pm
- Forum: QCAD Programming, Script Programming and Contributing
- Topic: [SOLVED] Assign custom properties to entities
- Replies: 3
- Views: 7379
[SOLVED] Assign custom properties to entities
Hi Andrew, just to make sure: I'm trying to set / get custom properties from C++. I recognize that they are only available in the pro version - as documented. However, I compile / link my sources against the source code of the opensource version (which I compiled as debug). Compile / link works ok; ...
- Thu Feb 26, 2015 10:39 am
- Forum: QCAD Programming, Script Programming and Contributing
- Topic: Access to C++-Instance from ECMAScript
- Replies: 0
- Views: 5346
Access to C++-Instance from ECMAScript
Hi Andrew, I'm stuck on a problem where I am obviously missing a point .... What I want to achieve: Create Objects by C++ as background-Data. Then I want to access data of theese objects with a script to be able to visualize it (by creating drawing objects). The error message from the script is: Unc...
- Fri Feb 20, 2015 10:43 am
- Forum: QCAD Programming, Script Programming and Contributing
- Topic: REntity::Id and RObject::ParentId
- Replies: 3
- Views: 7968
Re: REntity::Id and RObject::ParentId
Hi Andrew,
thanks for the answers. As the IDs are not persistent, I will try to store the objects handles as custom properties.
Looks like a workable approach!
Regards and thanks!
Ulrich
thanks for the answers. As the IDs are not persistent, I will try to store the objects handles as custom properties.
Looks like a workable approach!
Regards and thanks!
Ulrich
- Thu Feb 19, 2015 4:05 pm
- Forum: QCAD Programming, Script Programming and Contributing
- Topic: REntity::Id and RObject::ParentId
- Replies: 3
- Views: 7968
REntity::Id and RObject::ParentId
Hi Andrew, just another questions: 1. Am I right to assume that the Id of an REntity is fixed? That it does not change by modifying the entity ? And it stays the same after saving and restoring, even when the releasees of QCAD progress? And, if I delete one entity, that its Id will never be reused? ...
- Thu Feb 05, 2015 3:18 pm
- Forum: QCAD Programming, Script Programming and Contributing
- Topic: How to translate ecma scripts
- Replies: 3
- Views: 6869
Re: How to translate ecma scripts
Thanks, Andrew, as always a very informative anser. I will dig into the lupdate / lrelease parameter and follow the bash aproach. This was I can restrict on my sources / scripts.
BTW, does the shared_ts.pri in the root of the source files give the correct clues?
Regards,
Ulrich
BTW, does the shared_ts.pri in the root of the source files give the correct clues?
Regards,
Ulrich