Commit Graph

995 Commits

Author SHA1 Message Date
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
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
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
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
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
donovaly
8dc95874a2 [TD] add 2 shortcuts for dimensions
as discussed here: https://forum.freecadweb.org/viewtopic.php?f=35&t=48980
2020-07-26 11:22:06 -04:00
wmayer
9a1a06c94b LGTM: [skip ci] fix: Duplicate include guard 2020-07-24 20:22:00 +02:00
luz paz
752f84046c Crowdin: Edits based on feedback from translators [skip-ci]
https://crowdin.com/translate/freecad/27911/en-en#6581566  
https://crowdin.com/translate/freecad/6766/en-en#6584432  
https://crowdin.com/translate/freecad/549/en-en#6578092
2020-07-24 13:49:59 +02:00
luz paz
f20ab1765f Fix Crowdin typos + trim superfluous whitespace [skip-ci]
Some issues that this PR fixes (but not all listed):  
https://crowdin.com/translate/freecad/27911/en-en#6581578  
https://crowdin.com/translate/freecad/27911/en-en#6579080  
https://crowdin.com/translate/freecad/27911/en-en#6581580  
https://crowdin.com/translate/freecad/27911/en-en#6579086
2020-07-23 13:52:44 +02:00
wmayer
5584c36c1b Coverity: [skip ci] Dereference before null check 2020-07-21 14:31:09 +02:00
wmayer
b25dee58d5 Coverity: Uninitialized scalar/pointer field 2020-07-20 17:34:30 +02:00
wmayer
45b755a596 Coverity: Unchecked dynamic_cast 2020-07-20 17:34:28 +02:00
wmayer
4a494fec69 Coverity: Dereference null return value 2020-07-20 17:34:26 +02:00
wmayer
421f6c52cb Coverity: Dereference after null check 2020-07-20 17:34:25 +02:00
wmayer
473553a212 PVS: V595 A pointer was utilized before it was verified against nullptr 2020-07-18 10:59:28 +02:00
wmayer
16f953ad65 PVS: V1004 A pointer was used unsafely after it was verified against nullptr 2020-07-18 10:59:27 +02:00
wmayer
309f7197f4 PVS: V678 An object is used as an argument to its own method. Consider checking the first actual argument of the 'setupUi' function.
Avoid to include ui generated header files within other header files but use forward declarations instead. This reduces dependencies between files and compile time considerably
2020-07-18 10:59:27 +02:00
wmayer
73cc1d271f PVS: V570 A variable is assigned to itself 2020-07-18 10:59:27 +02:00
wmayer
e9bc970c28 PVS: V522 There might be dereferencing of a potential null pointer 2020-07-18 10:59:27 +02:00
wmayer
cbb5f99ade PVS: V730 Not all members of a class are initialized inside the constructor 2020-07-18 10:59:27 +02:00
wandererfan
30ff7fb6e4 [TD]multiple faces in GeomHatch 2020-07-16 08:14:16 -04:00
luz paz
3dfae3ba46 Merged crowdin translations 2020-07-13 14:49:45 +02:00
Yorik van Havre
fbfe821e8c Updated master ts files 2020-07-13 13:20:21 +02:00
WandererFan
2465f66034 [TD]Section line symbol rotation 2020-07-09 08:46:21 -04:00
wandererfan
b7e8ad9a4e [TD]DPG spacing for oblique views 2020-07-07 15:26:20 -04:00