Commit Graph

29 Commits

Author SHA1 Message Date
Markus Reitböck
6ef07bb358 Gui: use CMake to generate precompiled headers on all platforms
"Professional CMake" book suggest the following:

"Targets should build successfully with or without compiler support for precompiled headers. It
should be considered an optimization, not a requirement. In particular, do not explicitly include a
precompile header (e.g. stdafx.h) in the source code, let CMake force-include an automatically
generated precompile header on the compiler command line instead. This is more portable across
the major compilers and is likely to be easier to maintain. It will also avoid warnings being
generated from certain code checking tools like iwyu (include what you use)."

Therefore, removed the "#include <PreCompiled.h>" from sources, also
there is no need for the "#ifdef _PreComp_" anymore
2025-09-14 09:47:03 +02:00
Max Wilfinger
ecf02b7878 Gui: Update UI strings for consistency
Closes: #22135
2025-08-04 20:14:45 +02:00
wmayer
f5bfc10c81 Gui: avoid code duplication in PythonEditor 2025-05-30 18:04:33 +02:00
bofdahof
998f4e4d45 Console: rename PascalCase named methods to camelCase 2025-05-06 17:50:21 +02:00
Benjamin Bræstrup Sayoc
e397c73a45 Gui: avoid code duplication in PythonEditor 2025-03-13 14:23:05 +01:00
Benjamin Bræstrup Sayoc
f647d4a1eb Gui: Use QStringLiteral 2025-02-10 18:34:57 +01:00
Mark Ganson TheMarkster
49b304ae55 [Python console] add Execute in console context menu item (#18716)
* [Python console] add Execute in console context menu item

* Update src/Gui/PythonEditor.cpp

Co-authored-by: Kacper Donat <kadet1090@gmail.com>

---------

Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>
Co-authored-by: Kacper Donat <kadet1090@gmail.com>
2025-01-19 15:36:33 -06:00
wmayer
d979235a48 Gui: Remove code duplication in PythonConsole class 2025-01-06 17:53:59 +01:00
mwganson
9db4e89467 [PythonEditor] Make converting tabs to spaces the default 2024-12-23 11:53:05 -05:00
mwganson
b778bc723c [Python editor] match current indentation for next line when pressing enter key, addresses issue 5551 2023-11-11 10:25:50 -06:00
wmayer
5a153e50ff Gui: modernize C++: use default member init 2023-08-23 19:51:44 +02:00
wmayer
5621a0089f Qt6 port:
Fix deprecation warnings with version 6.3 or 6.4
2023-08-04 21:23:14 -06:00
luzpaz
16e083c8f3 Fix various typos 2023-08-04 19:46:12 +02:00
wmayer
9b29c3a683 Gui: replace slots with member function pointers 2023-02-03 00:21:38 +01:00
Uwe
900ad81b49 [Gui] modernize some UI connections 2023-01-31 22:24:45 +01:00
0penBrain
eb546e25d3 Gui: do not detach parameter observer from PythonEditor
Parameter observing (including observer deletion) is 100% managed by TextEditor superclass
2022-09-28 20:59:12 -05:00
berniev
75acacd1b7 Gui: Use auto and range-based for (#7481)
* On lines where the variable type is obvious from inspection, avoid repeating the type using auto. 
* When possible use a ranged for loop instead of begin() and end() iterators
2022-09-14 13:25:13 -05:00
Uwe
a55d1b03fd [Gui] Python and Property: remove unused includes 2022-03-05 03:44:45 +01:00
mwganson
8f0aecbcf3 [python editor] add keywords False, nonlocal, and True to keywords list for syntax highlighting 2021-12-11 18:49:58 +01:00
wmayer
4f12416fa0 Gui: fix C++20 warning: bitwise operation between different enumeration types [-Wdeprecated-enum-enum-conversion] 2021-12-02 09:59:31 +01:00
luz paz
298c677873 Gui: Fix header uniformity, whitespace, and doxygen fixes 2020-11-26 10:14:56 +01:00
wmayer
e0ee8bb8ca + allow to open system macros in read-only mode 2016-01-12 01:26:34 +01:00
wmayer
f7644fc9f3 + issue #0002053: Support of themes 2015-07-12 22:54:56 +02:00
wmayer
d927d0bcb9 + improve handling of default colors of report view and Python console when using style sheets 2014-01-31 11:34:30 +01:00
wmayer
8582bf8aad Allow to clear selection in pad/pocket, fix compile error 2012-11-02 13:52:20 +01:00
wmayer
77d98a4d32 Fixes in Python debugger 2012-11-01 22:28:04 +01:00
wmayer
07e04f438f Add python keyword with to list of syntax highlighting 2012-07-09 13:36:10 +02:00
Yorik van Havre
5ca9ca1111 Allow to change macro editor line highlight color in preferences 2012-03-18 01:53:04 -03:00
wmayer
120ca87015 + unify DLL export defines to namespace names
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5000 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-10-10 13:44:52 +00:00