Commit Graph

75 Commits

Author SHA1 Message Date
Wanderer Fan
9894964eb6 [TD]implement navigation styles 2022-06-24 10:03:02 -04:00
mosfet80
620c273c4e Boost version <=1.60 is never used in freecad 0.20 (#7038)
* Boost version 1.60 is never used in freecad 0.20
2022-06-24 02:20:26 +02:00
wmayer
a99be14233 TD: modernize C++11
* use nullptr
2022-03-23 19:26:14 +01:00
Wanderer Fan
aa4ba37a6c [TD]fix update suppression logic 2022-03-16 09:31:29 -04:00
wmayer
1ca7429705 Gui: Optimize includes to reduce compile time 2022-03-07 20:29:18 +01:00
Wanderer Fan
273d7f8bd6 [TD]fix integer grid step variable to double 2022-03-06 08:54:24 -05:00
Wanderer Fan
eb4a5384c0 [TD]add alignment grid to page 2022-02-27 14:34:35 -05:00
Uwe
7daff0960f [TD] ViewProviders: remove unused includes
- also sort the includes
2022-02-18 04:43:32 +01:00
bitacovir
468af0e714 [TD] Name uniformity for Tree Icons 2021-05-07 12:07:35 -04:00
Mateusz Skowroński
2559f2d29c Fix build warnings from deprecated Boost headers (they are used internally by Boost). Thanks @wwmayer for the hint. 2020-12-29 10:20:53 +01:00
luz paz
a3cb87b117 TechDraw: Header uniformity and whitespace fixes 2020-11-14 16:59:51 +01: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
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
b25dee58d5 Coverity: Uninitialized scalar/pointer field 2020-07-20 17:34:30 +02:00
wmayer
e9bc970c28 PVS: V522 There might be dereferencing of a potential null pointer 2020-07-18 10:59:27 +02:00
wmayer
f3b460e42e boost: fix for boost < 1.60 2020-06-15 19:38:39 +02:00
wmayer
4ec45b545e 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
wandererfan
e80c576241 [TD]Centralize preference getters 2020-04-24 11:13:49 -04:00
luz.paz
8624564469 [skip ci] Fix typos
Found via `codespell`
2020-03-09 16:23:26 +01: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
398bf689e2 [TD] catch the case a page has the template as only object
for more info see the thread https://forum.freecadweb.org/viewtopic.php?p=366902#p366902
2020-03-05 11:34:35 -05:00
donovaly
5a61baf07c [TD] handle object deletions better
see https://forum.freecadweb.org/viewtopic.php?p=366902#p366902
2020-03-04 08:24:17 -05:00
wandererfan
00c69a9c64 [TD]fix LeaderLine noshow on doc load 2020-01-12 18:38:59 -05:00
wmayer
e900384250 declare getMDIView and getMDIViewPage as const 2019-12-29 13:55:39 +01:00
wandererfan
5bed53f858 [TD]Add parameters to control drawing update 2019-08-29 21:03:39 -04:00
wandererfan
992ef1b07e [TD]Welding Symbol creation 2019-08-22 17:11:55 -04:00
Zheng, Lei
f243db0d5b TechDraw: fix drawing update on undo/redo 2019-08-17 15:32:51 +02:00
Zheng, Lei
d26f772035 TechDraw: Link related changes
* Support link and group objects

* Support view sync by implementing view provider API getMDIView()

* Use handleChangedPropertyType() for object migration instead of
  reimplementing Restore() because of a lots of changes in
  PropertyContainer::Restore().

* Various other small fixes.
2019-08-17 15:15:46 +02:00
wandererfan
0117bcd086 Hide nonGui Property ShowFrames 2019-06-04 15:41:41 -04:00
wandererfan
a537e34077 Fix duplicate child claiming 2019-05-14 15:38:51 +02:00
wandererfan
d42c79c146 Fix #3695 Frame toggle sync 2019-05-13 12:29:15 -04:00
wandererfan
6c699887c0 Leader and RichText block improvements 2019-05-05 21:01:31 -04:00
wandererfan
7f07195f93 Text Leader initial version 2019-05-05 21:01:31 -04:00
Franck Jullien
b5613b2bd8 TechDraw: add Balloons 2019-04-01 23:24:17 +02:00
wmayer
356ecd5b1b fixes #0003766: Closing and re-opening a TechDraw page causes segfault 2019-01-09 22:09:16 +01:00
wandererfan
4fa707f46d Respect "InvertZoom" parameter 2018-10-26 00:49:53 +02:00
wandererfan
733dae2b3d Update context menu
- Page context menu was left over from
  Drawing module. Now updated with
  appropriate actions.
2018-10-25 10:58:53 -03:00
wandererfan
31a9ae655f Fix crash on RevertDocument
- MDIViewPage was not being deleted when document
  was closed. On reload, stale MDIViewPage was using
  old object pointers.
2018-10-22 15:39:01 -03:00
wandererfan
3ca8eb0989 Use Page Label for Tab Text 2018-10-22 15:34:13 -03:00
wandererfan
a6e9eec5ad Avoid Qt warning re mdi window not in workspace 2018-05-28 13:27:11 -04:00
wandererfan
26d7d74725 Convert deprecated boost::signal to signals2 2018-05-11 10:32:24 -03:00
wandererfan
eefaaa58db Eliminate some redundant executes
- excessive calls to DrawView::execute were
  slowing data entry in PropertyEditor.
2018-05-11 10:32:24 -03:00
wandererfan
f13689753c Fix #3367: view/data pane is unselected
- error in coordination of Tree & QGraphicsScene
  selection logic caused Feature to become
  unselected during update.
2018-04-23 07:55:38 +02:00
WandererFan
4aae6e1554 Remove unneeded code, add menu item
- remove code for updating tab with Page label
  (handled in MDIView)
- add context menu item to toggle Page
  KeepUpdated property
2018-02-12 21:57:15 +01:00
WandererFan
973da7d3e6 Avoid affecting other Tabs when Page deleted.
- when Page object was deleted, closing the Page's
  tab would have undesired effect on 3D tab. Now Page
  delete does not affect other tabs.
2018-02-12 21:57:15 +01:00
WandererFan
83806936c9 Change removeWindow logic for consistency
- Page window is removed in two places.  Problem with
  display of 3D window when Page window closed was fixed
  by  http://github.com/FreeCAD/FreeCAD/commit/1d83d17.
  This commit makes the code for Page object delete
  consistent, but doesn't fix the problem with display
  of 3D window.
2018-02-11 20:07:57 +01:00