Search found 33 matches

by liguosheng
Sun Oct 29, 2017 5:13 am
Forum: QCAD Developers and Contributors
Topic: qcad cannot run on the system of win10
Replies: 1
Views: 2590

qcad cannot run on the system of win10

when qcad3.18.1.3 is compiled based on vs2015 and qt5.7.1, there aren't any errors and the file of exe is produced, but qcad.exe is exited,why?
by liguosheng
Sun Jul 30, 2017 9:39 am
Forum: QCAD Developers and Contributors
Topic: how can i get mouse position in a image
Replies: 1
Views: 2986

how can i get mouse position in a image

when a image is loaded,like that: image = new RImageEntity(doc, RImageData(strImageFile, RVector(0,0),RVector(1,0), RVector(0,1), 50, 50, 0)); image->setInsertionPoint(drawSect->ptDemInsert); double pWid = image->getPixelWidth() * xRes; double pHei = image->getPixelHeight() * xRes; image->setWidth(p...
by liguosheng
Mon Nov 21, 2016 4:01 am
Forum: QCAD Developers and Contributors
Topic: about linetype
Replies: 7
Views: 5853

Re: about linetype

Thanks andrew.
In AutoCAD, the effect of dashed lines can be seen by linescale. In QCAD, how about linetypeScale? when is used it?
by liguosheng
Fri Nov 18, 2016 2:06 am
Forum: QCAD Developers and Contributors
Topic: about linetype
Replies: 7
Views: 5853

Re: about linetype

I want to draw a dashed line, it has line that is two units (that is to say 2 mm) and space whic is one unit (that is to say 1 mm), those length are real when they are printed. If the scale of drawing is 1/500, how can i set linescale?
by liguosheng
Wed Nov 16, 2016 2:56 pm
Forum: QCAD Developers and Contributors
Topic: about linetype
Replies: 7
Views: 5853

Re: about linetype

Thanks andrew.
If an entity's linetype isn't continuous, only based on screen-based mode, its' effect is visible. However, its' lineweight isn't visible. that is to say, the effect of linetype and lineweight cannot be existed at the same time. is this true?
by liguosheng
Wed Nov 16, 2016 1:55 am
Forum: QCAD Developers and Contributors
Topic: about linetype
Replies: 7
Views: 5853

about linetype

if drawing unit is setted to meter, after lines being drawn, their linetypes are setted to 'ACAD_ISO02W100', but their effects are not.
Also, if i want to set the entity's linetype by code, not by property editor, how cand do?
by liguosheng
Wed Nov 16, 2016 1:39 am
Forum: QCAD Developers and Contributors
Topic: can the width of line be user-defined?
Replies: 2
Views: 2833

Re: can the width of line be user-defined?

thanks andrew, i found where it's added.
by liguosheng
Sun Nov 13, 2016 3:16 am
Forum: QCAD Developers and Contributors
Topic: can the width of line be user-defined?
Replies: 2
Views: 2833

can the width of line be user-defined?

In RLineweight class, there is a variable of enum Lineweight, it has some values, can a new value be added? for example, 'Weight027 = 27' is added between 'Weight025 = 25' and 'Weight030 = 30'.
In fact, the new value can't be appeared into the RLineweightCombo after test.
by liguosheng
Fri Nov 11, 2016 2:29 am
Forum: QCAD Developers and Contributors
Topic: How can i set the width of line?
Replies: 7
Views: 4178

Re: How can i set the width of line?

when a line is finished, i want to draw some different lines according to the path of the line by code automatically, How is it realized?
Thanks!
can someone help me?
by liguosheng
Thu Nov 10, 2016 2:52 pm
Forum: QCAD Developers and Contributors
Topic: How can i set the width of line?
Replies: 7
Views: 4178

Re: How can i set the width of line?

In the commuity version, is the width of line to be setted by code? that is to say, the width of line cann't be setted by code. Only its' color can be setted by code.
by liguosheng
Thu Nov 10, 2016 1:57 pm
Forum: QCAD Developers and Contributors
Topic: How can i set the width of line?
Replies: 7
Views: 4178

Re: How can i set the width of line?

by "Fixed Attributes", the width of line can be edited. However, i want to change a line which its' property isn't 'by layer', its' width must be setted by code. When 'setLineweight' is be usede, its' width cann't be changed, its' color can be changed. Why?
by liguosheng
Wed Nov 09, 2016 1:31 pm
Forum: QCAD Developers and Contributors
Topic: How can i set the width of line?
Replies: 7
Views: 4178

Re: How can i set the width of line?

By property editor, the width of line can be edited. However, if i want to set the width of line before it be drawn, which function can be uesed?
thanks!
by liguosheng
Wed Nov 09, 2016 1:09 pm
Forum: QCAD Developers and Contributors
Topic: How can i set the width of line?
Replies: 7
Views: 4178

How can i set the width of line?

I want to draw of line, its' width is 0.15mm, how can I?
thanks a lot!
by liguosheng
Fri Oct 07, 2016 2:03 pm
Forum: QCAD Developers and Contributors
Topic: when undo, how can get type of entity?
Replies: 3
Views: 2829

Re: when undo, how can get type of entity?

if a block is deleted, then undo, can the name of block be got? how? thanks!
by liguosheng
Fri Oct 07, 2016 11:36 am
Forum: QCAD Developers and Contributors
Topic: when undo, how can get type of entity?
Replies: 3
Views: 2829

when undo, how can get type of entity?

when an entity is selected, its' type can be acquired easily. However, when an entity is undid or redid(in the 'Edit' menu), how to get its' type? Thanks!

Go to advanced search