Karliss
42790475d6
Add missing parent for messagebox and other popups
...
Unparented popups can easily get lost in backround, but they still block top level event loop when run with ::exec() thus preventing interactions with main window. This mainly happens on wayland. Setting the parent ensures they are always kept on top and reasonably positioned.
2025-03-16 16:02:36 -05:00
Andrea
2d4ab5af20
REMOVE old QT<= 5.14 code
...
Ubuntu 22.04 use qt 1.15.3.
In the code is still used qt code <5.10.
A cleanup was done by removing qT code version used in ubuntu 18.04.
2025-03-05 09:32:06 +01:00
Benjamin Bræstrup Sayoc
8d2d0a47f4
Gui: Use QStringLiteral
2025-02-10 18:34:57 +01:00
tritao
551c2e48fb
Gui: Reorganize the selection files into a top Selection folder.
2025-02-03 17:56:57 +01:00
wmayer
9213635c9d
Core: Placement dialog
...
+ replace separate buttons with QDialogButtonBox
+ add convenience method setPlacementAndBindObject
+ use const DocumentObject
2024-09-09 12:28:22 +02:00
wmayer
e3fc2f9582
Core: Add option to ignore transactions in placement dialog
2024-09-05 19:18:20 +02:00
wmayer
df67720eac
Core: Expose Placement dialog to Python
2024-09-05 18:17:08 +02:00
wmayer
6f245c0103
Core: Change placement dialog to operate on passed selection objects
2024-09-05 17:43:09 +02:00
wmayer
f8648b475a
Core: Refactor placement dialog
2024-09-05 17:08:43 +02:00
wmayer
86f9c6b6b4
Gui: In Placement dialog check that the object identifier has a valid property before binding it to a widget
2024-04-17 12:28:30 +02:00
wmayer
35a10e8717
Gui: use of TaskDialog::addTaskBox
2024-03-26 15:57:20 +01:00
wmayer
888a33917d
Gui: modernize C++: use equals default
2023-08-20 18:12:43 +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
c2e17824fa
modernize C++: raw string literal
2023-08-07 19:51:15 -06: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
a70d3beceb
Gui: [skip ci] move to new-style connect in Placement dialog
2023-01-02 10:42:12 +01:00
wmayer
64f421d815
Gui: enable range check in QuantitySpinBox when opening expression editor
2022-12-19 14:46:31 +01:00
wmayer
0925d9a47e
Gui: simplify logic of Placement dialog
2022-12-16 17:49:22 +01:00
wmayer
89c24714df
Gui: refactor Placement dialog
2022-12-16 15:33:52 +01:00
wmayer
1b693dbf7e
Gui: refactor Placement dialog
2022-12-16 12:00:56 +01:00
wmayer
471df296fa
Gui: [skip ci] fix Conda build failure
2022-11-01 22:57:47 +01:00
wmayer
b0633f455b
Gui: bind spin boxes of Placement dialog when opening it via menu
2022-10-27 19:30:24 +02:00
wmayer
ebdd4c9af3
Gui: refactor and modernize code of Placement dialog
2022-10-27 00:28:55 +02:00
wmayer
13b3abc063
Gui: if an expression is set for Euler angles in the placement dialog then evaluate the expression instead of determining the angles from the rotation
...
See forum thread: https://forum.freecadweb.org/viewtopic.php?f=3&t=72522
2022-10-26 11:27:46 +02:00
wmayer
2a3737feb0
Gui: in placement dialog use spin boxes for rotation axis
2022-10-25 22:56:56 +02:00
berniev
ae53c9b0a4
Gui: Use auto and range-based for ( #7481 )
...
* On lines where the variable type is obvious from inspection, avoid repeating the type using auto.
* When possible use a ranged for loop instead of begin() and end() iterators
2022-09-14 13:25:13 -05:00
berniev
3877fc62c3
Gui: Single arg ctors must be explicit (PR #7369 )
2022-08-24 15:06:03 +02:00
berniev
2db561561e
Gui: use empty
2022-08-06 16:35:45 +02:00
wmayer
82a6241fc5
fix (Qt) issues found by clang's clazy tool:
...
+ -Wclazy-incorrect-emit
+ -Wclazy-strict-iterators
+ -Wclazy-overloaded-signal
+ -Wclazy-qstring-arg
+ -Wclazy-unused-non-trivial-variable
+ -Wclazy-container-anti-pattern
+ -Wclazy-range-loop-reference
+ -Wclazy-const-signal-or-slot
+ -Wclazy-detaching-temporary
+ -Wclazy-qfileinfo-exists
2022-06-29 21:00:54 +02:00
Zheng, Lei
8bec44934b
Fix mixed line endings
2022-04-26 12:52:55 -05:00
Chris Hennes
5df3dbae6f
Gui: PR6497 move return statement to new line
2022-03-29 12:33:50 -05:00
wmayer
1178df06b4
Gui: modernize C++11
...
* use nullptr
2022-03-23 18:41:21 +01:00
wmayer
f1f68db55b
App: Optimize includes to reduce compile time
2022-03-07 15:53:58 +01:00
Uwe
85416eab43
[Gui] Placement: remove unused includes
2022-03-05 02:48:17 +01:00
luz paz
c93bf6cbae
Gui: Issue #0004473 : Expose openCommand() to translation
...
Continuing the work to expose the undo/redo functionality to translation. This commit does so for the src/Gui code.
Ticket: https://tracker.freecadweb.org/view.php?id=4473
2020-12-01 14:53:35 +01:00
luz paz
38815b9550
Gui: Fix header uniformity, whitespace, and doxygen fixes
2020-11-26 10:14:56 +01:00
wmayer
d6169d6478
boost: fix for boost < 1.60
2020-06-15 19:38:39 +02:00
wmayer
730154a684
boost 1.73.0: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated
2020-06-12 17:51:33 +02:00
wmayer
26dfcfea8c
Gui: [skip ci] bind spin boxes to object in Placement dialog
2020-03-27 17:08:08 +01:00
wmayer
32d8718639
Gui: [skip ci] fix bug in Placement dialog when leaving with Esc
2020-03-20 13:34:48 +01:00
wmayer
4bbcd1e483
Gui: Qt4/Qt5 neutral change in Placement class [skip ci]
2020-01-12 13:43:39 +01:00
wmayer
1d14534d19
fix Qt4 build failure
2020-01-09 14:35:17 +01:00
wmayer
d407741910
Gui: [skip ci] reduce height of Placement dialog
2020-01-09 02:26:17 +01:00
wmayer
d0b98b4161
Gui: [skip ci] adjust content to size after hiding bottom button row
2020-01-08 23:38:20 +01:00
wmayer
8bcd3aa338
fixes 0003861: Sketch change plane when changing Attachment Offset (UI quirk)
2019-03-12 22:54:37 +01:00
wmayer
3fbc448d4d
remove unused checkbox from Placement dialog
2018-10-13 01:51:05 +02:00
mwganson
38e5170fd0
placement task -- for user's convenience copy distance or angle to clipboard when user shift+clicks Selected points button
2018-10-13 01:11:39 +02:00
mwganson
4757912c95
placement dlg - do reselection prior to updating center coordinates -- prevents other object moving if apply incremental changes is not enabled
2018-10-05 16:14:17 -05:00
mwganson
121c60c436
placement - show complementary angle as float
2018-10-04 16:26:22 +02:00