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
mwganson
6a91ff1ed5
Placement dialog - more consistent axis direction based on order of selection
2018-10-02 21:03:51 +02:00
wmayer
ee6b2112f8
use toDegrees
2018-09-29 18:08:10 +02:00
mwganson
ea349fdfb6
ensure points.size() > 0 before accessing points[0], update selected points message
2018-09-29 18:08:10 +02:00
Mark Ganson TheMarkster
c36a8a0e0e
add support for 3 picked points in placement dialog ( #1 )
2018-09-29 18:08:09 +02:00
mwganson
ea8cd54872
add axial movement to placement dialog
2018-09-29 18:08:09 +02:00
Mark Ganson TheMarkster
d73fbd3d1d
do reselection whether 1 or 2 points selected
...
Add message box explaining usage of Selected points button.
Move reselection so it is applied whether 1 or 2 points were selected.
2018-09-19 20:32:49 +02:00
wmayer
f68d65dc7b
remove limit to only allow vertexes of a model
2018-09-17 17:27:21 +02:00
mwganson
8108275846
Add select point(s) option to Placement dialog
2018-09-17 15:00:48 +02:00
wmayer
aee9359da1
ignore key events in placement dialog and let parent task panel handle them
2018-09-11 21:12:04 +02:00
wmayer
0b182be0d2
fixes #0002045 : Make Euler Rotation default or user-pref default
2017-10-01 21:15:58 +02:00
wmayer
099bdf5f5d
add option to placement dialog to rotate around center of mass
2017-03-05 18:47:34 +01:00
wmayer
1491d007a6
apply modification to correct property
2016-12-01 13:35:28 +01:00
wmayer
947f9575de
remove Application::runPythonCode
2016-09-15 23:14:31 +02:00
Mateusz Skowroński
f48f0f69be
Qt::WFlags is obsolete in Qt5. Replace it with Qt::WindowFlags.
...
This change is Qt4/Qt5 neutral.
2016-01-05 16:07:58 +01:00
Mateusz Skowroński
c275b35d48
QString::fromAscii() is obsolete in Qt5. Replace it with fromLatin1().
...
This change is Qt4/Qt5 neutral.
2016-01-05 16:07:25 +01:00
Mateusz Skowroński
0695552cff
QString::toAscii() is obsolete in Qt5. Replace it with toLatin1().
...
This change is Qt4/Qt5 neutral.
2016-01-05 16:06:48 +01:00
wmayer
750897c20e
+ introduce proper enum for property status to replace plain integers
2016-01-01 15:36:24 +01:00
Sebastian Hoogen
ba0f2a765c
document the convention used for Euler angles (XY'Z'')
...
in the Placement dialog and the docstrings of the Rotation python class.
fixes #2007
2015-03-21 13:29:32 +01:00
wmayer
732c521f39
+ Replace InputField with QuantitySpinBox
2014-07-31 15:14:27 +02:00
wmayer
5dae9cf510
+ do not close placement dialog if an error occured when pressing OK
2014-06-07 20:14:00 +02:00
wmayer
f621ffa412
+ fix issue with default value and unit in InputField
2014-06-06 16:17:47 +02:00