Commit Graph

36 Commits

Author SHA1 Message Date
pavltom
7212cccae5 [TechDraw] Reimplement Weld Symbol parent linking 2024-03-09 08:32:24 -05:00
Chris Hennes
94426e1f54 TD: Translate default labels 2023-08-17 19:23:29 -04:00
wmayer
25a63f8750 TD: move to new style connect() 2023-02-01 01:33:34 +01:00
Uwe
023a37b92c [TD] Task*, part 1: remove unused includes
- also some sorting
2022-12-07 16:15:40 +01:00
wandererfan
acf17905ed [TD]CI clang warnings 2022-09-05 17:48:38 -04:00
berniev
da9ebc572f Mod: redundant void 2 2022-08-08 10:27:50 +02:00
Uwe
40d8ebb372 [TD] remove some more superfluous nullptr checks 2022-07-20 11:54:28 +02:00
Uwe
2e5e4dced8 [TD] Gui: remove some superfluous nullptr checks 2022-07-19 02:49:46 +02:00
Benjamin Bræstrup Sayoc
23c3cf76be [TechDraw] Improve readability of TaskWeldingSymbol.cpp 2022-07-15 11:31:11 -04:00
wmayer
fd8719c85c TD: [skip ci] activate PCH of TechDraw (Gui) and use forward declarations
For MSVC this reduces compile time by ~20%
2022-03-25 13:54:47 +01:00
Uwe
2e7cb2c3fb [TD] remove a single-header file 2022-03-25 04:11:53 +01:00
wmayer
a99be14233 TD: modernize C++11
* use nullptr
2022-03-23 19:26:14 +01:00
wmayer
1ca7429705 Gui: Optimize includes to reduce compile time 2022-03-07 20:29:18 +01:00
Wanderer Fan
cb280afbc4 [TD]remove redundant edits from 9 Task dialogs 2022-01-22 14:51:20 -05: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
donovaly
b5f57ed2f0 [TD] make pointers to the UI std::unique_ptr
as noted in https://github.com/FreeCAD/FreeCAD/pull/4271#discussion_r554673632
the pointer to the UI should be a unique pointer.

This PR does this for all TD dialogs that don't already use a unique_ptr.
2021-01-19 19:24:27 +01:00
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
luz paz
a3cb87b117 TechDraw: Header uniformity and whitespace fixes 2020-11-14 16:59:51 +01:00
wmayer
b25dee58d5 Coverity: Uninitialized scalar/pointer field 2020-07-20 17:34:30 +02:00
wandererfan
e80c576241 [TD]Centralize preference getters 2020-04-24 11:13:49 -04:00
luz.paz
2ed5786d07 [skip-ci] Various typo fixes
Found via codespell  v1.17.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-04-07 18:17:03 +02:00
donovaly
c92ab7efb4 TaskDlgWeldingSymbol: fix creation issue
- assure that the other side is always created, also if it has no symbol yet

Now everything should be correct and I won't change the PR further
2020-03-30 08:46:54 -04:00
donovaly
fe333b219f fix tile properties
- make TileColumn read-only
- restrict TileRow to what is possible
- improve tooltips
- add button to flip the sides (the symbol is not mirrored, just flipped)
2020-03-30 08:46:54 -04:00
donovaly
5da2b42351 TaskWeldingSymbol.cpp: revert an unintended change 2020-03-30 08:46:54 -04:00
donovaly
adde500f29 [TD] overhaul welding UI
- make some strings translatable
- remove some unused code
- fix UI size policies
- show changes while editing directly (only repaint necessary)
- avoid unused variables
- add tooltips
2020-03-30 08:46:54 -04:00
WandererFan
1cd05192cd [TD]fix welding tile file included setup 2020-03-17 08:45:26 -04:00
luz.paz
180805c55e Fix typos
Found via  
```
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-03-06 14:50:35 +01:00
donovaly
a3622ee49f [TD] rename some Draw* elements - try 2
as discussed here: https://forum.freecadweb.org/viewtopic.php?p=360042#p360042
2020-01-18 06:57:29 -05:00
wandererfan
e4cd11e4e8 [TD]correct PropertyFileIncluded handling in Welding 2020-01-12 11:38:53 -05:00
wandererfan
1e48af0fbb [TD]make symbol text adjustable
- also fix QGIWeldSymbol bounding rect
2019-12-26 08:56:21 -05:00
wmayer
2134086d4c fix further file names vulnerabilities in TechDraw module 2019-10-03 02:45:38 +02:00
wandererfan
5806fc64b9 [TD]Restore context menu after leader edit 2019-08-22 17:11:55 -04:00
wandererfan
178520fb4a [TD] fix stale pointer in scene 2019-08-22 17:11:55 -04:00
wandererfan
f0155052f3 [TD]Welding Symbol Editor alpha release 2019-08-22 17:11:55 -04:00
wandererfan
0d01744098 [TD]Clean up Welding Symbol creation 2019-08-22 17:11:55 -04:00
wandererfan
992ef1b07e [TD]Welding Symbol creation 2019-08-22 17:11:55 -04:00