Commit Graph

2471 Commits

Author SHA1 Message Date
Chris Hennes
1fac3fead0 cMake: Add support for compiling against Qt6 (#7647)
Removes the BUILD_QT5 flag and adds a new FREECAD_QT_VERSION option,
which can be set to either "Auto" (default), 5, or 6. Auto detects which
version of Qt is installed on the system and chooses it. If both version
are installed, Qt5 is used.

Note that this DOES NOT implement compiling against Qt6, it only adds
the necessary cMake infrastructure to begin work on the source code
changes that will be required.
2022-10-31 09:24:09 -05:00
wmayer
2863ee0832 Part: [skip ci] fix German translation 2022-10-21 13:31:36 +02:00
Kuzemko Alexsandr
2eb55d48c7 [App] Fix of untranslated first document's name (#7156)
* Change no need function newDocument("Unnamed") call to variant without parameter. "Unnamed" set in App newDocument function instead.
* Refactor New Document command to run without parameter.
* Translate new document's userName. Internal name = "Unnamed".
* Crowdin Add to updatets.py App.ts. Create new file App.ts
* Fix error where document name is set with one function parameter. In this situation set internal and user name to string variable. For default function call (without parameter) set internal name to Unnamed, userName = translate ("Unnamed")
2022-10-20 21:35:09 -05:00
luz paz
774341fd90 [Sketcher] [Part] Fix typos and whitespace 2022-10-19 11:36:56 +02:00
jim
e789e73d1f fix whitespace and add comments 2022-10-17 11:15:09 -04:00
jim
fe165ea3da increase the height FreeType uses to draw glyphs in order to preserve precision of very fine features when converted to FC wires. scale the result back down appropriately. 2022-10-17 11:15:09 -04:00
Yorik van Havre
1ae780d3b1 Merged crowdin translations 2022-10-17 15:12:16 +02:00
Uwe
40ba59fc4f [Part] remove now obsolete code for Visual Studio compiler
- see the discussion in https://github.com/FreeCAD/FreeCAD/pull/7241
2022-10-16 11:17:01 +02:00
Yorik van Havre
9c24f0f5b8 Merged crowdin translations 2022-10-10 11:06:08 +02:00
Yorik van Havre
4ba1b0e4dc Updated ts files 2022-10-10 10:19:30 +02:00
Uwe
4d73bd5a50 [TD] DrawD* - DrawT*: remove unused includes - part 2/2
- also sort includes
- also additions to precompiled header
2022-10-08 17:21:26 +02:00
wmayer
840fc70106 Mod: replace QRegExp with QRegularExpression 2022-10-07 14:03:53 +02:00
wmayer
c57c788efe Part: [skip ci] fix build failure 2022-10-06 16:50:46 +02:00
Yorik van Havre
4ca1b838a9 Merged crowdin translations 2022-10-06 12:48:05 +02:00
Yorik van Havre
3d75b4fb74 Updated ts files 2022-10-06 12:16:32 +02:00
Uwe
75cdaa1d28 [Part] Step import: remove unused includes
- also sort includes
2022-10-06 02:58:23 +02:00
Uwe
55f0cf4255 [TD] P* - T*: remove unused includes
- also sort includes
- also additions to precompiled header
2022-10-06 02:36:48 +02:00
Uwe
7f2fbe6c2f [Part] fix CMake for MSVC
- as reported here: https://forum.freecadweb.org/viewtopic.php?p=630921#p630921
2022-10-06 00:41:11 +02:00
wmayer
bb94a0ddea Gui: [skip ci] remove DlgImportExportStep.ui resource 2022-10-05 10:31:41 +02:00
wmayer
f47ee0f68d Part: split DlgImportExportStep into sub-widgets in order to be used independently 2022-10-05 09:39:04 +02:00
wmayer
a612b51952 Part: [skip ci] use correct export macro 2022-10-05 08:25:24 +02:00
Uwe
f04cab01a4 [TD] next attempt to fix CI compiler error
- reported here: https://gitlab.com/freecad/FreeCAD-CI/-/jobs/3127909597
2022-10-05 04:19:50 +02:00
Uwe
d3c70c8740 [TD] E* - L*: remove unused includes
- also sort includes
- also additions to precompiled header
2022-10-05 03:43:42 +02:00
Uwe
b6c50406f8 [skip CI] [Part] some minor whitespaces and sorting 2022-10-05 03:05:48 +02:00
wmayer
ebe7ceea33 Part: add dialog for STEP export 2022-10-04 20:30:03 +02:00
wmayer
60f27541fe Part: [skip ci] fix compiler warnings 2022-10-04 16:12:39 +02:00
wmayer
40e7e4d60b Part: [skip ci] list all used parameters for reading/writing shapes 2022-10-04 13:29:26 +02:00
wmayer
afdf499e46 Part: use ImportExportSettings in client code 2022-10-04 12:32:47 +02:00
wmayer
6294fc0aee Part: use separate setting classes for IGES, STEP and OCAF handling 2022-10-04 11:26:33 +02:00
Uwe
3d06516c76 [Part] remove code for < GCC 4.8
we don't support such old GCC versions anymore so I think this can be removed
2022-10-03 23:07:41 +02:00
Uwe
5f934ce6e9 [Part] OpenCascadeAll.h: sort entries and remove duplicates
- to keep the overview (several duplicates where found this way)
- also move the few includes from TechDraw to the file
2022-10-03 22:50:55 +02:00
wmayer
a157e6fcea Part: [skip ci] fix typo 2022-10-03 19:45:38 +02:00
wmayer
918fc83cd3 Part: implement wrapper class around Interface_Static 2022-10-03 19:03:32 +02:00
Uwe
21ea719805 [Part] ImportStep: rename enum to fix compilation
- because the name "IN" is already defined for the Visual Studio compiler, see ed7914fba3 (r85690207)
2022-10-03 15:05:50 +02:00
wmayer
baf221fc32 Part: set default STEP import settings
according to https://forum.freecadweb.org/viewtopic.php?p=629883#p629883
2022-10-03 14:43:40 +02:00
wmayer
5229dadfd5 Part: add getter/setter to ImportExportSettings and simplify DlgImportExportStep 2022-10-03 14:27:42 +02:00
Uwe
51fa530569 [skip CI] [Part] TaskFaceColors.cpp: whitespace 2022-09-26 03:39:10 +02:00
Uwe
8c355e21f1 [Part] Task*: remove unused includes - part 2/2
- also some sorting
2022-09-26 03:37:33 +02:00
Uwe
379362bcd2 [Part] Task*: remove unused includes - part 1
- also some sorting
2022-09-26 03:05:23 +02:00
Uwe
be6f86f8d1 [Part] So*: remove unused includes
- also some sorting
2022-09-26 00:33:53 +02:00
Uwe
64ab0c2781 [Part] Dlg*: remove unused includes - part 2/2
- also some sorting
2022-09-26 00:04:46 +02:00
Uwe
105c80dd17 [Part] Dlg*: remove unused includes - part 1
- also some sorting
2022-09-25 21:42:37 +02:00
marioalexis
6bff8ee833 Gui: Check Python types using Base::PyTypeCheck 2022-09-24 05:10:34 +02:00
Roy-043
c4dab221b0 Part: Measure preferences: Improve UI texts 2022-09-23 14:41:54 +02:00
marioalexis
acdfde774a Part: Replace C cast 2022-09-18 11:06:51 -05:00
Uwe
6edcbcd367 [Part/PD] few clang formatting fixes 2022-09-18 13:33:41 +02:00
Uwe
d0c4a33992 [Part] fix bold italic measurement text
- bold and italic font did not work for measurement text, see https://github.com/FreeCAD/FreeCAD/pull/7148#issuecomment-1247989284
2022-09-16 03:09:24 +02:00
wmayer
7dc67b7a01 Inspection: support display of lines, avoid explicit type checks 2022-09-15 11:46:20 +02:00
wmayer
1309b86ea5 App: move from float to double for accuracy parameter, add a virtual method to determine a default accuracy 2022-09-15 09:52:14 +02:00
wmayer
70838e224f Part: implement TopoShape::getLines 2022-09-13 23:14:17 +02:00