- Status Closed
- Percent Complete
- Task Type Feature Request
- Category ECMAScript
-
Assigned To
andrew - Operating System All
- Severity Low
- Priority Very Low
- Reported Version 3 Beta 3
- Due in Version Undecided
-
Due Date
Undecided
- Votes
- Private
Attached to Project: QCAD Bugtracker
Opened by hungerburg - 20.10.2011
Last edited by andrew - 20.10.2011
Opened by hungerburg - 20.10.2011
Last edited by andrew - 20.10.2011
FS#324 - SVG export depends on GUI
SvgExporter.js uses PrintPreview to parse the scale string, and therefore depends on the qt GUI part. That should not make maintenance harder to call RMath directly there? Results seem to match from a first look.
--- SvgExporter.js~ 2011-10-20 14:11:45.527589416 +0200
+++ SvgExporter.js 2011-10-20 14:12:46.277502814 +0200
@@ -1,6 +1,5 @@
include("scripts/library.js");
include("scripts/date.js");
-include("scripts/File/PrintPreview/Print.js");
/**
* File exporter implementation for the SVG format.
@@ -116,7 +115,7 @@
this.svgUnitAbbr = ret[1];
// scale
- this.scale = Print.parseScale(this.scaleStr);
+ this.scale = RMath.parseScale(this.scaleStr);
var bb = this.doc.getBoundingBox();
var size = bb.getSize();
Loading...
Available keyboard shortcuts
- Alt + ⇧ Shift + l Login Dialog / Logout
- Alt + ⇧ Shift + a Add new task
- Alt + ⇧ Shift + m My searches
- Alt + ⇧ Shift + t focus taskid search
Tasklist
- o open selected task
- j move cursor down
- k move cursor up
Task Details
- n Next task
- p Previous task
- Alt + ⇧ Shift + e ↵ Enter Edit this task
- Alt + ⇧ Shift + w watch task
- Alt + ⇧ Shift + y Close Task
Task Editing
- Alt + ⇧ Shift + s save task
You're right. That dependency was ugly and unnecessary since parseScale moved to RMath, thanks.