wmayer
a58eebd903
Gui: Move texture handling to view provider extension
...
It should be avoided to add all stuff to the base class when it's only needed in one sub-class
2024-06-11 11:55:44 +02:00
Kacper Donat
26300e0d4e
Gui: Add Std_ReloadStyleSheet command
...
This adds a command that will reload currently active stylesheet - a must have for stylesheet developers
2024-05-20 10:41:23 -05:00
wmayer
e591b95228
Gui: expose ViewProviderGeometryObject::getUserDefinedMaterial() to Python
2024-04-25 17:56:58 +02:00
Patryk Skowroński
233a61e54e
New integration with 3Dconnexion devices ( #12929 )
...
* New integration with 3Dconnexion devices
* CMake build option hidden for Mac
* Minor fixes, to be squashed to previous commit
* cmake: fix indent and case; to be squashed
* Corrected name case
---------
Co-authored-by: Patryk Skowroński <pskowronski@3dconnexion.com >
Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org >
Co-authored-by: Ladislav Michl <ladis@linux-mips.org >
2024-04-15 10:43:45 -05:00
wmayer
d92267c6a7
Fix several compiler warnings
...
* fix -Winconsistent-missing-override
* fix -Wunused-but-set-variable
* fix -Wunused-parameter
* fix -Wunused-lambda-capture
* fix -Wunused-private-field
* fix -Wpessimizing-move
2024-04-03 10:04:56 +02:00
wmayer
f5baef888c
Gui: fix several regressions caused by PR #12035
...
* fix hard crash in MainWindow::_updateActions() if no MDI view exists
* in MDIView::buildWindowTitle() use the label of the document because this changes when saving it while the name is immutable
* fix const correctness in MDIView::buildWindowTitle()
* do not set the modified flag of the main window in MDIView::buildWindowTitle() but in the calling instance
* move setting the main window title to Application::viewActivated to reduce code duplication
* fix missing application name if FreeCADGui is loaded as Python module
2024-03-18 23:27:51 +01:00
wmayer
58a53e929d
Gui: refactor Application::runApplication
2024-02-26 11:21:38 -06:00
Florian Foinant-Willig
5a22009217
Add SuppressibleExtension
2024-02-21 16:19:32 +01:00
Pieter Hijma
095e94183a
[Core] Managing Custom Data Elements: VarSet ( #12135 )
...
* [Core] Add a basic VarSet document object
* [Core] Add basic tests for VarSets
* Core: Replace the VarSet icon with an outlined one
2024-02-21 10:38:06 +01:00
bdieterm
bed5e4362b
Gui: unite init code for FreeCAD GUI (normal and via Gui.showMainWindow())
2024-02-19 10:48:00 -06:00
bgbsww
a1c08dbf43
Move the unit schema into Project Information and remove all Project Unit System code ( #11266 )
...
* Add unit system to Project Information and store with document.
* Remove the project unit system
* Restore correct document activation signalling to fix test fail
* Remove commented out dead lines
* Restore ignore option for project unit schemas
* Whitespace fix
* Refresh after changing units
* Remove field label
* Property editor changes applied to unit system
2023-12-04 13:04:53 -06:00
Chris Hennes
aaa0db3867
Merge pull request #11231 from DeflateAwning/http-cleanup
...
Find and replace http://freecad to https://freecad
2023-11-06 11:16:13 -06:00
DeflateAwning
8de6db3e97
Find and replace http://freecad.org to https://freecad.org
...
Find and replace:
http:\/\/(.{0,10})freecad
https://$1freecad
Done in all remaining files (after doing it in SVGs in the last commit)
2023-10-29 22:39:22 -06:00
Florian Foinant-Willig
773c701eec
Core: modernize type checking
2023-10-23 18:07:07 +02:00
Victor Predko
f76f842302
File formats: Uppercase file types when importing a file. ( #10977 )
...
* Added uppercase extensions for supported formats
In the file App\Application.cpp
* Added file types in upper case
* Adds uppercase file types to the file import filter.
Fixes #10879
* Added filter for *.fcmacro *.fcscript
2023-10-16 14:40:46 -03:00
wmayer
823a8d593f
Gui: when closing application remove all manipulators
2023-10-16 18:13:41 +02:00
Zheng, Lei
bf9584a90b
Gui: add support for transparent overlay docking widget
2023-10-11 09:58:53 +02:00
AgCaliva
2212e68a30
merge master via cli
2023-10-04 13:28:48 -03:00
wmayer
ac342af190
Gui: integrate WorkbenchManipulator
2023-10-03 19:26:28 +02:00
AgCaliva
4a504437d3
merge master via cli
2023-09-16 02:12:58 -03:00
wmayer
c7bacc34d6
Gui: filter warning about dead keys
...
Forum thread: https://forum.freecad.org/viewtopic.php?t=80981
2023-09-08 14:12:24 +02:00
AgCaliva
39dcb1da7b
Merge Master
2023-08-30 16:24:16 -03:00
Chris Hennes
df7b2f8c4b
App: Warn on OpenGL too old ( #9272 )
...
* App: Warn on OpenGL too old
Based on original code from PR #9164
* GUI: Switch to DlgCheckableMessageBox for openGL warning
2023-08-28 12:08:23 -04:00
wmayer
5a153e50ff
Gui: modernize C++: use default member init
2023-08-23 19:51:44 +02:00
marioalexis
44884ecaf7
Gui: Change SoQtOffscreenRendererPy to new PyCXX extension type
2023-08-20 12:02:17 +02:00
Chris Hennes
661b6da0cb
Merge pull request #10238 from Ondsel-Development/pref_theme_2
...
[Preferences] theme : Variables in stylesheet and more.
2023-08-18 08:49:34 -05:00
wmayer
54bb9c9c62
Gui: modernize C++: return braced init list
2023-08-18 00:36:24 +02:00
marioalexis
05df2da6b4
Gui: Change SelectionFilterPy to new PyCXX extension type
2023-08-16 08:39:14 +02:00
Paddle
71d06363c6
SetStylesheet: Remove comparaison to current stylesheet as now we have variables in stylesheet. This check is done in the Theme pref page now.
2023-08-15 14:35:39 +02:00
Paddle
d40cfeb6da
Core: Stylesheets: Adds support for variables in stylesheets.
2023-08-15 14:35:29 +02:00
AgCaliva
0c4ef0e106
merge master
2023-08-08 23:29:40 -03:00
wmayer
d150fa7164
modernize C++: avoid bind
...
In many cases std::bind() is kept because the code is much simpler
2023-08-08 21:10:16 +02:00
Paddle
ccb9d7faeb
Move all the preference pages to PreferencePages subfolder.
2023-08-08 11:12:48 +02:00
Chris Hennes
ea49b3fe78
GUI: Add prominent dev build indicators
2023-08-04 18:21:39 -06:00
Chris Hennes
9188446113
Gui: Clarify message about FCbak
2023-08-01 19:45:43 +00:00
wmayer
e5b6690535
Gui: also print category string of Qt messages
2023-07-24 20:34:52 +00:00
Ajinkya Dahale
0e3dce286e
[Core] Warn user if using deprecated backup extension
2023-07-20 10:25:34 -05:00
AgCaliva
ceb4a28991
Merge branch 'master' into User/Document/Feature_level_units_selection_#7746
2023-07-02 17:45:05 -03:00
AgCaliva
af74608ada
Added per project Unit System feature
2023-05-09 19:29:13 -03:00
wmayer
8cc0b6ad39
Gui: Create .qm out of .ts files
2023-05-07 08:52:49 +02:00
Chris Hennes
b0cdbbf1d8
Merge pull request #9350 from chennes/translateEditModeTooltips
...
GUI: Translate the tooltip for EditMode menu
2023-04-26 21:00:00 -05:00
luzpaz
129d5882a7
Migrate domain name from freecadweb to freecad ( #9352 )
...
* Migrate domain name from freecadweb to freecad
* Migrate src/Mod/Material files
* Migrate Stylesheet related files
* Migrate *.svg files
* Migrate miscellaneous files
* Migrate some build files
* Migrate recently added TD AR_IRAM template files
Closes #6415
2023-04-24 15:19:20 -05:00
Chris Hennes
273943a42c
GUI: Translate the tooltip for EditMode menu
...
The tip text was extracted from the Wiki.
2023-04-21 16:55:05 -05:00
marioalexis
60ae9f35b6
Gui: Add CommandAction descriptor object to access commands action
2023-04-10 16:53:51 +02:00
wmayer
4b982a3dbd
Gui: filter category qt.svg
2023-03-27 15:50:34 +02:00
Uwe
e004c5bab9
[Gui] Application.cpp: fix too long lines
...
- for better readability (less scrolling in the IDE)
2023-03-24 04:38:45 +01:00
wmayer
77ecde6527
Core: use FileHandler in Application::sOpen and Application::sInsert
2023-03-22 15:14:45 +01:00
wmayer
084f77f8be
Core: move image plane to core system
2023-03-22 13:44:00 +01:00
wmayer
da38f16320
Gui: set-up a logging category filter to suppress the most annoying Qt warnings
2023-03-16 20:40:00 +01:00
wmayer
f70bf280c6
Gui: fix possibly garbled toolbars and menus
...
See also Debian bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=986821
For now enable this line only for Windows builds
2023-03-09 12:44:45 +01:00