wmayer
af0477fc4a
remove trailing whitespace
2017-12-02 13:54:07 +01:00
WandererFan
15b509db25
Implement LineGroups for default weights
...
- Add ability to control default weight for visible,
hidden and decorative lines from a configuration
file. Diffent sets of defaults can be specified as
a preference.
2017-12-02 13:51:25 +01:00
luzpaz
56af703746
Fix Techdraw UI typo found via crowdin + misc. typos
...
Ref: https://crowdin.com/translate/freecad/27911/en-eu#6503377
2017-11-26 15:48:20 +01:00
WandererFan
447d4816ce
Fix #3224 Seg Fault in DrawProjGroup
...
- QGIViews for DrawProjGroupItem were not being deleted since
DPGI belongs to DPG, not DrawPage. Since there is a 1 to 1
relationship between MDIViewPage and DrawPage, the check for
membership in DrawPage is unnecessary.
2017-11-24 20:03:02 -05:00
WandererFan
7de79e7997
Fix #2967 Ph2 Do not show page on restore.
...
- phase 1 of this fix displayed an empty Page when
restoring with Preference set to "Do Not Keep Pages
Up To Date". Ph2 does not show the Page at all.
2017-11-24 20:03:02 -05:00
luzpaz
706141b967
Make uniform the use of B-spline visible to users
...
Forum thread: https://forum.freecadweb.org/viewtopic.php?f=8&t=25411
This commit does not include fixes to source comments unless they were 'doxygenated'.
No .xml files were altered either.
2017-11-17 19:30:37 -05:00
Yorik van Havre
9c4b31a4aa
TechDraw: Updated translation scripts
2017-11-16 17:12:52 -03:00
WandererFan
9a3a98c303
Correct sceneRect when Template size changes
2017-11-16 10:31:14 -05:00
WandererFan
3c790009a7
Fix calculation of integer scale
...
- conversion of <double> scale to/from integer scale
n:d was generating odd fractions and overflowing
spinboxes in ui.
2017-11-12 19:08:33 -05:00
WandererFan
196dd536e0
Fix QGIVSymbol positioning/rotation
2017-11-12 19:08:33 -05:00
WandererFan
88b15ffdf1
Poistioning and Rotation for QGIVAnnotation
2017-11-12 19:08:32 -05:00
WandererFan
600962362c
Fix QGIVImage positioning/rotation
2017-11-12 19:08:32 -05:00
WandererFan
44fd200166
Rotate DrawViewPart around part centroid
2017-11-12 19:08:32 -05:00
WandererFan
c70c6b15f7
Remove incorrect .qm/.ts files
...
- TechDraw translations directory contains old files based on
Drawing module.
2017-11-05 18:44:49 +01:00
wmayer
7ea6b0e19e
use scoped connection to automatically disconect on deletion
2017-11-01 14:13:57 +01:00
Yorik van Havre
cfe2d134a2
Updated translations from crowdin
2017-10-23 18:32:02 -02:00
WandererFan
3d7a4b9db6
Fix 3215 - ViewDetail does not handle Scale correctly
2017-10-19 13:24:19 +02:00
Unknown
ad457ba96b
Misc. Typos
2017-10-09 19:59:33 +02:00
WandererFan
d6a5672f89
Allow Views of App::Parts
2017-10-02 13:48:45 -03:00
WandererFan
4b8d04f528
change isDeleting to isUnsetting
...
- DocumentObject::isDeleting was changed to isRemoving.
This commit just prevents future confusion.
2017-10-02 13:48:45 -03:00
WandererFan
4b3ab9e74e
Allow Section based on ViewMulti
2017-10-02 13:48:45 -03:00
WandererFan
79936fbca5
Change 5d6b03eff to use isRemoving
...
- DocumentObject::isDeleting was renamed to
DocumentObject::isRemoving
2017-09-17 18:50:07 +02:00
WandererFan
a21ff86229
Fix Symbol fail to paint
...
- calls ViewProviderDocumentObject, but should call
ViewProviderViewPart in order to receive repaint
signals.
2017-09-17 18:50:07 +02:00
WandererFan
2e447dac3d
Fix crash due to QGraphicsScene update while View.isDeleting()
2017-09-17 18:50:07 +02:00
WandererFan
63bfba6646
Make View backgrounds transparent
...
- makes it easier to stack views
2017-09-17 18:50:07 +02:00
WandererFan
40d19d438d
Fix Symbol based View positioning
2017-09-17 18:50:07 +02:00
WandererFan
b6c820f4f4
Add debug utils for QRectF/QPointF
2017-09-17 18:50:07 +02:00
wmayer
d11267ff1e
load/save setting in techdraw panel
2017-09-10 17:08:23 +02:00
wmayer
c810508119
fix path to resource file in UI forms
2017-09-10 16:24:53 +02:00
WandererFan
dfe174aec5
Use system Decimals, alternate or custom for Dimensions
...
- Also make Dimension arrowhead size adjustable
2017-09-10 15:25:37 +02:00
WandererFan
833bd66a18
Fix page alignment when change to different Template
2017-09-10 15:25:22 +02:00
WandererFan
9379574016
Add preference for Template edit dot size
2017-09-10 15:24:00 +02:00
WandererFan
1722d1cd7d
Include osifont in TechDraw
...
- also use PropertyFont instead of PropertyString
2017-09-10 15:23:46 +02:00
WandererFan
781338c347
Add RedrawPage command
2017-09-10 15:23:23 +02:00
WandererFan
d27b8387e8
Eliminate superfluous DPG executes
2017-09-10 15:22:49 +02:00
WandererFan
137930c654
Add Page level redraw signal
2017-09-10 15:22:34 +02:00
WandererFan
e8f2c68b5c
Allow DrawPage updates to be suspended
2017-09-10 15:21:54 +02:00
Yorik van Havre
fe3f671b81
Updated translation strings (and sent to crowdin)
2017-08-31 10:46:55 -03:00
WandererFan
cbf42ad3b0
Coverity fixes
...
151677
151789 - OK as is
152005
152508
154871 - false positive
156593
163235
2017-07-17 19:47:44 -03:00
wmayer
1d83d179ca
do not hide any drawing elements when entering edit mode of a sketch
2017-07-15 15:47:22 +02:00
WandererFan
0768ae99cf
Coverity fixes
...
CID 156629 - obsolete
CID 156624 - obsolete
CID 163225 - won't fix
CID 163226
CID 163227
CID 163228
CID 163229
CID 163235
2017-06-23 08:14:46 +02:00
WandererFan
17b69c7c3a
Replace DPG table lookup logic with calculations
...
DPG used a pair of large tables to determine view
direction and rotation vector when subject was rotated
and spun. There were many errors in the tables that
needed manual checking to correct. The new version
uses calculations on a virtual glass cube to find view
direction and rotation vector.
2017-06-23 08:14:46 +02:00
Yorik van Havre
2a2ab3c4ef
Updated translations
2017-05-25 10:04:05 -03:00
WandererFan
36960df73e
Fix #2971 segfault on hide() current page from Python
2017-05-10 17:43:48 +02:00
WandererFan
5a0f53d75a
Fix #2972 Export Pdf Page Not in Foreground
...
exposes TechDrawGui.exportPageAsPdf(page,file)
also adds TechDrawGui.exportPageAsSvg(page,file)
2017-05-10 17:43:48 +02:00
WandererFan
5cc00e0c4d
Fix Dimension double child collection
...
if a dimension references 2 geometries in a View - ie
Vertex-Vertex - only count it as 1 child of View
2017-05-10 17:43:48 +02:00
WandererFan
76280891a1
DrawGeomHatch improvements
...
-draw & align dash patterns correctly on all QPainters using QGPathItem
-Allow patterns to start with space
-ensure horiz & vert lines pass through pattern origin
-Scalable complex patterns
2017-05-10 17:43:48 +02:00
WandererFan
f60464e545
implement detail view highlight in base view
2017-05-10 17:43:48 +02:00
WandererFan
eb34dc5103
fix confusing class name
2017-05-10 17:43:48 +02:00
WandererFan
75397d9e43
clean up GeomHatch feature, gui & dialog
...
Refactor code, allow dialog to edit feature, update graphics on change
prep for dash line start positioning.
2017-05-10 17:43:48 +02:00