Commit Graph

1385 Commits

Author SHA1 Message Date
luz paz
2befcd9502 TD: Issue #0004473: Expose openCommand() to translation
Continuing the work to expose the undo/redo functionality to translation. This commit does so for the TechDraw Wb.  
Ticket: https://tracker.freecadweb.org/view.php?id=4473
2020-12-01 14:53:35 +01:00
wmayer
d6a1bd014f TechDraw: [skip ci] fix -Winconsistent-missing-override 2020-12-01 14:45:26 +01:00
Aapo
4e06414552 [TD] Add comments and more transparent tolerance position adjustment calculation. 2020-12-01 14:37:39 +01:00
aapo-aapo
4ed3c99e3e Update src/Mod/TechDraw/Gui/QGCustomText.cpp by compacting boundingRect()
Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>
2020-12-01 14:37:39 +01:00
Aapo
f2e91ec488 [TD] Make dimension number graphical layout more compact by making boundingRect() tighter for dimension number labels. 2020-12-01 14:37:39 +01:00
Aapo
31d6c7528d Refactor code in DrawViewDimension::getRefType() shorter and simpler. No functional change except subelement sizes > 3 are supported, even though they are not supposed to happen. 2020-11-19 13:40:42 +01:00
Aapo
bda3e700fa [TD]fix V2E DistanceX,Y to always use the closest point of edge to the vertex. 2020-11-18 14:54:44 +01:00
luz paz
2cfd04d17c TechDraw: minor cosmetic readability change in Gui/Workbench.cpp
[skip ci]
2020-11-16 14:52:42 +01:00
luz paz
a3cb87b117 TechDraw: Header uniformity and whitespace fixes 2020-11-14 16:59:51 +01:00
Yorik van Havre
e76c857036 Merged crowdin translations 2020-11-10 14:58:06 +01:00
donovaly
edc5925148 [TD] change RichAnnos's linestyle to the one of other TD components
we already use enumerations for line styles for other components of TD and also the preferences. It seems I just have overseen this occurrence.
2020-11-06 12:14:18 +01:00
luz paz
ff5f3799d8 Fix various typos [skip-ci]
Found via `codespell v2.0.dev`  
```
codespell -q 3 -L aci,ake,aline,alle,alledges,alocation,als,ang,anid,ba,beginn,behaviour,bloaded,byteorder,calculater,cancelled,cancelling,cas,cascade,centimetre,childs,colour,colours,commen,connexion,currenty,dof,doubleclick,dum,eiter,elemente,ende,feld,finde,findf,freez,hist,iff,indicies,initialisation,initialise,initialised,initialises,initialisiert,ist,kilometre,lod,mantatory,methode,metres,millimetre,modell,nd,noe,normale,normaly,nto,numer,oder,orgin,orginx,orginy,ot,pard,pres,programm,que,recurrance,rougly,seperator,serie,sinc,strack,substraction,te,thist,thru,tread,uint,unter,vertexes,wallthickness,whitespaces -S ./.git,*.po,*.ts,./ChangeLog.txt,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/CXX,./src/zipios++,./src/Base/swig*,./src/Mod/Robot/App/kdl_cp,./src/Mod/Import/App/SCL,./src/WindowsInstaller,./src/Doc/FreeCAD.uml
```
2020-11-04 10:18:30 +01:00
Yorik van Havre
7c9e0f3a99 Merged crowdin translations 2020-10-28 12:04:37 +01:00
Yorik van Havre
2bf4448e09 TechDraw: Better tooltip for scale property 2020-10-20 14:50:23 +02:00
wmayer
2057e151d8 Qt5: fix deprecation warnings for Qt 5.15
+ QByteArray::append is deprecated
+ QPixmap* QLabel::pixmap() is deprecated
+ overloaded version of QString::split is deprecated
+ QSysInfo::windowsVersion()/QSysInfo::MacVersion() is deprecated
2020-10-18 14:45:31 +02:00
wmayer
34f4b712d8 Qt5: fix deprecation warnings of QWheelEvent in Qt 5.15 2020-10-18 14:45:31 +02:00
wmayer
d75299143b TechDraw: [skip ci] fix possible crash in QGIViewPart::drawFace 2020-10-15 09:40:39 +02:00
Yorik van Havre
089ed768cc Merged crowdin translations 2020-09-30 14:37:02 +02:00
Yorik van Havre
2a92a7b5a7 Updated ts files 2020-09-30 13:06:53 +02:00
wmayer
3dce94d589 TechDraw: [skip ci] Coverity: Dereference null return value 2020-09-14 14:04:18 +02:00
wmayer
e5a3ba0ce8 TechDraw: [skip ci] Coverity: Uninitialized scalar variable/Uninitialized scalar field 2020-09-14 13:54:55 +02:00
wmayer
9fd5769f07 TechDraw: [skip ci] fix several gcc/clang warnings
-Wunused-private-field
-Wmaybe-uninitialized
-Wunused-parameter
2020-09-11 15:10:58 +02:00
wandererfan
3d6390bc93 [TD]Allow single line S/S view 2020-09-02 11:42:10 -04:00
wandererfan
ad1b48b73d [TD]fix V2E DistanceX,Y 2020-08-30 18:59:11 -04:00
luz paz
4344f6bc08 Fix typos in source comments
Found via `codespell`
2020-08-29 19:14:13 +02:00
wandererfan
08ba104d87 [TD]remove restrictions on Edge-Edge Dims 2020-08-29 11:13:35 -04:00
wandererfan
5d58c2c711 [TD]remove extra space in Angular Dims 2020-08-29 11:13:35 -04:00
wandererfan
cc81f791da [TD]change Angle Dim tolerance format 2020-08-22 08:56:57 -04:00
wandererfan
1cad17c5f5 [TD]draw line through 2 points 2020-08-19 09:02:25 -04:00
wandererfan
f56825c79f [TD]handle bad preferences in AppImage temp dir 2020-08-14 09:37:14 -04:00
wandererfan
abd18ff88f [TD]fix showSectionEdge preference 2020-08-10 10:19:09 -04:00
luz paz
59e3ea096e Crowdin: Merge new translations [skip-ci] 2020-08-07 17:17:35 +02:00
wandererfan
64200d8287 [TD]add py getEdgeBySelection 2020-08-06 10:21:13 -04:00
wandererfan
989519e002 [TD]Fix extent dim for edge collection 2020-07-31 08:55:54 -04:00
luz paz
74ab9ccd9c Crowdin - Fix typos found by translators + Random typos [skip-ci]
https://crowdin.com/translate/freecad/6766/en-fr#6582288
2020-07-31 09:05:23 +02:00
luz paz
71d64a7bff Crowdin: Fix superfluous newlines + uniformity [skip-ci]
https://crowdin.com/translate/freecad/27911/en-en#6578930
https://crowdin.com/translate/freecad/27911/en-en#6584458
https://crowdin.com/translate/freecad/27911/en-en#6584460

Note: Parts of the issue are handled with PR 3744
2020-07-30 12:42:31 +02:00
wandererfan
f2a9f712e8 [TD]Correct font size on PDF export 2020-07-29 15:53:04 -04:00
wandererfan
980ecc87a3 [TD]Dim blocks selection of geometry 2020-07-28 15:09:40 -04:00
wmayer
cd5341001e remove superfluous includes of iostream, use iosfwd instead 2020-07-28 15:22:23 +02:00
felix
4329ccd1ed [TechDraw] Add context to zh_CN README file for description changes
[skip-ci]
2020-07-28 08:39:48 -04:00
felix
0190e8d276 [TechDraw] Add all sizes (landscape/A3/A4 portrait) template PRoC files
Add all landscape template files in landscape directory.
create new directory portrait and put A3/A4 portrait
template files to the directory.
2020-07-28 08:39:48 -04:00
felix
d39b4dfcda [TechDraw] Delete v0.001 of all landscape PRoC template files
Forum thread: https://forum.freecadweb.org/viewtopic.php?f=17&t=48854
2020-07-28 08:39:48 -04:00
donovaly
e727cd3754 also avoid leading newlines 2020-07-26 19:47:25 -04:00
donovaly
d7ee728be3 assure the translation
- also fix a typo
2020-07-26 19:47:25 -04:00
donovaly
5e6e03b6fa improve coding style 2020-07-26 19:47:25 -04:00
donovaly
2b33e7776d [TD] get rid of trailing newlines
as discussed with luzpaz in https://github.com/FreeCAD/FreeCAD/pull/3735
there shouldn't be trailing newlines in translated strings.

- Moreover fix the logic of the output dialog text
2020-07-26 19:47:25 -04:00
wandererfan
21becb4e7a [TD]remove obsolete QPointF (LGTM) 2020-07-26 19:45:49 -04:00
wandererfan
cb90b6a112 [TD]remove obsolete QGraphicRectItem (LGTM) 2020-07-26 19:45:49 -04:00
wandererfan
04f1842308 [TD]remove obsolete QGraphicsSVGItem (LGTM) 2020-07-26 19:45:49 -04:00
wandererfan
9dac347fc7 [TD]fix Dim selection fails to clear prev selection 2020-07-26 19:45:49 -04:00