Commit Graph

4653 Commits

Author SHA1 Message Date
Chris Hennes
b0dc472aca Merge pull request #9541 from Ondsel-Development/wb_prevent_duplicates
Pref: Wb: prevent duplicate workbenches in the lists.
2023-05-11 19:33:22 -05:00
Paddle
710cb5d81f Pref: Wb: prevent duplicate workbenches in the lists. 2023-05-11 10:25:29 +02:00
Chris Hennes
b9e589ebad Merge pull request #9497 from wwmayer/generate_qm_files
Generate qm files
2023-05-10 18:18:25 -05:00
wmayer
b6951d2bb6 Gui: when loading SVG images get default size and keep aspect ratio
See forum: https://forum.freecad.org/viewtopic.php?p=680800#p680800
2023-05-10 11:59:44 +02:00
Rexbas
15462488ba Fix typo 2023-05-09 10:31:38 +02:00
Rexbas
5b3957b43a Add method to find the nearest orientation 2023-05-09 10:31:38 +02:00
Rexbas
fac1a5b3de Cleanup unused NaviCube methods 2023-05-09 10:31:38 +02:00
Rexbas
dc0f6c9534 Apply the rotation that is stored in the NaviCube face 2023-05-09 10:31:38 +02:00
Rexbas
fed59b3584 Determine rotation direction of NaviCube buttons 2023-05-09 10:31:38 +02:00
Rexbas
e75f0cb247 Determine standard orientations of NaviCube faces 2023-05-09 10:31:38 +02:00
wmayer
478b5e0628 Gui: fix NaviCube in split views (fixes #9500)
* initialize base and hilite color with more sensible default values
* handle case if no font name is set
* apply user preferences to NaviCube
2023-05-08 10:05:01 +02:00
wmayer
cc35c6167c Gui: Create .qm out of .ts files 2023-05-07 08:52:49 +02:00
Chris Hennes
e30a768e0a Merged crowdin translations 2023-05-06 11:56:32 -05:00
wmayer
c268d8e3d7 Gui: disable lighting for the label of an axis
This way the backside of the label is displayed with the same color as the front side. Otherwise it may be black.
2023-05-05 22:00:55 -04:00
Ronny Standtke
f8ae7ba722 Origin axis: use same colors as axis cross and make bigger than planes
for easier selection and visualization
2023-05-05 03:09:36 -04:00
Ronny Standtke
adb40e5634 Origin plane: make plane faces unpickable 2023-05-05 03:09:36 -04:00
Ronny Standtke
28d5f47b14 Origin plane: add semi transparent face 2023-05-05 03:09:36 -04:00
Jolbas
3fd1f4b7da Compability with OpenGL ES
Replace glPolygonMode() and GL_POLYGON with GL_LINE_LOOP
Replace glDepthRange() with glPolygonOffset()
Some cleanup in configuring openGL
2023-05-04 17:38:48 -04:00
wmayer
b0c9871722 Use View3DInventorViewer::setSelectionEnabled instead of SoFCUnifiedSelection::selectionRole 2023-05-04 08:03:11 +02:00
wmayer
d668f12ffb Gui: do not enable lighting when rendering from image or framebuffer 2023-05-04 07:55:05 +02:00
Yorik van Havre
cf38fd8767 Merge pull request #9433 from chennes/fixSerbianLatinMenuEntry
GUI: Transform sr-CS to sr_Latn in menu entry
2023-05-03 11:28:13 +02:00
Chris Hennes
0a1b703b5a Mods: Remove Raytracing
Deprecated. Replaced by 3rd party addon 'Render'.
2023-05-02 12:49:54 -05:00
Chris Hennes
9149d17aaf Merge pull request #9437 from chennes/updateTranslations20230429
Update translations
2023-05-02 10:24:05 -05:00
Chris Hennes
ddc85dc65a Merge pull request #9440 from chennes/modifyGuiTooltipForTranslation
Gui: Adjust tooltips for improved translation
2023-05-02 10:23:42 -05:00
wmayer
8ba1edfbfd Gui: fixes #9086: Disabling the splash screen blocks the startup of Freecad
If no splash screen was shown then windowHandle() returns null and this leads to a segmentation fault.
2023-05-02 16:15:33 +02:00
wmayer
d7174ae2b8 Core: do not override sys.stdin when using FreeCAD as Python module 2023-05-02 09:44:09 +02:00
wmayer
7f1e979aad Gui: add comment about troubleshooting OpenGL 2023-05-01 23:32:24 +02:00
wmayer
1491e526e7 Gui: workaround to show content of image plane
This workaround is needed on some platforms after the refactoring of the NaviCube code. For more details see also:
https://github.com/FreeCAD/FreeCAD/pull/9356#issuecomment-1529521654
2023-05-01 23:32:24 +02:00
wmayer
3e9b837024 Gui: fixes #9306: problem importing image if path contains a single quote 2023-04-30 08:42:42 +02:00
Chris Hennes
847ae47497 Gui: Adjust tooltips for improved translation
Tooltips should not be identical to the command menu entry, it prevents translators from translating them separately.
2023-04-29 13:03:02 -05:00
Chris Hennes
1b2bbbf06b Update translations 2023-04-29 11:10:27 -05:00
Chris Hennes
bbb1855942 GUI: Transform sr-CS to sr_Latn in menu entry 2023-04-28 17:16:03 -05:00
wmayer
fa8daef521 Gui: force a redraw of the 3d view when creating it as otherwise on some systems the bottom and right side of the main window becomes black 2023-04-28 13:15:54 +02:00
Chris Hennes
2684899b3f Merge pull request #9350 from chennes/translateEditModeTooltips
GUI: Translate the tooltip for EditMode menu
2023-04-26 21:00:00 -05:00
luzpaz
4e2124e1d3 Fix misc. linting and typos
Trim whitespace; move imports to separate lines, fix typos
2023-04-25 17:14:39 +02:00
Chris Hennes
a19ee454f3 Gui: Translate manual alignment menu 2023-04-25 11:34:49 +02:00
Chris Hennes
142dc7f079 Merge pull request #9356 from Jolbas/Navicube_disable_drag
Refactor Navigation Cube
2023-04-24 15:21:38 -05:00
luzpaz
38a01939e0 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
Jolbas
0c20d6f1a5 NavCube adjustment
Use enum class and fine change to camel case.
Tuned label positions to make one letter labels align better
2023-04-24 12:59:12 +02:00
Jolbas
b613a4ea27 Refactor Navigation Cube
-Use std commands in menu coming with icons
-Only draggable if activated in menu
-Remove textures except labels and used gl fill instead
-Borders on surrounding buttons
-Fix some openGL issues
-Remove duplicate parameter managment. Kept and improved the one in View3DSettings
-Remove lots of other redundant code
-Replaced FontSize param with FontZoom and enabled auto zoom/size on labels.
-Merged BorderColor and TextColor to single EmphaseColor parameter
-Merged ButtonColor and FrontColor to BaseColor parameter
-Added ChamferSize parameter to control edge and corner size
-Use glDrawArrays() innstead of glBegin() and glEnd()
-Draw butt ends on RGB coordinate system
-Fixe issues where cube switch corner on resize window
2023-04-24 12:19:10 +02:00
wandererfan
ef68b1c020 [Gui]overload toQGraphicsItem, toQGraphicsObject for PyObject 2023-04-22 13:48:31 -04:00
Chris Hennes
18cae6b903 GUI: Translate the tooltip for EditMode menu
The tip text was extracted from the Wiki.
2023-04-21 16:55:05 -05:00
wmayer
bc427724f7 Gui: Add translations for color bar labels 2023-04-20 18:52:07 +02:00
Chris Hennes
58200ae943 Merge pull request #9327 from yorikvanhavre/translations
Translations
2023-04-20 10:41:44 -05:00
wmayer
484e0d50c4 Gui: fix several pending issues of image scale:
* refactor some functions
* do not use mdi view of active document as parent for spin box because this can be the wrong widget
* fix compiler warnings of unused variables
* fix typo
* handle Qt::Key_Return in event filter
* fix lint error
2023-04-20 16:52:06 +02:00
Yorik van Havre
faf98925f6 Merged crowdin translations 2023-04-20 14:04:19 +02:00
Yorik van Havre
0fd764454d Updated ts files 2023-04-20 13:53:35 +02:00
wmayer
f1571a7d4d Gui: declare methods as override 2023-04-19 17:38:56 +02:00
Chris Hennes
aeb059fc7a GUI: Add missing toolbar translation strings 2023-04-18 09:21:19 -05:00
Chris Hennes
059b9eddce Merge pull request #8982 from ConnorWorrell/SpinboxFractionInputForMerge
[GUI] QuantitySpinBox: more intuitive parsing
2023-04-17 21:47:48 -05:00