Commit Graph

5629 Commits

Author SHA1 Message Date
wmayer
dca41751f7 Qt6: Fix MinGW build 2024-07-25 20:09:06 +02:00
luzpaz
bc150dc73c Fix trailing newlines and minor typo fixes 2024-07-23 16:16:30 +02:00
Syres916
72829d07b4 [Gui] Overlay set hide in non 3D view to be true/checked 2024-07-22 11:13:11 -05:00
MisterMaker
1058e67422 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
8a4aa75dec PD: Fix crash when pressing ESC on chamfer/fillet dialog 2024-07-22 10:53:31 -05:00
Chris Hennes
a8ec527cab 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
009e02b6c0 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
19e450a667 Refactor all element name pairs into clearer struct names - renames 2024-07-20 16:32:12 -04:00
Chris Hennes
31493fa0ce 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
8d353a9eb9 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
851f72ee72 Core: Add missing Python interpreter locks 2024-07-16 11:57:36 +02:00
Chris Hennes
f54c5f21db Gui: Add missing include to PCH 2024-07-15 22:35:38 -05:00
Chris Hennes
debfe7bb4d Merge pull request #15376 from wwmayer/issue_15369
Gui: Allow to set MSAA 4x option
2024-07-15 21:06:46 -05:00
MisterMaker
20f4a4c5a3 Stylesheet fixes (#14749) 2024-07-15 16:26:28 -05:00
Syres916
f53e81cd06 [Gui] Apply requested changes 2024-07-15 20:17:58 +01:00
Kacper Donat
a76226d70f Gui: Use FreeCAD supplied icons on Linux by default
Fixes: #14968
2024-07-15 21:16:24 +02:00
PaddleStroke
2364a48cb9 Core: Image taskbox : close if document is closed. 2024-07-15 11:33:24 -05:00
Chris Hennes
adc94b4f05 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
444bec16f0 Fix version numbers
Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>
2024-07-15 18:29:10 +02:00
Kacper Donat
dbb68789dd Gui: Utilize XDG icon themes properly 2024-07-15 18:26:40 +02:00
Chris Hennes
58eae9df6b 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
ceb0447d03 Gui: Reduce Transform Dragger size
Fixes: #13853
2024-07-15 10:57:19 -05:00
Kacper Donat
44ab477480 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
4769926120 Core: Tree: add canDragFromParents to reduce code duplicity. + Few small fixes 2024-07-15 17:53:02 +02:00
PaddleStroke
e6fb9f0185 Assembly: Use canDragObjectToTarget in viewProviderAssembly 2024-07-15 17:53:02 +02:00
PaddleStroke
e71351cf7d Core: Tree / ViewProvider : Add canDragObjectToTarget 2024-07-15 17:53:02 +02:00
PaddleStroke
febe4dbd8c Core: Tree.cpp: few syntax fixes 2024-07-15 17:53:02 +02:00
bgbsww
e07d940f5b Toponaming: Process mapped names during selection 2024-07-15 10:45:43 -05:00
Kacper Donat
d282d449b9 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
d7b0da3a54 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
3a76828b1e Gui: Add font data to VarSet dialog 2024-07-15 11:13:11 +02:00
Pieter Hijma
855d3e5325 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
e17a0bee5f 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
8bc38f0a92 UI: Fix repeated names in UI files 2024-07-14 22:34:37 -05:00
Chris Hennes
59f815234a Merge pull request #15371 from yorikvanhavre/translations
Translations
2024-07-14 12:55:28 -05:00
Pieter Hijma
fc6120b8dd 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
f8deaaaf86 Merge pull request #15190 from hlorus/measure_dependency_violation
MeasureGui: Fix measure dependency violation
2024-07-13 19:56:23 -05:00
Roy-043
b08074e15b 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
d854dc78fc Gui: Minor cleanup related to obsolete Part_Measure tools 2024-07-13 19:31:51 -05:00
Syres916
7276b97570 [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
a625b463f9 Gui: Ignore readability-convert-member-functions-to-static for Multisample::testSamples 2024-07-11 17:57:02 +02:00
wmayer
39cbfdb2c5 Gui: Allow to set MSAA 4x option
Fixes #15369
2024-07-11 17:40:55 +02:00
wmayer
6b932aa96e Gui: Use of Multisample class 2024-07-11 17:39:23 +02:00
wmayer
eafe75783e Gui: Add class Multisample to check supported MSAA modes 2024-07-11 16:40:55 +02:00
Yorik van Havre
e76b5ec4ca Merged crowdin translations 2024-07-11 15:07:17 +02:00
Yorik van Havre
1c79768f7d Updated ts files 2024-07-11 14:56:33 +02:00
Chris Hennes
c1f1ee4748 Gui: Add SoDecomposeVec3f.h to InventorAll.h 2024-07-10 08:28:50 -05:00
FEA-eng
5bc00c302b Update DlgSettingsUI.ui 2024-07-10 10:31:29 +02:00
Pieter Hijma
24bdb5ec9e Gui: Distinct between locals and globals 2024-07-10 09:33:42 +02:00
wmayer
de8f153ca3 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