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
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
Paddle
8338b7f01e
TaskImage: Simplify restore & updatePlacement. It will make it easier if we want to enable other planes than XY XZ ZY.
2023-04-12 18:52:04 +02:00
Paddle
b6e54b6586
TaskImage: finish fixing when imageplane is in transformed part.
2023-04-12 18:23:35 +02:00
Paddle
f2494a86c2
TaskImage: try to fix bug when in Part container.
2023-04-12 17:50:59 +02:00
Paddle
60a6de9bac
TaskImage : fix X Y distances that were not taken into account for SoDatumLabel transform.
2023-04-12 17:50:42 +02:00
Paddle
1e3d000197
Task image. replace {} with () in the ctor for consistency
2023-04-12 17:49:54 +02:00
Paddle
1f17871950
TaskImage: fix X,Y distance that were reversed on XZ and ZY.
2023-04-12 17:49:18 +02:00
Paddle
82ee6c0ab9
TaskImage: Fix enter doesn't work.
2023-04-12 16:48:08 +02:00
Paddle
246014dddd
TaskImage: fix issues
2023-04-12 16:48:08 +02:00
Paddle
6460b24b6c
TaskImage: add missing headers
2023-04-12 16:48:08 +02:00
Paddle
f3b7c0bd60
TaskImage: Fix Cancel on Esc and final ui adjustments.
2023-04-12 16:48:08 +02:00
Paddle
c53fc99604
TaskImage : Remove OK and Cancel buttons and others
2023-04-12 16:48:07 +02:00
Paddle
b31373cae6
TaskImage : Add OK and Cancel buttons.
2023-04-12 16:48:07 +02:00
Paddle
0b42975e13
TaskImage: rework interactive scaling tool.
2023-04-12 16:48:07 +02:00
Paddle
68ed314604
TaskImage: use SoDatumLabel instead of basic line.
2023-04-12 16:48:07 +02:00
Paddle
271e3bec4a
Move SoDatumLabel from Sketcher to Core so that it can be reused anywhere.
2023-04-12 16:48:07 +02:00