Commit Graph

5629 Commits

Author SHA1 Message Date
wmayer
8de6e5e8a8 Qt6: Fix MinGW build 2024-07-25 20:09:06 +02:00
luzpaz
a71f49f4f6 Fix trailing newlines and minor typo fixes 2024-07-23 16:16:30 +02:00
Syres916
4beef5e0d8 [Gui] Overlay set hide in non 3D view to be true/checked 2024-07-22 11:13:11 -05:00
MisterMaker
9c6663c924 Stylesheet fixes part trois. (#15471)
* fixes Qtoolbox for Freecad CAM

https://github.com/FreeCAD/FreeCAD/issues/14745#issuecomment-2231031485

* Removed offset because of Linux issues.

* fix for to dark cells in propetties panel

* fixed constrain colors in sketcher and arros tabbar.

* tabbar fixes

* This fixes the checkered scrollbar issue

* This fixes the spinbox arrow which had a gap.

* misses somethings in the overlay stylesheets.

* typos

* fixed some overlay issues

* update sketch uncontrained colors

* trying to fix the arrow size

* fixes for treeview

* Update Light Theme + Dark Background.qss

fix for edit text field

* updated checkmarks names and scaled them down.

* Update FreeCAD Dark.qss

oopsie wrong color

* Update icons classic.svg

icons files for the icons

* fix for table edit
2024-07-22 11:12:21 -05:00
wmayer
9c236af83f PD: Fix crash when pressing ESC on chamfer/fillet dialog 2024-07-22 10:53:31 -05:00
Chris Hennes
ac3b5b3c74 Merge pull request #15535 from bgbsww/bgbsww-toponamingSaveRestore3plus
Refactor all elementname pairs into clearer struct names
2024-07-21 11:40:39 -05:00
Yuri D'Elia
41d67f8e10 Gui: Fix Shiboken version detection and compilation error
- Shiboken headers need to be included first to get MAJOR/MINOR version
  flags. Without them the code would still compile, but fail the version
  check a few lines below assuming Shiboken is always older than 5.12
- Fix typo in cast when HAVE_SHIBOKEN_TYPE_FOR_TYPENAME is defined and
  remove the conditional: we have to assume typeForTypeName() always
  results in a valid name, as for the other implementations. There's no
  error handling of any kind in callers.

This fixes the build on debian unstable with shiboken 5.15.
2024-07-21 00:04:37 -05:00
bgbsww
0bddc51805 Refactor all element name pairs into clearer struct names - renames 2024-07-20 16:32:12 -04:00
Chris Hennes
ce4b24029f Merge pull request #15382 from Syres916/Fix_Theme_ComboBox_Lookup
[Gui] Preferences - fix the theme combobox index lookup...
2024-07-16 23:26:47 -05:00
Chris Hennes
a9b29269ec Merge pull request #14970 from kadet1090/use-freecad-icons-by-default
Gui: Use FreeCAD supplied icons by default
2024-07-16 23:21:24 -05:00
Pieter Hijma
44387a793b Core: Add missing Python interpreter locks 2024-07-16 11:57:36 +02:00
Chris Hennes
0278bd8f27 Gui: Add missing include to PCH 2024-07-15 22:35:38 -05:00
Chris Hennes
e186ae9c6f Merge pull request #15376 from wwmayer/issue_15369
Gui: Allow to set MSAA 4x option
2024-07-15 21:06:46 -05:00
MisterMaker
3a32ae9985 Stylesheet fixes (#14749) 2024-07-15 16:26:28 -05:00
Syres916
6669aa55f7 [Gui] Apply requested changes 2024-07-15 20:17:58 +01:00
Kacper Donat
dc6456caf9 Gui: Use FreeCAD supplied icons on Linux by default
Fixes: #14968
2024-07-15 21:16:24 +02:00
PaddleStroke
29889bfd9a Core: Image taskbox : close if document is closed. 2024-07-15 11:33:24 -05:00
Chris Hennes
10ce67da0d Merge pull request #15315 from Ondsel-Development/RFC_shiboken6fix2
GUI: Work around Shiboken 6 bug for CallTips
2024-07-15 11:32:00 -05:00
Pieter Hijma
6f19ac0c32 Fix version numbers
Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>
2024-07-15 18:29:10 +02:00
Kacper Donat
caa141f8f3 Gui: Utilize XDG icon themes properly 2024-07-15 18:26:40 +02:00
Chris Hennes
8e376b52f2 Merge pull request #15172 from Ondsel-Development/varset-property-types
Gui: Handle various property types better in VarSet dialog
2024-07-15 11:24:46 -05:00
Kacper Donat
284c42dc0a Gui: Reduce Transform Dragger size
Fixes: #13853
2024-07-15 10:57:19 -05:00
Kacper Donat
ce6275e163 Gui: Fix background of non-alternate rows of Property View
This forces background to be rendered using `itemBackground` QProperty.

Fixes: #15263
2024-07-15 17:54:51 +02:00
PaddleStroke
47a506f82f Core: Tree: add canDragFromParents to reduce code duplicity. + Few small fixes 2024-07-15 17:53:02 +02:00
PaddleStroke
6088fdaa96 Assembly: Use canDragObjectToTarget in viewProviderAssembly 2024-07-15 17:53:02 +02:00
PaddleStroke
3e2bc7ad3d Core: Tree / ViewProvider : Add canDragObjectToTarget 2024-07-15 17:53:02 +02:00
PaddleStroke
c70654733f Core: Tree.cpp: few syntax fixes 2024-07-15 17:53:02 +02:00
bgbsww
7daa22fcc7 Toponaming: Process mapped names during selection 2024-07-15 10:45:43 -05:00
Kacper Donat
c1c41bd88f Gui: Ability to target new file buttons fia QSS.
This adds ability to target New File buttons via `#CreateNewRow >
QPushButton` selector.
2024-07-15 10:43:05 -05:00
Chris Hennes
0918dfcf98 Merge pull request #15085 from wwmayer/issue_15068
Sketcher: Delete key in non-functional in macOS
2024-07-15 10:34:55 -05:00
Pieter Hijma
1796818640 Gui: Add font data to VarSet dialog 2024-07-15 11:13:11 +02:00
Pieter Hijma
3d4f671c36 Gui: Handle property types better in VarSet dialog
This makes a distinction between types that cannot be instantiated and
types without an editor (editing values can be done in the property
view).  It adapts to DlgAddProperty.* using the same mechanism to filter
properties.
2024-07-15 09:38:29 +02:00
Chris Hennes
463b2d9451 Merge pull request #15010 from hlorus/measure_distance_components
MeasureGui: Add MeasureDistance X, Y and Z components back
2024-07-14 23:46:04 -05:00
Chris Hennes
07f16394d1 UI: Fix repeated names in UI files 2024-07-14 22:34:37 -05:00
Chris Hennes
4bb6d191b4 Merge pull request #15371 from yorikvanhavre/translations
Translations
2024-07-14 12:55:28 -05:00
Pieter Hijma
a4862b6819 Gui: Prevent invalid editors in VarSet dialog
In the VarSet dialog, we can create an editor after the name and type
has been determined.  However, if the name is changed after an editor
has been created, the editor is invalid because the underlying property
has been removed.  In that case, the function onNameDetermined() should
clean up the invalid editor and this happens in most cases.
Unfortunately, it cannot handle the case in which a click happens on the
invalid editor itself.  This click should result in onNameDetermined() but
since the editor is already invalid, onNameDetermined() is triggered too
late.

The current commit solves this by listening for every change in the name
of the property and handle the editors accordingly.
2024-07-13 22:51:46 -05:00
Chris Hennes
de3579bf7c Merge pull request #15190 from hlorus/measure_dependency_violation
MeasureGui: Fix measure dependency violation
2024-07-13 19:56:23 -05:00
Roy-043
c7f712844e Gui: fix icon name conflict related to Std_ViewScreenShot
The image Std_ViewScreenShot.svg was not used in the GUI. The command Std_ViewScreenShot used a different icon. This caused a name conflict in the Wiki.
2024-07-13 19:32:14 -05:00
Roy-043
a08a77cc76 Gui: Minor cleanup related to obsolete Part_Measure tools 2024-07-13 19:31:51 -05:00
Syres916
dbb7c6e5b8 [Gui] Preferences - fix the theme combobox index lookup...
...when the user has FreeCAD-themes (and no doubt other theme addons) installed.
2024-07-11 23:50:26 +01:00
wmayer
cde1a6412f Gui: Ignore readability-convert-member-functions-to-static for Multisample::testSamples 2024-07-11 17:57:02 +02:00
wmayer
c644736e75 Gui: Allow to set MSAA 4x option
Fixes #15369
2024-07-11 17:40:55 +02:00
wmayer
6c02b8f10f Gui: Use of Multisample class 2024-07-11 17:39:23 +02:00
wmayer
692d84a085 Gui: Add class Multisample to check supported MSAA modes 2024-07-11 16:40:55 +02:00
Yorik van Havre
2c66c8a788 Merged crowdin translations 2024-07-11 15:07:17 +02:00
Yorik van Havre
0a69f0d7c2 Updated ts files 2024-07-11 14:56:33 +02:00
Chris Hennes
051aae3f92 Gui: Add SoDecomposeVec3f.h to InventorAll.h 2024-07-10 08:28:50 -05:00
FEA-eng
cb37bcc508 Update DlgSettingsUI.ui 2024-07-10 10:31:29 +02:00
Pieter Hijma
412ef693fd Gui: Distinct between locals and globals 2024-07-10 09:33:42 +02:00
wmayer
5b9b611f8e Core: In dialog to add property only list types that can be instantiated
Fixes #15159: Dialog for adding properties allows property types that give exceptions
2024-07-10 08:47:38 +02:00