Commit Graph

4622 Commits

Author SHA1 Message Date
Chris Hennes
1b2bbbf06b Update translations 2023-04-29 11:10:27 -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
Chris Hennes
42f062fe0d Merge pull request #9284 from dodomorandi/fix-event-type-ub
Fix wrong downcasting of QEvent
2023-04-17 21:32:34 -05:00
Edoardo Morandi
e6323b9bc8 fix: UB by erroneous event downcasting
When an event type is `QEvent::Wheel`, the event type is `QWheelEvent`,
which is not a `QMouseEvent`. This caused a undefined behavior that can
be cached by ubsan.
2023-04-17 23:42:15 +02:00
Chris Hennes
73c706fb1b Merge pull request #9298 from Ondsel-Development/fix_wb_autoload
Pref: Wb: disabling wb do not disable auto-load.
2023-04-17 16:13:37 -05:00
Paddle
77073a9710 Pref: Wb: disabling wb do not disable auto-load. 2023-04-17 21:37:46 +02:00
Chris Hennes
04e0fdd012 Merge pull request #9199 from Ondsel-Development/image_task
Image: Merge taskboxes into one 'Image plane Settings'.
2023-04-17 14:24:35 -05:00
Chris Hennes
6d099f0b65 Merge pull request #9290 from chennes/translateSoFCColorText
Gui: Add translations for color bar labels
2023-04-17 12:25:16 -05:00
Paddle
b6372e376f TaskImage: Fix segfault when doc closed before taskview is dismissed. 2023-04-17 16:03:11 +02:00
Paddle
a69ac4717c TaskImage: Remove 'outside picture' mode. 2023-04-17 15:10:13 +02:00
Chris Hennes
ee47e614e1 Gui: Fix translation of Export error dialog 2023-04-16 21:27:28 -05:00
Chris Hennes
7e6f554401 Gui: Add translations for color bar labels 2023-04-16 20:58:42 -05:00
xtemp09
d32d699e1c Setting initial color of QColorDialog
This commit fixes issue #7322
2023-04-16 13:56:19 +07:00
Chris Hennes
ec4a963f57 Merge pull request #9260 from Ondsel-Development/pref_general
Pref: general: Re-organize page.
2023-04-14 20:31:36 -05:00
Chris Hennes
4fdc843723 Merge pull request #9259 from ronnystandtke/multiselect_hide_in_tree
added support for multi selection when toggling visibility in tree view
2023-04-14 20:26:41 -05:00
Chris Hennes
28facc2fc3 Merge pull request #9244 from ronnystandtke/navicube_i18n
Added translation functionality for Navigation Cube labels
2023-04-13 17:40:14 -05:00
Roy-043
5abd978ad3 Gui: CommandView.cpp: Fix typos and more consistent WindowTitle 2023-04-13 18:24:00 +02:00
Paddle
e1e62659fe Pref: General: revert change from stylesheet to theme. 2023-04-13 18:14:55 +02:00
Paddle
f5afba4852 Pref: General: Rename 'Main Window' groupbox to 'Application' as it has settings unrelated to mainwindow (recent files).
Reorder settings by importance and for the group to look better.
2023-04-13 17:43:01 +02:00
Ronny Standtke
e3d47049bf use toUtf8() instead of toLocal8Bit() 2023-04-13 17:29:12 +02:00
Paddle
764ea0cdb9 Pref: General: Remove '(numpad)' string. It's tooltip stuff. 2023-04-13 17:26:56 +02:00
Ronny Standtke
443fec5aca added support for multi selection when toggling visibility in tree view 2023-04-13 17:15:29 +02:00
Paddle
a9badd74aa Pref: General: The 'recent file' spinbox was very far away from the name.
And the name missed ':' as others settings.
2023-04-13 16:59:43 +02:00
Paddle
f301d8f6df Pref: General: Remove 'start up' groupbox as it has a single element. 2023-04-13 16:44:14 +02:00
Paddle
5ed95e01b0 Pref: General: Rename 'Style sheet' to 'Theme' 2023-04-13 16:41:57 +02:00
Paddle
0e85859c4e Pref: General: Move pref pack at the end of the page. 2023-04-13 14:59:12 +02:00
Paddle
c0b1ef2e4f Pref: General: Remove useless and redundant 'General' groupbox. 2023-04-13 14:58:01 +02:00
Ronny Standtke
32650526b7 removed redundant "Toggle visibility" menu item from View menu 2023-04-13 10:57:49 +02:00
Ronny Standtke
1b20532595 use tr() instead of QT_TR_NOOP() 2023-04-13 02:27:16 +02:00
wmayer
56d49a98f4 Gui: mark methods in DemoMode as override 2023-04-13 01:12:56 +02:00
wmayer
ea4c63e373 Gui: improve whitespaces 2023-04-13 01:12:56 +02:00
wmayer
a213641ae0 Gui: sort headers according to Qt module and remove deprecated headers 2023-04-13 01:12:56 +02:00
Ronny Standtke
e6d2f0e852 added i18n for navicube labels 2023-04-12 22:13:58 +02:00