Commit Graph

30864 Commits

Author SHA1 Message Date
wmayer
e94513b97d Gui: [skip ci] fix several warnings reported by GH Actions 2022-11-06 13:07:34 +01:00
Uwe
72d10e3fc8 [Gui] SplashScreen: modernize Qt connection
- was reported as warning by our CI
2022-11-06 12:50:23 +01:00
Uwe
f41bf23aa9 [PD] Helix: assure source Sketch is visible when in selection mode
- same as https://github.com/FreeCAD/FreeCAD/commit/a5dcf87d0 but for Helices (fixes #7629 also for helices)
- also modernize Qt connection
2022-11-06 12:48:11 +01:00
Roy-043
63cc0a6ec1 Part: TestPartApp.py add tolerance to PartTestShapeRotate 2022-11-06 11:42:35 +01:00
Roy-043
8b14bc9dff Part: Fix typo in regression_tests.py 2022-11-06 11:40:19 +01:00
Uwe
a181ea2c0d [Sketch] change polyline icon
- the same intention as https://github.com/FreeCAD/FreeCAD/pull/7588 but proposal with less strokes
2022-11-06 08:09:45 +01:00
Uwe
d75bd02971 [skip ci] [Gui] DlgMaterialPropertiesImp: Clang formatting 2022-11-06 03:36:53 +01:00
Uwe
0ae0158bcf [FEM] better safe Elmer executable path handling
- simplify and correct non-Windows case
2022-11-05 23:00:14 +01:00
wmayer
43d2fd2da9 Gui/Sketcher: disable geometry deselection when user holds Ctrl or additionally Shift or Alt 2022-11-05 22:56:38 +01:00
Uwe
fa21e3129f [Part] SectionCutting: cut long lines
- following our latest Clang coding style
2022-11-05 20:40:18 +01:00
wmayer
93ab955873 PD: use Base::StateLocker to simplify handling of blockUpdate and make it exception-safe 2022-11-05 19:29:20 +01:00
wmayer
b5bd12a069 PD: fixes #7629: Keep sketch visible during revolution tasks 2022-11-05 19:09:54 +01:00
Uwe
75d02279a7 output SMESH version number in about dialog
- in order to get this info when user reports bugs
2022-11-05 17:46:34 +01:00
Chris Hennes
48307b91f5 Addon Manager: use versioned Python package dirs 2022-11-05 11:45:02 -05:00
Uwe
30c76a6f34 [FEM] more safe Elmer executable path handling
- handle the case of mangles user.fcg file
2022-11-05 17:42:19 +01:00
wmayer
056abcd3d4 PD: unit test to check offset of sub-shape binder (PR #7445) 2022-11-05 16:58:51 +01:00
wmayer
7c476bb67c Gui: handle std::exception and Base::Exception inside DlgPreferencesImp::createPageInGroup to avoid that the preferences dialog won't be shown at all 2022-11-05 15:47:08 +01:00
Chris Hennes
fc67e82303 Addon Manager: Handle UTF-8 decode failures
When processing downloaded text-based metadata files, catch any decode
exceptions that get thrown and translate them into a useful error
message for developers.
2022-11-05 08:47:58 -05:00
wmayer
9c358a5d3a Gui: [skip ci] fix build failure if shiboken support is disabled 2022-11-05 13:38:39 +01:00
wmayer
4a0df1f352 Qt6 port: [skip ci] set helper variable Qt6Core_MOC_EXECUTABLE pointing to the moc tool 2022-11-05 13:36:36 +01:00
wmayer
8fcc6fd9cf Gui: [skip ci] fix possible crash in FilterStatusBar::eventFilter() 2022-11-05 13:33:18 +01:00
fandaL
df9c800d38 FEM: femmesh2mesh add disp scale factor 2022-11-05 12:27:04 +01:00
Uwe
75146bdd7b [FEM] safer Elmer executable path handling
- the code already assured that the number of used CPU cores for Elmer can only be > 1 if a valid path to the '_mpi' executable is specified. However, we can have the case that Elmer was uninstalled, then the path validity checker returns an empty path and then the check for the number of cores but handle this case. THis PR does exactly this.
- also fix typos and improve error message
- also add missing save guard for hardware check
2022-11-05 02:20:30 +01:00
Uwe
2c6a2422eb [skip ci] [FEM] DlgSettingsFemCcx.ui: omit already set default values 2022-11-05 01:45:31 +01:00
Paddle
657ddeae29 PartDesign: Remove unusable 'Leave sketch' 'viewSketch' commands from menu.
Add 'EditSketch' 'MergeSketches' and 'mirrorSketch' usable commands to menu.
Add 'ValidateSketch' to toolbar.
2022-11-04 16:18:41 -05:00
Uwe
4c5391a683 [Gui] DlgGeneral.ui
- add newlines to very long tooltip
2022-11-04 21:29:11 +01:00
wmayer
9eb078da5d Gui: fix possible crash when running the garbage collector after creating a shiboken wrapper 2022-11-04 21:00:49 +01:00
Paddle
192666d1ac Sketcher: Add concentric capabilities to coincidence constraint. 2022-11-04 13:21:01 -05:00
wmayer
e3af5c317d Drawing: [skip ci] remove errorneous call of macro qt_wrap_ui 2022-11-04 18:55:49 +01:00
Matthias Melcher
ee15708773 [macOS] Adding QuickLook feature (#7491)
* [macOS] Adding QuickLook feature
* [macOS] Adding QuickLook support for Conda and Homebrew.
* [macOS] Support non-square app icons in thumbnails.
* [macOS] adding icon for .FCScript files
2022-11-04 12:32:19 -05:00
Paddle
67a513e101 Gui: Allow to hide toolbars that are not needed.
In particular this hides edit-mode sketcher toolbars when in non-edit-mode.
    And hides non-edit-mode toolbar when in edit-mode.
    It also hides the structure toolbar when in edit-mode (as it is completely deactivated)
2022-11-04 12:02:16 -05:00
Paddle
9860761d01 Sketcher: Split sketcher toolbar in sketcher-edit-mode and sketcher-non-edit-mode. 2022-11-04 12:02:16 -05:00
Paddle
90d78a9ef5 Base: + Sketcher: disable deselection when user holds Ctrl. 2022-11-04 10:44:52 -05:00
0penBrain
1d4c6f4f2d [Typo]Gui: fix file indentation + improve tootip 2022-11-04 08:57:53 -04:00
marioalexis
a1bc959637 Base: Check sequence size in getVectorFromTuple function 2022-11-04 08:55:30 -04:00
wandererfan
312d62cc18 [Measurement]support for 3 point angle 2022-11-04 08:28:13 -04:00
Adrián Insaurralde Avalos
3257766c44 Move "Close" button to north in measure dialog
for consistency with other task dialogs
2022-11-03 20:29:15 -04:00
Adrián Insaurralde Avalos
3d972a7995 Move "Close" button to north in appearance dialog
for consistency with other task dialogs
2022-11-03 20:29:15 -04:00
wmayer
dd9fa3e8ff PyCXX: remove export macro from iterator classes to fix linking error with MSVC 2022-11-03 17:48:15 +01:00
sliptonic
b1660ef804 Merge pull request #7685 from sliptonic/littlefixes
Small fixes including preferences dialog
2022-11-03 09:28:34 -05:00
wandererfan
3a120c22d5 [TD]fix tooltip for Equal Tolerance 2022-11-03 10:11:50 -04:00
wandererfan
290a19e773 [TD]fix view drag and drop to page 2022-11-03 10:10:41 -04:00
wmayer
01a93426cf Qt6 port: QLocale::decimalPoint() now returns a QString 2022-11-03 14:19:43 +01:00
wmayer
e8bbc2da63 Gui: fix some minor warnings reported by GH Actions 2022-11-03 13:58:07 +01:00
0penBrain
30a69066d0 Gui: decimal point converter: numpad separator always send Period to Python Console & Macro Editor 2022-11-03 13:41:06 +01:00
0penBrain
f22646c8fd Gui: improve decimal point converter algorithm
Fix a bug in key code for forged key event
 Only process spontaneous events
2022-11-03 13:41:06 +01:00
0penBrain
4760e70697 Gui: modernize management of decimal converter event filter
Use unique_ptr with custom deleter to be more defensive
2022-11-03 13:41:06 +01:00
0penBrain
f5b91de0e6 Gui: add decimal point converter to Translator 2022-11-03 13:41:06 +01:00
wmayer
708cafca92 Qt6 port: port WebGui module 2022-11-03 12:54:34 +01:00
wmayer
abc4e6bf39 Qt6 port:
* Constructor of QFontDatabase is deprecated, use static functions instead
* Fix QuantitySpinBox::selectNumber()
* Fix InputField::selectNumber()
* Make InputField::fixup() compatible with Qt6
* QFont::setWeight requires an enum now
* QInputEvent reuires a pointing device now
* QAbstractItemView::viewOptions() has been renamed to QAbstractItemView::initViewItemOption()
2022-11-03 12:38:11 +01:00