Commit Graph

60 Commits

Author SHA1 Message Date
Chris Hennes 4db0eaf171 Base: Auto-inject copyright year 2026-01-26 09:44:57 +01:00
Chris Hennes f0280bffad Core: Update copyright year to 2026 2026-01-23 14:35:00 -06:00
pre-commit-ci[bot] 25c3ba7338 All: Reformat according to new standard 2025-11-11 13:49:01 +01:00
PhoneDroid d33b4b38f7 Updated SPDX License Identifiers 2025-10-08 10:27:10 -05:00
Max Wilfinger 3347ac343e Gui: Update header in about dialog before the 1.1 release (#22991)
* Gui: Update header in about dialog before the 1.1 release

Gui: Change main link in about dialog to main website instead of Wiki Main_Page

* Update based on code review.

Co-authored-by: xtemp09 <xtemp09@gmail.com>

---------

Co-authored-by: xtemp09 <xtemp09@gmail.com>
2025-08-25 10:07:58 -05:00
bofdahof 998f4e4d45 Console: rename PascalCase named methods to camelCase 2025-05-06 17:50:21 +02:00
wmayer fd7f6039b6 Main: Apply clang-format 2024-06-03 12:51:36 +02:00
wmayer 5b5be480a3 Increment year in copyright notice 2024-03-09 16:18:57 +01:00
wmayer 58a53e929d Gui: refactor Application::runApplication 2024-02-26 11:21:38 -06:00
wmayer 53b512da1c MSVC: fix compiler warnings 2024-02-25 00:12:34 +01:00
bdieterm bed5e4362b Gui: unite init code for FreeCAD GUI (normal and via Gui.showMainWindow()) 2024-02-19 10:48:00 -06:00
wmayer a00a5d6400 Base: modernize C++: use override 2023-08-04 17:09:53 +02:00
bdieterm 3d179d27de set toolbar icon size when starting FreeCAD GUI from Python import 2023-07-08 22:45:38 +02:00
wmayer dc9c7a3661 Core: do not override sys.stdin when using FreeCAD as Python module 2023-05-02 09:44:09 +02:00
luzpaz 1476fdcece Increment year in copyright notice (2023) (#8156)
* Increment year in copyright notice
2023-01-09 14:59:37 +01:00
wmayer 201f4c9a5a Core: replace PyObject_IsTrue with Base::asBoolean 2022-07-16 14:04:05 +02:00
wmayer 212b140d82 GuiPy: allow to call setupWithoutGUI more than once 2022-07-06 10:54:29 +02:00
marioalexis ccfa6cd9e5 Main: Use PyObject_IsTrue in combination with conditional ternary operator 2022-06-22 19:50:03 -04:00
wmayer 96adb98f46 Gui: modernize C++11
* use nullptr
2022-03-23 18:41:21 +01:00
wmayer 9160f06e1c Base: rename BaseExceptionFreeCADError to PyExc_FC_GeneralError 2022-03-17 14:45:48 +01:00
wmayer 95c70e7f4c App: use forward declarations 2022-03-04 21:09:46 +01:00
Uwe bb76c7cc55 [Main] remove unused includes 2022-03-04 03:53:09 +01:00
luz paz 7f27c81119 Update 'About' info to reflect new year 2022 2022-01-05 13:20:48 +01:00
luz paz 6a7184139d Gui: remove Py2 code from several src/Gui .cpp files 2021-04-14 14:56:02 +02:00
Chris Hennes 6b4b245f08 [Main] Remove deprecated Qt < 5.9 code 2021-04-01 19:29:44 +02:00
wmayer 377b01b4b4 Py3: fixes #0004081: Abillity to show console output when running under Python 2021-04-01 17:51:10 +02:00
luz paz c4b1ec01ba Main: fix header uniformity + trailing whitespace
[skip ci]
2020-12-12 08:17:58 +01:00
wmayer 1f741aa511 [skip ci] do not set attribute WA_DeleteOnClose when loading FreeCAD GUI from Python 2020-06-26 13:52:55 +02:00
wmayer a91470576d [skip ci] make Jupyter notebook integration working again 2020-06-21 01:39:39 +02:00
wmayer daec778694 [skip ci] improve possibility to create a QApplication in a thread 2020-06-21 00:07:21 +02:00
wmayer 0d05fc328d GuiPy: [skip ci] handle some Qt warnings when using GUI from Python
+ avoid warning: QEventLoop: Cannot be used without QApplication
+ avoid warning: QObject::startTimer: Timers can only be used with threads started with QThread
2020-06-20 11:43:59 +02:00
wmayer 58046eb249 Main: [skip ci] replace QThread with std::thread as it won't start without an event loop 2020-06-19 18:52:26 +02:00
triplus b2aaa95a72 Update copyright information [skip ci] 2020-02-03 08:16:12 -05:00
howetuft c4ca00a1d5 Increment year in copyright notice 2020-01-13 15:19:51 +01:00
Markus Lampert c6c761b812 Added <last> as an option to the workbench selection. 2019-11-01 17:42:14 -03:00
wmayer 3845350c0a PVS: V773 A memory leak is possible 2019-02-17 18:40:06 +01:00
wmayer 2aa4f8c47f Update copyright notice 2019-01-03 15:37:02 +01:00
wmayer 5d35713aa2 adjust copyright text 2018-01-27 12:13:44 +01:00
wmayer 349f8b5ff9 avoid to eventually try to init Gui twice 2017-07-10 20:51:30 +02:00
wmayer 8ce343291b py3: fox compiler warnings
issue 0000995
2017-06-04 00:17:57 +02:00
wmayer 369cc735e1 py3: port external FreeCAD module to Python3
whitespace improvement
2017-06-02 10:18:41 +02:00
wmayer 8164722a71 py3: port external FreeCAD module to Python3
issue 0000995
2017-06-02 06:43:18 +02:00
wmayer bf66153f9c Increment year in copyright info 2017-02-15 21:32:23 +01:00
wmayer 1cdee20953 Qt4/Qt5 neutral changes:
+ replace Q_WS_WIN with Q_OS_WIN
+ replace Q_WS_X11 with Q_OS_LINUX
+ replace Q_WS_MACX with Q_OS_MACX
+ set explicit cast to HWND
2016-12-12 14:09:21 +01:00
wmayer 4d2ccdfb72 fix -Wextra in Main & Complete 2016-09-22 14:24:38 +02:00
Mateusz Skowroński cd2db00f22 QString::fromAscii() is obsolete in Qt5. Replace it with fromLatin1().
This change is Qt4/Qt5 neutral.
2016-01-05 16:07:25 +01:00
wmayer e305f079d0 + when using FreeCAD GUI as Python module handle attempt to re-create main window 2015-12-12 20:14:37 +01:00
wmayer 2b2358e70b + fix warnings with Win32 build 2015-12-01 00:51:57 +01:00
wmayer cbf0bb0aac + change copyright notice 2015-01-15 00:36:27 +01:00
wmayer a96f390097 + fix build problems with Python & MacOSX 2014-10-13 22:02:57 +02:00