Commit Graph

66 Commits

Author SHA1 Message Date
luzpaz
129d5882a7 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
0c841d8074 Gui: [skip ci] move to new-style connect in Placement dialog 2023-01-02 10:42:12 +01:00
wmayer
e171a1f6e1 Gui: enable range check in QuantitySpinBox when opening expression editor 2022-12-19 14:46:31 +01:00
wmayer
9c8b255660 Gui: simplify logic of Placement dialog 2022-12-16 17:49:22 +01:00
wmayer
d6d3369856 Gui: refactor Placement dialog 2022-12-16 15:33:52 +01:00
wmayer
36aae6f24e Gui: refactor Placement dialog 2022-12-16 12:00:56 +01:00
wmayer
356794a646 Gui: [skip ci] fix Conda build failure 2022-11-01 22:57:47 +01:00
wmayer
5cc9bae455 Gui: bind spin boxes of Placement dialog when opening it via menu 2022-10-27 19:30:24 +02:00
wmayer
4e643dcec3 Gui: refactor and modernize code of Placement dialog 2022-10-27 00:28:55 +02:00
wmayer
4d8e61549d 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
dad0c36612 Gui: in placement dialog use spin boxes for rotation axis 2022-10-25 22:56:56 +02:00
berniev
75acacd1b7 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
a909df7f39 Gui: Single arg ctors must be explicit (PR #7369) 2022-08-24 15:06:03 +02:00
berniev
d88729d2c4 Gui: use empty 2022-08-06 16:35:45 +02:00
wmayer
d5921e08ec 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
3ef438eaf0 Fix mixed line endings 2022-04-26 12:52:55 -05:00
Chris Hennes
bedf920702 Gui: PR6497 move return statement to new line 2022-03-29 12:33:50 -05:00
wmayer
96adb98f46 Gui: modernize C++11
* use nullptr
2022-03-23 18:41:21 +01:00
wmayer
4977e55e51 App: Optimize includes to reduce compile time 2022-03-07 15:53:58 +01:00
Uwe
063efd56de [Gui] Placement: remove unused includes 2022-03-05 02:48:17 +01:00
luz paz
74ab516494 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
298c677873 Gui: Fix header uniformity, whitespace, and doxygen fixes 2020-11-26 10:14:56 +01:00
wmayer
f3b460e42e boost: fix for boost < 1.60 2020-06-15 19:38:39 +02:00
wmayer
4ec45b545e 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
5c4ddf42ee Gui: [skip ci] bind spin boxes to object in Placement dialog 2020-03-27 17:08:08 +01:00
wmayer
544bb22221 Gui: [skip ci] fix bug in Placement dialog when leaving with Esc 2020-03-20 13:34:48 +01:00
wmayer
1432dc1d50 Gui: Qt4/Qt5 neutral change in Placement class [skip ci] 2020-01-12 13:43:39 +01:00
wmayer
67f84faa07 fix Qt4 build failure 2020-01-09 14:35:17 +01:00
wmayer
2fcfa48274 Gui: [skip ci] reduce height of Placement dialog 2020-01-09 02:26:17 +01:00
wmayer
c0aedf29da Gui: [skip ci] adjust content to size after hiding bottom button row 2020-01-08 23:38:20 +01:00
wmayer
8f6bf8eafc fixes 0003861: Sketch change plane when changing Attachment Offset (UI quirk) 2019-03-12 22:54:37 +01:00
wmayer
715ab0596e remove unused checkbox from Placement dialog 2018-10-13 01:51:05 +02:00
mwganson
404f9e019d 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
3d833e52df 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
a520eb6342 placement - show complementary angle as float 2018-10-04 16:26:22 +02:00
mwganson
fae5b4f7f7 Placement dialog - more consistent axis direction based on order of selection 2018-10-02 21:03:51 +02:00
wmayer
96ea2d470e use toDegrees 2018-09-29 18:08:10 +02:00
mwganson
c78321f347 ensure points.size() > 0 before accessing points[0], update selected points message 2018-09-29 18:08:10 +02:00
Mark Ganson TheMarkster
55e6ee6d20 add support for 3 picked points in placement dialog (#1) 2018-09-29 18:08:09 +02:00
mwganson
6b44ba59bb add axial movement to placement dialog 2018-09-29 18:08:09 +02:00
Mark Ganson TheMarkster
047f91832b 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
adc4b4a641 remove limit to only allow vertexes of a model 2018-09-17 17:27:21 +02:00
mwganson
fc8d9f2bf3 Add select point(s) option to Placement dialog 2018-09-17 15:00:48 +02:00
wmayer
faad5ea273 ignore key events in placement dialog and let parent task panel handle them 2018-09-11 21:12:04 +02:00
wmayer
de0ac35a50 fixes #0002045: Make Euler Rotation default or user-pref default 2017-10-01 21:15:58 +02:00
wmayer
db66835c63 add option to placement dialog to rotate around center of mass 2017-03-05 18:47:34 +01:00
wmayer
04a56fbceb apply modification to correct property 2016-12-01 13:35:28 +01:00
wmayer
afa37847b5 remove Application::runPythonCode 2016-09-15 23:14:31 +02:00
Mateusz Skowroński
3b463f2138 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
cd2db00f22 QString::fromAscii() is obsolete in Qt5. Replace it with fromLatin1().
This change is Qt4/Qt5 neutral.
2016-01-05 16:07:25 +01:00