wmayer
8a4aa75dec
PD: Fix crash when pressing ESC on chamfer/fillet dialog
2024-07-22 10:53:31 -05:00
PaddleStroke
2364a48cb9
Core: Image taskbox : close if document is closed.
2024-07-15 11:33:24 -05:00
wmayer
17c06a4a22
Gui: Extend TaskDialog
...
* Add TaskDialog::autoClosedOnDeletedDocument()
* Add option to automatically close task dialog when document is deleted
* Expose autoClosedOnDeletedDocument() to Python
* Expose autoClosedOnTransactionChange() to Python
* Change ControlPy::showDialog() to directly return the task dialog wrapper
* Change TaskView::slotDeletedDocument() to close task dialog if requested
2024-07-10 08:43:43 +02:00
wmayer
8e0cd381ab
Gui: Fix crash when trying to calibrate image after document is closed
2024-07-04 22:19:42 +02:00
wmayer
594c382e5e
Gui: Fix comparison of argument of clicked() with StandardButton
...
Fixes #14639 : Comparison between integers and StandardButton fails for Python task dialogs with PySide6
2024-06-16 22:18:58 -05:00
wmayer
ae2b881477
Gui: Restore previous width when closing task dialog
...
This fixes #11016
2024-05-20 11:35:59 -05:00
Martin Rodriguez Reboredo
51987dc1ab
Fixups with Qt6 enums ( #13611 )
...
* Python PySide enums to C++ converter
* Python IntFlags to C++ int in getStandardButtons
* Remove int conversion in mods Python sources
2024-05-06 18:02:18 +02:00
wmayer
858f6023b5
Gui: allow to add task box with no header and
...
add methods to add a task box to a watcher
2024-03-26 15:57:20 +01:00
wmayer
35a10e8717
Gui: use of TaskDialog::addTaskBox
2024-03-26 15:57:20 +01:00
wmayer
e48134e0e7
Gui: extend and add overloaded method of TaskDialog::addTaskBox
2024-03-26 15:57:20 +01:00
Chris Hennes
590fb19f31
Merge pull request #10978 from FlachyJoe/modernize-type-check
...
Modernize type and derived type checking
2023-11-06 10:44:32 -06:00
bgbsww
3df225df3d
Fix #11032 flickering when switching to Part Design
...
* Remove unneeded timer on taskview updates to fix #11032
* Remove obsoleted class member
2023-11-02 16:32:32 +01:00
Chris Hennes
583e27e8af
Merge branch 'main' into modernize-type-check
2023-10-25 16:07:28 -05:00
Paddle
20e41aea0b
EditableDatumLabel : Change the 'invisibleToMouse' to 'visibleToMouse' to avoid double negation.
...
Also add parameter to startEdit to set this setting. Defaulting to false. So that we don't have to set manually again and again in tool settings.
2023-10-24 19:27:10 +02:00
Florian Foinant-Willig
741296b82e
Core: modernize type checking
2023-10-23 18:07:07 +02:00
Zheng, Lei
ba6b2a4375
Gui: add support for transparent overlay docking widget
2023-10-11 09:58:53 +02:00
wmayer
d305f306df
Core: Revert superfluous changes made with PR #9521
2023-10-09 15:06:45 +02:00
AgCaliva
a4e90b2609
Merge branch 'master' into User/Document/Feature_level_units_selection_#7746
2023-09-25 22:58:23 -03:00
wmayer
ac88cfb2c9
Gui: fixes #10724 : TaskView gets truncated
2023-09-21 19:11:45 -05:00
AgCaliva
cfdbd2322a
Merge branch 'master' into User/Document/Feature_level_units_selection_#7746
2023-09-18 14:01:25 -03:00
wmayer
10a60f2ec5
Gui: fix clang-tidy warnings in TaskImage
2023-09-17 19:11:31 +02:00
Paddle
4079c924d9
TaskImage: remove the spinbox/sodatumLabel gestion and use the global EditableDatumLabel instead.
2023-09-17 13:05:53 +02:00
AgCaliva
64f60721a9
merge master via cli
2023-09-16 02:12:58 -03:00
AgCaliva
b360b43ebe
Fixing DOMDocument redefinition
2023-09-16 00:38:41 -03:00
luzpaz
3518ace910
Fix typos
2023-09-14 20:53:04 -05:00
wmayer
888a33917d
Gui: modernize C++: use equals default
2023-08-20 18:12:43 +02:00
wmayer
fa8978ce99
Gui: modernize C++: return braced init list
2023-08-18 00:36:24 +02:00
wmayer
e09d8aaba6
Gui: modernize C++: use range-based for loop
2023-08-14 19:42:18 +02:00
wmayer
948cbfccd9
modernize C++: avoid bind
...
In many cases std::bind() is kept because the code is much simpler
2023-08-08 21:10:16 +02:00
wmayer
52e1c7c33b
modernize C++: move from boost::bind to std::bind
2023-08-08 17:36:13 +02:00
wmayer
4d4267481f
Gui: modernize C++: use override
2023-08-04 17:09:53 +02: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
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
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
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
9ad3f94265
Image: Merge taskboxes into one 'Image plane Settings'
...
- Allow user to position the image with a X / Y distance.
- Allow user to rotate the image on its plane.
- Adds Transparency.
- Image sizes change from PX to System unit as PX don't make sense for the user.
2023-04-12 16:48:07 +02:00