Commit Graph

1533 Commits

Author SHA1 Message Date
Yorik van Havre
b1d9a5607f Merged crowdin translations 2021-05-27 14:51:33 +02:00
Yorik van Havre
c6771853ae Updated translation files 2021-05-27 14:44:40 +02:00
mapeze
60a75e5d24 Fix TechDraw View Spreadsheet with merged cells, 2 2021-05-21 17:26:13 +02:00
donovaly
b981f9056c [TD] fix centerline crashes and bugs
the PR fixes the following things:
- change the way centerlines between 2 lines are calculated. The current implementation leads to many bugs and even crashes (e.g. when the 2 selected lines are parallel ones of a square). There are different forum threads from the last 1.5 years.
The new endpoint line sorting is the one described here: https://forum.freecadweb.org/viewtopic.php?f=35&start=20&t=44255&sid=989a668890f954c13ef81e4a04ee6912#p501179

- as consequence the erroneous and misleading line end flipping can go and is removed (only used internally)

- when creating a new centerline, you see it immediately

- when creating a new or editing an existing centerline and press Cancel, the creation/editing is aborted

- fix crash when the 2 selected lines are bot horizontal and one tries to create a vertical centerline

- fix crash when changing the orientation  of an existing centerline and the result would be invalid

- cleanup the code a bit
2021-05-15 05:21:29 +02:00
Yorik van Havre
7b0a6358b1 Merged crwodin translations 2021-05-12 16:36:31 +02:00
Yorik van Havre
1175f2a38d Merge pull request #4779 from bitacovir/TD_Tree_Icons
[TD] Name uniformity for TechDraw_Tree Icons
2021-05-12 15:38:14 +02:00
Yorik van Havre
81a44fcccb Updated ts files 2021-05-11 13:05:20 +02:00
Yorik van Havre
4b4087e18f Merge pull request #4773 from steelman/techdraw-svg-layer
[TD] Make the root SVG group a layer for Inkscape
2021-05-11 12:15:14 +02:00
bitacovir
9502501f61 Update TechDraw_TreePageTemplate.svg 2021-05-08 08:26:04 -04:00
bitacovir
20f0084b81 Update TechDraw_TreeView.svg
metadata name updated
2021-05-07 16:34:35 -04:00
bitacovir
9e902124a0 Update TechDraw_TreeSymbol.svg
metadata name updated
2021-05-07 16:33:29 -04:00
bitacovir
7d7b9ba5d0 Update TechDraw_TreeSpreadsheet.svg
metadata name updated
2021-05-07 16:31:49 -04:00
bitacovir
5bb3f9d3f1 Update TechDraw_TreeSection.svg
metadata name updated
2021-05-07 16:30:07 -04:00
bitacovir
1eae45bd77 Update TechDraw_TreeProjGroup.svg
metadata names updated
2021-05-07 16:28:43 -04:00
bitacovir
4a2ac428b8 Update TechDraw_TreePageTemplate.svg
metadata names updated
2021-05-07 16:24:58 -04:00
bitacovir
9f98889fc6 Update TechDraw_TreePage.svg
metadata names updated
2021-05-07 16:00:36 -04:00
bitacovir
ac8b47e5ca Update TechDraw_TreeMulti.svg
metadata names updated
2021-05-07 15:58:53 -04:00
bitacovir
158e51398e Update TechDraw_TreeHatch.svg
metadata names updated
2021-05-07 15:57:31 -04:00
bitacovir
468af0e714 [TD] Name uniformity for Tree Icons 2021-05-07 12:07:35 -04:00
Yorik van Havre
131cdd1e4e Merge pull request #4557 from luzpaz/crowdin/whitespaces-substituted-into-code
Crowdin: represent whitespace in code instead of in string
2021-05-05 17:18:35 +02:00
Łukasz Stelmach
9904d42f57 [TD] Make the root SVG group a layer for Inkscape
Layers are Inkscape way of marking top level groups. Inkscape provides
convenient UI to show and hide these groups as well as to lock them to
prevent users from accidentally editing them. Although Inkscape can open
and edit files without layers (without any top level group having the
groupmode attribute set to "layer"), it is somewhat cumbersome to move
the group created by TechDraw to a separate layer, which is what I do,
when I want to add more layers with additional information.

Signed-off-by: Łukasz Stelmach <stlman@poczta.fm>
2021-05-03 21:39:07 +02:00
wmayer
f5f3acc2a3 TD: remove some more deprecated Py2 code 2021-04-26 11:01:59 +02:00
wmayer
ea96f18601 TD: do not delete mtextedit.h for in-source builds 2021-04-25 13:15:20 +02:00
wmayer
ae0a31542f TD: fix memory leaks in BaseGeom::baseFactory() and make code more readable 2021-04-23 17:05:13 +02:00
luz paz
1d60dbdc85 [TD] remove Py2 code from TD 2021-04-22 13:08:56 +02:00
Yorik van Havre
d775aa930b Merge pull request #4724 from Syres916/patch-15
[Techdraw] Fix minor bug changing Image Crop...
2021-04-22 10:59:23 +02:00
wmayer
ee98ed5baf CMake: disable moc for some targets and fix failure for existing builds 2021-04-19 15:13:17 +02:00
Mateusz Skowroński
92683e1f63 Fix CMake warning: qt5_make_output_file is not part of the official API, and might be removed in Qt 6. 2021-04-19 15:10:53 +02:00
luz paz
1388db3c0a Crowdin: represent whitespace in code instead of string 2021-04-19 06:23:07 -04:00
Alexander Golubev
33cca2e6c6 TD: fix center line style settings
forum thread: https://forum.freecadweb.org/viewtopic.php?f=35&t=57783
2021-04-17 11:39:13 +02:00
luz paz
6c52a46d07 [TD] remove icons/cursor-balloon.png and replace references w/ SVG file
Replacing w/ the already installed`TechDraw_Balloon.svg` file in the same directory.
2021-04-17 11:38:10 +02:00
luz paz
84dffcc460 [TD] Replace techdraw-lock.png and rename with TechDraw_Lock.svg 2021-04-17 11:38:10 +02:00
luz paz
5d890d8ba2 [TD] Cont. organizing TechDraw.qrc file
Use similar approach that is used in `src/Mod/Fem/Gui/Resources/Fem.qrc`
2021-04-17 11:38:10 +02:00
luz paz
73d330b0c8 [TD] Renamed ProjectionGroup, Hatch, GeomericHatch 2021-04-17 11:38:10 +02:00
luz paz
ef4ef201e7 [TD] Renamed ClipGroup, ClipGroupAdd, ClipGroupRemove 2021-04-17 11:38:10 +02:00
luz paz
d703d9a89c [TD] Renamed SpreadsheetView, RichTextAnnotation, SectionView...
`Quadrants`, `DetailView`, `ShowAll`
2021-04-17 11:38:10 +02:00
luz paz
147e4aafff [TD] icon name uniformity (cont.)
`WeldSymbol`, `PageDefault`, `PageTemplate`, `Symbol`, `ExportPageSVG`. `ExportPageDXF`, and `Tile`  
Moved `icons/arrow*` files further down the list + continuing to sort.
2021-04-17 11:38:10 +02:00
luz paz
3c1eefd7a3 [TD] Fix minor superfluous whitespace [skip ci] 2021-04-14 15:20:20 +02:00
luz paz
f50521a7ab [TD] Fix typo in Gui/CommandAnnotate.cpp [skip ci] 2021-04-14 15:19:51 +02:00
Syres916
37b65d0865 [Techdraw] Fix minor bug changing Image Crop...
... from True to False does not fill image view box only approx three quarters.
This was found testing reported issue https://forum.freecadweb.org/viewtopic.php?f=35&t=57537 (otherwise it works as @wandererfan expected)
2021-04-09 10:23:29 +01:00
luz paz
373e3a68aa [TD] icon uniformity for ActiveView and FaceCenterLine commands
Renamed SVGs, saved as plain svg, updated appropriate areas in the source code
2021-04-05 14:41:30 +02:00
Mateusz Skowroński
e66ed26769 QPainter::HighQualityAntialiasing is deprecated. Use QPainter::Antialiasing instead. 2021-04-04 11:33:51 +02:00
bitacovir
24ce12d8f3 [UI] Replace SVG icon of TechDraw RedrawPage 2021-04-03 17:58:05 +02:00
wmayer
033b5397f3 TD: [skip ci] fix DrawingView::print/MDIViewPage::print 2021-04-02 12:06:24 +02:00
Chris Hennes
cbdc2ac48e [TD] Remove deprecated Qt < 5.9 code 2021-04-02 12:02:54 +02:00
wmayer
5e73e7187a TD: fixes #0004598: Segfault when deleting template without page 2021-03-27 13:18:15 +01:00
Benjamin Nauck
d358e13cd6 TechDraw: [skip ci] convert source files from iso-8859 to utf-8
All other source files are either plain ascii or utf-8, this converts
the last few to utf-8.
2021-03-25 18:02:12 +01:00
David Osterberg
43bc30da84 Beautify xml step 1: These changes do not affect the uic output 2021-03-02 16:29:11 +01:00
Yorik van Havre
29bbb5e14f Merge branch 'master' of github.com:FreeCAD/FreeCAD 2021-02-25 13:30:09 +01:00
Yorik van Havre
958009c2ca Merged crowdin translations 2021-02-25 13:27:48 +01:00