Search found 47 matches

by sarlaa
Tue Jul 10, 2018 4:40 pm
Forum: QCAD Developers and Contributors
Topic: Line drawing with relative angle
Replies: 2
Views: 589

Re: Line drawing with relative angle

I see, thanks again.
by sarlaa
Tue Jul 10, 2018 3:51 pm
Forum: QCAD Developers and Contributors
Topic: how to Simulate the keyboard press
Replies: 6
Views: 650

Re: how to Simulate the keyboard press

Works perfectly thanks !
by sarlaa
Tue Jul 10, 2018 3:14 pm
Forum: QCAD Developers and Contributors
Topic: how to Simulate the keyboard press
Replies: 6
Views: 650

Re: how to Simulate the keyboard press

This is what we have for now, but doing like this there is others scenarios than append, like replace with text when input text initial is selected ...
So for having the exact default behavior of input, why we serach to launch progamatically the key press.
by sarlaa
Tue Jul 10, 2018 1:41 pm
Forum: QCAD Developers and Contributors
Topic: Line drawing with relative angle
Replies: 2
Views: 589

Line drawing with relative angle

Hi, I have as input a line and precesion for angle and length for second line to draw, knowing that the angle is relative to first line. Is there a way to caclulate the point considering relative angle ? soemthing like the function : RVector createPolar (double radius, double angle) but with relativ...
by sarlaa
Tue Jul 10, 2018 1:15 pm
Forum: QCAD Developers and Contributors
Topic: how to Simulate the keyboard press
Replies: 6
Views: 650

Re: how to Simulate the keyboard press

I tried your 2 propositions, still not working for me.
by sarlaa
Mon Jul 09, 2018 7:03 pm
Forum: QCAD Developers and Contributors
Topic: how to Simulate the keyboard press
Replies: 6
Views: 650

how to Simulate the keyboard press

Hi, I want to simulate the keyboard press, I do like this : var appWin = EAction.getMainWindow() var ev = new QKeyEvent(QEvent.KeyPress, Qt.Key_8 ,Qt.NoModifier) var input = this.getDock().findChild("edtPolLength"); input.setFocus() QCoreApplication.postEvent(appWin, ev); The input get focus but the...
by sarlaa
Fri Jul 06, 2018 3:08 pm
Forum: QCAD Developers and Contributors
Topic: Detect layer changes
Replies: 8
Views: 1035

Re: Detect layer changes

I found it RDocumentVariables.PropertyCurrentLayerId.

Thanks.
by sarlaa
Fri Jul 06, 2018 3:03 pm
Forum: QCAD Developers and Contributors
Topic: Detect layer changes
Replies: 8
Views: 1035

Re: Detect layer changes

REntity.PropertyLayer is constant for : RPropertyTypeId(5, "", "", "", "Layer")
when I need constant of : RPropertyTypeId(18, "", "", "", "Current Layer ID")

Thanks.
by sarlaa
Thu Jun 28, 2018 10:33 am
Forum: QCAD Developers and Contributors
Topic: Detect layer changes
Replies: 8
Views: 1035

Re: Detect layer changes

Thanks
by sarlaa
Wed Jun 27, 2018 11:38 am
Forum: QCAD Developers and Contributors
Topic: Detect layer changes
Replies: 8
Views: 1035

Re: Detect layer changes

What's the property's constant of : RPropertyTypeId(18, "", "", "", "Current Layer ID") ?
(as RTextEntity.PropertyPositionX for RPropertyTypeId(53, "", "", "Text Position", "X") )
by sarlaa
Wed Jun 27, 2018 11:09 am
Forum: QCAD Developers and Contributors
Topic: Doing layer changes in one operation
Replies: 2
Views: 794

Doing layer changes in one operation

Hi,

How can I remove a layer, and set an other one as current layer in the same operation.

Thanks
by sarlaa
Tue Jun 26, 2018 3:22 pm
Forum: QCAD Developers and Contributors
Topic: Detect layer changes
Replies: 8
Views: 1035

Re: Detect layer changes

Thanks for your examples.
by sarlaa
Tue Jun 26, 2018 1:27 pm
Forum: QCAD Developers and Contributors
Topic: Detect layer changes
Replies: 8
Views: 1035

Detect layer changes

Hi,

Please, how can I detect layer changes information of a transaction ? (new layer added, removed, or setted as current)

Thanks
by sarlaa
Fri Jun 22, 2018 12:59 pm
Forum: QCAD Developers and Contributors
Topic: Issue with getPosition() of text entity
Replies: 1
Views: 759

Issue with getPosition() of text entity

Hi, I have an issue with getPosition() of text entity with this scenario : I add a text with : position X I move it to : position Y and then I do undo : I ask for position, and I get position Y !! while I see in their proprties position X as expected. It's look like to mee that when I ask for positi...

Go to advanced search