Commit Graph

30 Commits

Author SHA1 Message Date
pre-commit-ci[bot]
9fe130cd73 All: Reformat according to new standard 2025-11-11 13:49:01 +01:00
Markus Reitböck
a72a0d6405 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
6692dacc0a Gui: Update UI strings for consistency
Closes: #22135
2025-08-04 20:14:45 +02:00
wmayer
3888899e7c Gui: avoid code duplication in PythonEditor 2025-05-30 18:04:33 +02:00
bofdahof
ba2c2ca5ad Console: rename PascalCase named methods to camelCase 2025-05-06 17:50:21 +02:00
Benjamin Bræstrup Sayoc
2ebb951bb1 Gui: avoid code duplication in PythonEditor 2025-03-13 14:23:05 +01:00
Benjamin Bræstrup Sayoc
8d2d0a47f4 Gui: Use QStringLiteral 2025-02-10 18:34:57 +01:00
Mark Ganson TheMarkster
e0b6698722 [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
71f8793310 Gui: Remove code duplication in PythonConsole class 2025-01-06 17:53:59 +01:00
mwganson
40571eb683 [PythonEditor] Make converting tabs to spaces the default 2024-12-23 11:53:05 -05:00
mwganson
a5bf47e5b3 [Python editor] match current indentation for next line when pressing enter key, addresses issue 5551 2023-11-11 10:25:50 -06:00
wmayer
6beace8da6 Gui: modernize C++: use default member init 2023-08-23 19:51:44 +02:00
wmayer
7d0926d0b3 Qt6 port:
Fix deprecation warnings with version 6.3 or 6.4
2023-08-04 21:23:14 -06:00
luzpaz
57b9442df7 Fix various typos 2023-08-04 19:46:12 +02:00
wmayer
76860143f7 Gui: replace slots with member function pointers 2023-02-03 00:21:38 +01:00
Uwe
5c03db60e0 [Gui] modernize some UI connections 2023-01-31 22:24:45 +01:00
0penBrain
642254dd95 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
ae53c9b0a4 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
4147337715 [Gui] Python and Property: remove unused includes 2022-03-05 03:44:45 +01:00
mwganson
984bf95a7c [python editor] add keywords False, nonlocal, and True to keywords list for syntax highlighting 2021-12-11 18:49:58 +01:00
wmayer
b2c1b574d4 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
38815b9550 Gui: Fix header uniformity, whitespace, and doxygen fixes 2020-11-26 10:14:56 +01:00
wmayer
268e545463 + allow to open system macros in read-only mode 2016-01-12 01:26:34 +01:00
wmayer
343bb91450 + issue #0002053: Support of themes 2015-07-12 22:54:56 +02:00
wmayer
4547996201 + improve handling of default colors of report view and Python console when using style sheets 2014-01-31 11:34:30 +01:00
wmayer
3c08b99500 Allow to clear selection in pad/pocket, fix compile error 2012-11-02 13:52:20 +01:00
wmayer
797f8ea730 Fixes in Python debugger 2012-11-01 22:28:04 +01:00
wmayer
46991b4fbf Add python keyword with to list of syntax highlighting 2012-07-09 13:36:10 +02:00
Yorik van Havre
cb9463eb15 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