Search found 9028 matches

by andrew
Mon Sep 22, 2014 8:57 am
Forum: QCAD Programming, Script Programming and Contributing
Topic: C++ Example of using RGuAction and RActionAdapter
Replies: 4
Views: 7032

Re: C++ Example of using RGuAction and RActionAdapter

It sounds like what we are doing (scripts calling into C++ plugin) is the correct way. Yes, that is certainly the recommended way. I think the clients motivation is confidentiality of the proprietary code. It is relatively easily possible to compile all scripts as resources into a C++ plugin. You c...
by andrew
Fri Sep 19, 2014 12:16 pm
Forum: QCAD Professional
Topic: Prozess aus javascript starten
Replies: 1
Views: 3057

Re: Prozess aus javascript starten

Hier ein kleines Beispiel (startet das Programm 'myapp' mit argument 'myfile.dat'): // application binary: var program = "myapp"; // arguments: var args = [ "myfile.dat" ]; // additional environment variables: var environment = [ ["MYENVVAR", 1] ]; var process = new QProcess(); // error handling: pr...
by andrew
Wed Sep 17, 2014 11:26 am
Forum: QCAD Programming, Script Programming and Contributing
Topic: C++ Example of using RGuAction and RActionAdapter
Replies: 4
Views: 7032

Re: C++ Example of using RGuAction and RActionAdapter

Implementing GUI actions in C++ is currently not recommended. All menus in QCAD are implemented as scripts at the top level (GUI action, menu, tool buttons, etc). If a tool requires complex or CPU intensive algorithms, these could be implemented in a C++ plugin which is then called from the script. ...
by andrew
Mon Sep 15, 2014 8:36 am
Forum: QCAD 'Script Add-On & Plug-in challenge' - Work in Progress
Topic: scripting tutorial
Replies: 2
Views: 16112

Re: scripting tutorial

You can find a simple tutorial for a tool that draws three points where the user clicks at:
http://www.qcad.org/doc/qcad/latest/dev ... _tool.html

More examples are included with QCAD in your QCAD installation directory under:
scripts/Misc/Examples
by andrew
Fri Sep 12, 2014 2:06 pm
Forum: QCAD 'How Do I' Questions
Topic: Resize an object without scaling down whole object
Replies: 1
Views: 4080

Re: Resize an object without scaling down whole object

You can override the value / label of dimensions in the property editor (property "Label").
by andrew
Fri Sep 12, 2014 9:32 am
Forum: QCAD Community Edition
Topic: Rangfolge von Layern
Replies: 3
Views: 22828

Re: Rangfolge von Layern

Zu beachten gibt es noch, dass diese Idee (Darstellungsreihenfolge nach Layern) grundsätzlich nicht aufgeht sobald Blöcke verwendet werden. Eine Blockreferenz ist ein Objekt und als solches auf einem Layer. Alle Objekte in der Blockreferenz (Linien, Bögen, etc.) sind ebenfalls auf individuellen Laye...
by andrew
Fri Sep 12, 2014 9:05 am
Forum: QCAD Professional
Topic: Schriftgrösse Statuszeile
Replies: 1
Views: 2536

Re: Schriftgrösse Statuszeile

Ja, diese Einstellung findet sich unter:
Bearbeiten > Applikationseinstellungen > Widgets > Statuszeile
by andrew
Fri Sep 12, 2014 9:03 am
Forum: QCAD Professional
Topic: Schriftgrösse Statuszeile
Replies: 1
Views: 2536

Schriftgrösse Statuszeile

Von einem QCAD Benutzer:
Kann man die Schriftgrösse in der Statuszeile des Hauptfensters vergrößern?
by andrew
Fri Sep 12, 2014 8:56 am
Forum: QCAD 'How Do I' Questions
Topic: Block with attributes - how to lock text orientation
Replies: 3
Views: 7258

Re: Block with attributes - how to lock text orientation

Only "Flip Block vertically" keeps the 0° Angle orientation. That means this is a bug? No. Flip vertically in your example would strictly speaking produce a text that is mirrored (not correctly readable from any angle). QCAD never produces text that is mirrored. I.e. the text is always readable cor...
by andrew
Tue Sep 02, 2014 3:30 pm
Forum: QCAD Professional
Topic: PDF-Export
Replies: 12
Views: 12495

Re: PDF-Export

I can now reproduce the problem. It only occurs under Windows and seems to be related to the position of the drawing. I'm currently checking if this might be related to the Qt version used for the Windows version. As a workaround you can move the whole drawing close to 0/0 (e.g. Cut with reference, ...
by andrew
Mon Sep 01, 2014 4:46 pm
Forum: QCAD Professional
Topic: PDF-Export
Replies: 12
Views: 12495

Re: PDF-Export

Danke für die Datei. Ich konnte das Problem hier bisher nicht nachvollziehen. Können Sie bitte Ihre QCAD Versionsnummer nochmals überprüfen (oben ist v3.6.3.0 angegeben). Bitte versuchen Sie auch, den Export wie folgt durchzuführen: - Datei > Druckvorschau - Zoom in bis Details gut sichtbar sind - D...
by andrew
Mon Sep 01, 2014 11:05 am
Forum: QCAD Troubleshooting and Problems
Topic: Import dxf and Bitmap-files
Replies: 4
Views: 6362

Re: Import *.CAD

romannachbauer wrote:Is it possible to import *.cad files ?
No. Depending on the application they originate from, you might be able to export them as DXF or convert them to DXF.
by andrew
Mon Sep 01, 2014 10:25 am
Forum: QCAD Troubleshooting and Problems
Topic: Import dxf and Bitmap-files
Replies: 4
Views: 6362

Re: Import dxf and Bitmap-dateien

What must I do that I can import DXF und bmp files. To merge a DXF file into an existing drawing, you can either: - Use the library browser (View > Library Browser), typically used to insert symbols and other small ready-made parts - Open both drawings and use copy / paste to copy one drawing into ...
by andrew
Mon Sep 01, 2014 9:01 am
Forum: QCAD 'How Do I' Questions
Topic: Where Is the Command Line Reference?
Replies: 6
Views: 10473

Re: Where Is the Command Line Reference?

careysub wrote:How to use the command line in this manner needs to be well integrated into the documentation, including the official book.
Coordinate entry through the command line is indeed covered in chapter 7, "Coordinates". Please pay also attention to the section "Notes for Advanced Users".
by andrew
Wed Aug 27, 2014 9:32 am
Forum: QCAD Programming, Script Programming and Contributing
Topic: QCAD Plugins: Using different compiler / Qt version
Replies: 2
Views: 5450

Re: QCAD Plugins: Using different compiler / Qt version

Note: I've split your last post about making classes scriptable into a new thread at:
viewtopic.php?f=30&t=3022

Go to advanced search