Commit Graph

2477 Commits

Author SHA1 Message Date
Uwe
6a68da4871 [Gui][Mod]: uniform spin button step size to 5%
- as discussed here: https://github.com/FreeCAD/FreeCAD/pull/7103 we have different transparency spin button step sizes. This PR uniforms them all to 5%.
2022-11-06 14:27:55 +01:00
Roy-043
432e6b3bf4 Part: TestPartApp.py add tolerance to PartTestShapeRotate 2022-11-06 11:42:35 +01:00
Roy-043
ddff8dd4a9 Part: Fix typo in regression_tests.py 2022-11-06 11:40:19 +01:00
Uwe
04fc0deb06 [Part] SectionCutting: cut long lines
- following our latest Clang coding style
2022-11-05 20:40:18 +01:00
Adrián Insaurralde Avalos
860ce0a78e Move "Close" button to north in measure dialog
for consistency with other task dialogs
2022-11-03 20:29:15 -04:00
wmayer
af0a014cf2 Qt6 port:
* QApplication::setFallbackSessionManagementEnabled has been removed
* QString::medRef() has been removed. Use QString::mid() again.
* QTextStream::setCodec has been removed
* Use operator QVariant of the QFont class to make code Qt5 and Qt6 compatible
* Signature of QTreeWidget::mimeData() has changed in Qt6. Remove TreeWidget::mimeData() because it doesn't change the implementation
* QLayout::setMargin() is deprecated in Qt5 and has been removed in Qt6. Use QLayout::setContentsMargins()
* QDateTime::toTime_t() is deprecated in Qt5 and has been removed in Qt6. Use QDateTime::toSecsSinceEpoch()
* QDesktopWidget is deprecated in Qt5 and has been removed in Qt6. Use QScreen
2022-11-01 16:55:40 +01:00
Chris Hennes
2f7be9e782 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
dc02c3f1dd Part: [skip ci] fix German translation 2022-10-21 13:31:36 +02:00
Kuzemko Alexsandr
63174d487f [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
57090a43f7 [Sketcher] [Part] Fix typos and whitespace 2022-10-19 11:36:56 +02:00
jim
f79055c1e5 fix whitespace and add comments 2022-10-17 11:15:09 -04:00
jim
d4e368a1d1 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
d8d55a0e88 Merged crowdin translations 2022-10-17 15:12:16 +02:00
Uwe
f50d1c39da [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
fce72e46c8 Merged crowdin translations 2022-10-10 11:06:08 +02:00
Yorik van Havre
df52f32c87 Updated ts files 2022-10-10 10:19:30 +02:00
Uwe
03a3ae8cd8 [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
82866db0ca Mod: replace QRegExp with QRegularExpression 2022-10-07 14:03:53 +02:00
wmayer
88702425aa Part: [skip ci] fix build failure 2022-10-06 16:50:46 +02:00
Yorik van Havre
8b7c61277a Merged crowdin translations 2022-10-06 12:48:05 +02:00
Yorik van Havre
d87fd4d97e Updated ts files 2022-10-06 12:16:32 +02:00
Uwe
7a7cb8184e [Part] Step import: remove unused includes
- also sort includes
2022-10-06 02:58:23 +02:00
Uwe
a6c6344c6b [TD] P* - T*: remove unused includes
- also sort includes
- also additions to precompiled header
2022-10-06 02:36:48 +02:00
Uwe
920468a88e [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
7bc369932e Gui: [skip ci] remove DlgImportExportStep.ui resource 2022-10-05 10:31:41 +02:00
wmayer
d9d8134313 Part: split DlgImportExportStep into sub-widgets in order to be used independently 2022-10-05 09:39:04 +02:00
wmayer
74b534f479 Part: [skip ci] use correct export macro 2022-10-05 08:25:24 +02:00
Uwe
5e546ee582 [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
6cfe77719e [TD] E* - L*: remove unused includes
- also sort includes
- also additions to precompiled header
2022-10-05 03:43:42 +02:00
Uwe
7825dbdbce [skip CI] [Part] some minor whitespaces and sorting 2022-10-05 03:05:48 +02:00
wmayer
5ee0f0a8cf Part: add dialog for STEP export 2022-10-04 20:30:03 +02:00
wmayer
359ec600eb Part: [skip ci] fix compiler warnings 2022-10-04 16:12:39 +02:00
wmayer
2575f082d9 Part: [skip ci] list all used parameters for reading/writing shapes 2022-10-04 13:29:26 +02:00
wmayer
5dcaa8e5bf Part: use ImportExportSettings in client code 2022-10-04 12:32:47 +02:00
wmayer
1635e7cd91 Part: use separate setting classes for IGES, STEP and OCAF handling 2022-10-04 11:26:33 +02:00
Uwe
d1e72dcafa [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
567e53c6ea [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
8cbf978a7c Part: [skip ci] fix typo 2022-10-03 19:45:38 +02:00
wmayer
8db7ee1051 Part: implement wrapper class around Interface_Static 2022-10-03 19:03:32 +02:00
Uwe
30dd4af0c3 [Part] ImportStep: rename enum to fix compilation
- because the name "IN" is already defined for the Visual Studio compiler, see d4e734282c (r85690207)
2022-10-03 15:05:50 +02:00
wmayer
bc1baa6808 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
d4e734282c Part: add getter/setter to ImportExportSettings and simplify DlgImportExportStep 2022-10-03 14:27:42 +02:00
Uwe
6f74903c3d [skip CI] [Part] TaskFaceColors.cpp: whitespace 2022-09-26 03:39:10 +02:00
Uwe
24e992e97d [Part] Task*: remove unused includes - part 2/2
- also some sorting
2022-09-26 03:37:33 +02:00
Uwe
998056364d [Part] Task*: remove unused includes - part 1
- also some sorting
2022-09-26 03:05:23 +02:00
Uwe
42a19ab883 [Part] So*: remove unused includes
- also some sorting
2022-09-26 00:33:53 +02:00
Uwe
412a5a982b [Part] Dlg*: remove unused includes - part 2/2
- also some sorting
2022-09-26 00:04:46 +02:00
Uwe
219ddd0ec5 [Part] Dlg*: remove unused includes - part 1
- also some sorting
2022-09-25 21:42:37 +02:00
marioalexis
fa6cf56020 Gui: Check Python types using Base::PyTypeCheck 2022-09-24 05:10:34 +02:00
Roy-043
faef448019 Part: Measure preferences: Improve UI texts 2022-09-23 14:41:54 +02:00