Commit Graph

1299 Commits

Author SHA1 Message Date
wandererfan
6b47318065 [TD]fix 4335 section line pos on rotated base 2020-06-15 13:57:55 -04:00
wandererfan
d34c3573ab [TD]clear svg hatch on delete 2020-06-15 13:57:55 -04:00
wandererfan
de93a81768 [TD]Treat Imperial1/USCustomary as single value schema 2020-06-15 13:57:55 -04:00
wandererfan
c92d725aed [TD]change misleading prop name - Shape 2020-06-15 13:57:55 -04:00
wandererfan
0e4d893651 [TD]missing prefix/suffix for compound schema 2020-06-15 13:57:55 -04:00
wmayer
d6169d6478 boost: fix for boost < 1.60 2020-06-15 19:38:39 +02:00
donovaly
2c1ac10c2d get rid of unnecessary UI specifications 2020-06-15 08:05:05 -04:00
donovaly
d53c63f656 [TD] remove frame from pref dialogs 2020-06-15 08:05:05 -04:00
donovaly
b2250aad0b [TD] add missing update for Projection Group
currently when changing the scale or spacing this change is not taken into account until one explicitly marked the ProjGroup for recomputation
2020-06-15 08:04:14 -04:00
luz.paz
29cba68da9 Fix typos [skip ci]
Found via codespell v1.18.0.dev0  
```
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-06-15 10:11:22 +02:00
donovaly
1fa5d3759c [TD] use KeyboardTracking for section view dialog
use the keyboardTracking feature as we now also do for the detail view dialog
2020-06-14 06:47:37 -04:00
donovaly
e55d522970 [TD] remove hatch property DirProjection
as discussed in https://forum.freecadweb.org/viewtopic.php?f=35&t=47536&p=408075#p407904
the property DirProjection can go.
2020-06-13 20:45:31 -04:00
donovaly
ade9a9b34d DlgPrefsTechDrawGeneral.ui: get rid of explicit font family
this is unnecessary since Qt will automatically use the available font. It only raises questions since one see in the commit diffs that depending on who modified the dialog, his system default font will appear. (like in the initial commit of this PR)
2020-06-13 20:44:57 -04:00
donovaly
99d5adbc5e [TD] some wording fixes
- I had a look at Crowdin and saw that the translators don't know what to do with the uppercase letter words. And in fact we can use "normal" terms
- I also fixed a typo (missing 'd') to be consistent
2020-06-13 20:44:57 -04:00
donovaly
b3a6b22308 code simplification 2020-06-13 09:46:20 -04:00
donovaly
da4be69493 [TD] fix hatch color issue
as discussed: https://forum.freecadweb.org/viewtopic.php?f=35&t=47536&p=407916#p407916
there are 2 types of SVG declarations possible
2020-06-13 09:46:20 -04:00
wmayer
a455927d4a Qt5: Replace deprecated functions of QString:
'QString& QString::vsprintf(const char*, __va_list_tag*)' is deprecated: Use vasprintf(), arg() or QTextStream instead [-Wdeprecated-declarations]
'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations]
2020-06-12 17:51:33 +02:00
wmayer
aefd5e2358 Qt5: 'void Q[Plain]TextEdit::setTabStopWidth(int)' is deprecated [-Wdeprecated-declarations] 2020-06-12 17:51:33 +02:00
wmayer
d456b1021e Qt5: 'QVariant qVariantFromValue(const T&)' is deprecated: Use QVariant::fromValue() instead. [-Wdeprecated-declarations] 2020-06-12 17:51:33 +02:00
wmayer
8dbe26a95f Qt5: 'int QFontMetrics::width' is deprecated since Qt 5.11: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 2020-06-12 17:51:33 +02:00
wmayer
730154a684 boost 1.73.0: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated 2020-06-12 17:51:33 +02:00
wmayer
7b72dcb062 Qt5: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations] 2020-06-12 17:51:33 +02:00
donovaly
7bba15a2c9 [TD] make all hatch patters plain SVG
- everything that is part of the drawing should be plain SVG (strictly following the SVG specification) to assure that every SVG program can handle it (e.g. Internet browsers).
The hatch patterns however contained old stuff like traces of Sodipodi that might be a problem in the future.
2020-06-12 08:13:10 -04:00
donovaly
e889a49bbb [TD] add dialog for hatches
as discussed in the forum, the hatch feature misses a dialog. So here it is. The code is more or less just the one of the existing GeomHatch dialog
2020-06-12 08:12:37 -04:00
donovaly
d9981891c9 [TD] GeomHatch dialog: use sensible hatch limits
- negative scale and line width is not sensible and lead to strange effects thus set a minimum
- set the minimum reasonably above 0 since e.g. a hatch scale of 0.01 fills 8 GB RAM -> out of RAM error
- disable KeyboardTracking since we don't want a time-consuming recomputation while the user changes a value
2020-06-12 08:12:07 -04:00
donovaly
be59c64f31 [TD] detail view: add missing tooltip 2020-06-12 08:11:25 -04:00
donovaly
c5055422c4 [TD] update view when autoscale was set 2020-06-10 08:04:18 -04:00
WandererFan
f80a78cf64 [TD]CosmeticEdge type guards 2020-06-09 18:40:59 -04:00
WandererFan
64a96e2216 [TD]CosmeticEdge setters and getters 2020-06-09 18:40:59 -04:00
wandererfan
476b19590b [TD]Fix CosmeticVertex size 2020-06-09 16:12:14 -04:00
wandererfan
190de1b598 [TD]save template as plain Svg, not Inkscape Svg 2020-06-09 16:12:14 -04:00
wandererfan
9102299395 [TD]hide Symbol property in Editor 2020-06-09 16:12:14 -04:00
donovaly
ac80ba3945 [TD] add scale settings to detail task dialog 2020-06-09 08:51:46 -04:00
wandererfan
30a1e76d38 [TD]Fix editable field in template 2020-06-09 07:22:00 -04:00
wandererfan
121ee38837 [TD]Fix geometric hatch in Pdf 2020-06-09 07:22:00 -04:00
donovaly
a1bf4ef5ea [TD] use new keyboardTracking feature for Detail dialog
Werner finally implemented that FC's spinboxes accept Qt's keyboardTracking. So we can use it now for dialogs like the Detail dialog.
2020-06-08 09:07:14 -04:00
wandererfan
9375b9599f [TD]Fix preference directory pickers 2020-06-07 11:26:56 -04:00
WandererFan
2db99798f6 [TD]Improve section face display 2020-06-04 09:00:22 -04:00
donovaly
d6f19b5909 Merge branch 'master' of github.com:FreeCAD/FreeCAD into TD-DetailWork 2020-06-01 14:06:56 +02:00
wandererfan
b937529c7c [TD]export Svg hatch as bitmap (PDF) 2020-05-31 11:26:56 -04:00
donovaly
d1b3de217b [TD] TaskDetail: omit problematic slot issue 2020-05-31 02:14:20 +02:00
donovaly
c3c2bfef67 Merge branch 'master' of github.com:FreeCAD/FreeCAD into TD-DetailWork 2020-05-31 00:24:29 +02:00
wandererfan
8944a9cfbe [TD]Export Svg hatch as bitmap 2020-05-29 20:53:24 -04:00
wandererfan
992d584b20 [TD]handle new identifier for Draft objects 2020-05-20 21:44:26 -04:00
wandererfan
393cf75276 [TD]minor code clean ups 2020-05-16 07:42:45 -04:00
wandererfan
530e2a1837 [TD]Getters/Setters for CosmeticVertex attribs 2020-05-16 07:42:45 -04:00
wandererfan
6734bffcc6 [TD]Eliminate replace fcns for Cosmetic objs 2020-05-16 07:42:45 -04:00
wandererfan
eaf2f0e8a4 [TD]Simplify Cosmetic List & PyObject handling 2020-05-16 07:42:45 -04:00
wandererfan
167769cbe6 [TD]Highlight colour set in wrong class 2020-05-12 22:52:40 -04:00
wandererfan
51258d701f [TD]Fix wrong scale in Section 2020-05-12 22:52:40 -04:00